Lin Ming
2013-Apr-07 01:42 UTC
Re: btrfs-progs: undefined reference to `blkid_probe_get_wholedisk_devno''
(Add list) On Sun, Apr 7, 2013 at 9:38 AM, Lin Ming <minggr@gmail.com> wrote:> > Hi, > > Build latest git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git > > ~/btrfs-progs$ make > [LD] mkfs.btrfs > mkfs.o: In function `is_ssd'': > /home/mlin/btrfs-progs/mkfs.c:1234: undefined reference to `blkid_probe_get_wholedisk_devno'' > > any fix? > > Thanks, > Lin Ming-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Wang Shilong
2013-Apr-07 01:59 UTC
Re: btrfs-progs: undefined reference to `blkid_probe_get_wholedisk_devno''
Hello Lin, Before compiling you''ll need to get some dependencies: Maybe this url will help: https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories Thanks, Wang> On Sun, Apr 7, 2013 at 9:38 AM, Lin Ming <minggr@gmail.com> wrote: >> >> Hi, >> >> Build latest git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git >> >> ~/btrfs-progs$ make >> [LD] mkfs.btrfs >> mkfs.o: In function `is_ssd'': >> /home/mlin/btrfs-progs/mkfs.c:1234: undefined reference to `blkid_probe_get_wholedisk_devno'' >> >> any fix? >> >> Thanks, >> Lin Ming > -- > To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Lin Ming
2013-Apr-07 03:00 UTC
Re: btrfs-progs: undefined reference to `blkid_probe_get_wholedisk_devno''
Hi, I already installed these packages. sudo apt-get install uuid-dev libattr1-dev zlib1g-dev libacl1-dev e2fslibs-dev libblkid-dev liblzo2-dev Maybe my blkid library is too old. Could you help to check if there is "blkid_probe_get_wholedisk_devno" in your /usr/include/blkid/blkid.h? Thanks, Lin Ming On Sun, Apr 7, 2013 at 9:59 AM, Wang Shilong <wangshilong1991@gmail.com> wrote:> Hello Lin, > > Before compiling you''ll need to get some dependencies: > Maybe this url will help: > https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories > > > Thanks, > Wang > >> On Sun, Apr 7, 2013 at 9:38 AM, Lin Ming <minggr@gmail.com> wrote: >>> >>> Hi, >>> >>> Build latest git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git >>> >>> ~/btrfs-progs$ make >>> [LD] mkfs.btrfs >>> mkfs.o: In function `is_ssd'': >>> /home/mlin/btrfs-progs/mkfs.c:1234: undefined reference to `blkid_probe_get_wholedisk_devno'' >>> >>> any fix? >>> >>> Thanks, >>> Lin Ming >> -- >> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in >> the body of a message to majordomo@vger.kernel.org >> More majordomo info at http://vger.kernel.org/majordomo-info.html >-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Wang Shilong
2013-Apr-07 03:06 UTC
Re: btrfs-progs: undefined reference to `blkid_probe_get_wholedisk_devno''
Hello,> Hi, > > I already installed these packages. > sudo apt-get install uuid-dev libattr1-dev zlib1g-dev libacl1-dev > e2fslibs-dev libblkid-dev liblzo2-dev > > Maybe my blkid library is too old. > Could you help to check if there is "blkid_probe_get_wholedisk_devno"Yes i do have this.. Thanks, Wang> in your /usr/include/blkid/blkid.h? > > Thanks, > Lin Ming > > On Sun, Apr 7, 2013 at 9:59 AM, Wang Shilong <wangshilong1991@gmail.com> wrote: >> Hello Lin, >> >> Before compiling you''ll need to get some dependencies: >> Maybe this url will help: >> https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories >> >> >> Thanks, >> Wang >> >>> On Sun, Apr 7, 2013 at 9:38 AM, Lin Ming <minggr@gmail.com> wrote: >>>> >>>> Hi, >>>> >>>> Build latest git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git >>>> >>>> ~/btrfs-progs$ make >>>> [LD] mkfs.btrfs >>>> mkfs.o: In function `is_ssd'': >>>> /home/mlin/btrfs-progs/mkfs.c:1234: undefined reference to `blkid_probe_get_wholedisk_devno'' >>>> >>>> any fix? >>>> >>>> Thanks, >>>> Lin Ming >>> -- >>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in >>> the body of a message to majordomo@vger.kernel.org >>> More majordomo info at http://vger.kernel.org/majordomo-info.html >>-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html