* btrfs prof compile error on debian squeeze.
@ 2013-04-09 19:31 Olivier BATARD
2013-04-10 11:41 ` Wang Shilong
0 siblings, 1 reply; 6+ messages in thread
From: Olivier BATARD @ 2013-04-09 19:31 UTC (permalink / raw)
To: linux-btrfs
Hello,
I'm trying to build btrfs-prog on debian squeeze but when I'm trying to use make, I have an error :
pc@debian:~/b/btrfs-progs$ make
[LD] mkfs.btrfs
mkfs.o: In function `is_ssd':
/home/pc/b/btrfs-progs/mkfs.c:1234: undefined reference to `blkid_probe_get_wholedisk_devno'
collect2: ld returned 1 exit status
make: *** [mkfs.btrfs] Erreur 1
After a few searches over the internet, it seems that my blkid library is out of date. How can I compile btrfs prog on debian squeeze ?
Thanks !
Olivier.
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: btrfs prof compile error on debian squeeze. 2013-04-09 19:31 btrfs prof compile error on debian squeeze Olivier BATARD @ 2013-04-10 11:41 ` Wang Shilong 2013-04-11 0:28 ` Mitch Harder 0 siblings, 1 reply; 6+ messages in thread From: Wang Shilong @ 2013-04-10 11:41 UTC (permalink / raw) To: Olivier BATARD; +Cc: linux-btrfs Hello, Maybe this url will help you. https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories Thanks, Wang > Hello, > > I'm trying to build btrfs-prog on debian squeeze but when I'm trying to use make, I have an error : > > > pc@debian:~/b/btrfs-progs$ make > [LD] mkfs.btrfs > mkfs.o: In function `is_ssd': > /home/pc/b/btrfs-progs/mkfs.c:1234: undefined reference to `blkid_probe_get_wholedisk_devno' > collect2: ld returned 1 exit status > make: *** [mkfs.btrfs] Erreur 1 > > > After a few searches over the internet, it seems that my blkid library is out of date. How can I compile btrfs prog on debian squeeze ? > > Thanks ! > > > Olivier.-- > 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: btrfs prof compile error on debian squeeze. 2013-04-10 11:41 ` Wang Shilong @ 2013-04-11 0:28 ` Mitch Harder 2013-04-11 1:41 ` Eric Sandeen 0 siblings, 1 reply; 6+ messages in thread From: Mitch Harder @ 2013-04-11 0:28 UTC (permalink / raw) To: Wang Shilong; +Cc: Olivier BATARD, linux-btrfs We had a discussion on this topic in another thread. I'd be happy to be corrected, but I think the conclusion was that you probably need to be on a really modern version of Linux to work with the latest version of btrfs-progs that is in the kernel git repository. The mkfs.btrfs version in the kernel git tree won't even work correctly on a kernel <= 3.7, and only partially works on the 3.8 kernel. On 4/10/13, Wang Shilong <wangshilong1991@gmail.com> wrote: > Hello, > Maybe this url will help you. > > https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories > > Thanks, > Wang >> Hello, >> >> I'm trying to build btrfs-prog on debian squeeze but when I'm trying to >> use make, I have an error : >> >> >> pc@debian:~/b/btrfs-progs$ make >> [LD] mkfs.btrfs >> mkfs.o: In function `is_ssd': >> /home/pc/b/btrfs-progs/mkfs.c:1234: undefined reference to >> `blkid_probe_get_wholedisk_devno' >> collect2: ld returned 1 exit status >> make: *** [mkfs.btrfs] Erreur 1 >> >> >> After a few searches over the internet, it seems that my blkid library is >> out of date. How can I compile btrfs prog on debian squeeze ? >> >> Thanks ! >> >> >> Olivier.-- >> 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 > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: btrfs prof compile error on debian squeeze. 2013-04-11 0:28 ` Mitch Harder @ 2013-04-11 1:41 ` Eric Sandeen 2013-04-11 16:26 ` Olivier BATARD 0 siblings, 1 reply; 6+ messages in thread From: Eric Sandeen @ 2013-04-11 1:41 UTC (permalink / raw) To: Mitch Harder; +Cc: Wang Shilong, Olivier BATARD, linux-btrfs On 4/10/13 7:28 PM, Mitch Harder wrote: > We had a discussion on this topic in another thread. > > I'd be happy to be corrected, but I think the conclusion was that you > probably need to be on a really modern version of Linux to work with > the latest version of btrfs-progs that is in the kernel git > repository. > > The mkfs.btrfs version in the kernel git tree won't even work > correctly on a kernel <= 3.7, and only partially works on the 3.8 > kernel. Well, that needs to be fixed too, IMHO, and I think that's the plan? For userspace, if we used autoconf, we could pretty easily turn off the ssd code in btrfs for older systems. We could probably use the older blkid interfaces to do the same thing as well, but nobody's made it a priority yet. -Eric > On 4/10/13, Wang Shilong <wangshilong1991@gmail.com> wrote: >> Hello, >> Maybe this url will help you. >> >> https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories >> >> Thanks, >> Wang >>> Hello, >>> >>> I'm trying to build btrfs-prog on debian squeeze but when I'm trying to >>> use make, I have an error : >>> >>> >>> pc@debian:~/b/btrfs-progs$ make >>> [LD] mkfs.btrfs >>> mkfs.o: In function `is_ssd': >>> /home/pc/b/btrfs-progs/mkfs.c:1234: undefined reference to >>> `blkid_probe_get_wholedisk_devno' >>> collect2: ld returned 1 exit status >>> make: *** [mkfs.btrfs] Erreur 1 >>> >>> >>> After a few searches over the internet, it seems that my blkid library is >>> out of date. How can I compile btrfs prog on debian squeeze ? >>> >>> Thanks ! >>> >>> >>> Olivier.-- >>> 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 >> > -- > 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 > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: btrfs prof compile error on debian squeeze. 2013-04-11 1:41 ` Eric Sandeen @ 2013-04-11 16:26 ` Olivier BATARD 2013-04-11 16:41 ` Eric Sandeen 0 siblings, 1 reply; 6+ messages in thread From: Olivier BATARD @ 2013-04-11 16:26 UTC (permalink / raw) To: linux-btrfs@vger.kernel.org I agree with you. Debian package are out of date. I've chosen to change distribution, I switched to ArchLinux and everything is fine. And finally I don't like the way debian works anymore. Thanks for your help. Le 11 avr. 2013 à 03:41, Eric Sandeen <sandeen@redhat.com> a écrit : > On 4/10/13 7:28 PM, Mitch Harder wrote: >> We had a discussion on this topic in another thread. >> >> I'd be happy to be corrected, but I think the conclusion was that you >> probably need to be on a really modern version of Linux to work with >> the latest version of btrfs-progs that is in the kernel git >> repository. >> >> The mkfs.btrfs version in the kernel git tree won't even work >> correctly on a kernel <= 3.7, and only partially works on the 3.8 >> kernel. > > Well, that needs to be fixed too, IMHO, and I think that's the plan? > > For userspace, if we used autoconf, we could pretty easily turn off the > ssd code in btrfs for older systems. > > We could probably use the older blkid interfaces to do the same thing > as well, but nobody's made it a priority yet. > > -Eric > >> On 4/10/13, Wang Shilong <wangshilong1991@gmail.com> wrote: >>> Hello, >>> Maybe this url will help you. >>> >>> https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories >>> >>> Thanks, >>> Wang >>>> Hello, >>>> >>>> I'm trying to build btrfs-prog on debian squeeze but when I'm trying to >>>> use make, I have an error : >>>> >>>> >>>> pc@debian:~/b/btrfs-progs$ make >>>> [LD] mkfs.btrfs >>>> mkfs.o: In function `is_ssd': >>>> /home/pc/b/btrfs-progs/mkfs.c:1234: undefined reference to >>>> `blkid_probe_get_wholedisk_devno' >>>> collect2: ld returned 1 exit status >>>> make: *** [mkfs.btrfs] Erreur 1 >>>> >>>> >>>> After a few searches over the internet, it seems that my blkid library is >>>> out of date. How can I compile btrfs prog on debian squeeze ? >>>> >>>> Thanks ! >>>> >>>> >>>> Olivier.-- >>>> 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 >>> >> -- >> 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: btrfs prof compile error on debian squeeze. 2013-04-11 16:26 ` Olivier BATARD @ 2013-04-11 16:41 ` Eric Sandeen 0 siblings, 0 replies; 6+ messages in thread From: Eric Sandeen @ 2013-04-11 16:41 UTC (permalink / raw) To: Olivier BATARD; +Cc: linux-btrfs@vger.kernel.org On 4/11/13 11:26 AM, Olivier BATARD wrote: > > I agree with you. Debian package are out of date. I've chosen to > change distribution, I switched to ArchLinux and everything is fine. > And finally I don't like the way debian works anymore. > > Thanks for your help. FWIW, I did just send patches to the list to work w/ older util-linux blkid, with the caveat that they may fail to detect an SSD on an older, buggy blkid. -Eric > > Le 11 avr. 2013 à 03:41, Eric Sandeen <sandeen@redhat.com> a écrit : > >> On 4/10/13 7:28 PM, Mitch Harder wrote: >>> We had a discussion on this topic in another thread. >>> >>> I'd be happy to be corrected, but I think the conclusion was that you >>> probably need to be on a really modern version of Linux to work with >>> the latest version of btrfs-progs that is in the kernel git >>> repository. >>> >>> The mkfs.btrfs version in the kernel git tree won't even work >>> correctly on a kernel <= 3.7, and only partially works on the 3.8 >>> kernel. >> >> Well, that needs to be fixed too, IMHO, and I think that's the plan? >> >> For userspace, if we used autoconf, we could pretty easily turn off the >> ssd code in btrfs for older systems. >> >> We could probably use the older blkid interfaces to do the same thing >> as well, but nobody's made it a priority yet. >> >> -Eric >> >>> On 4/10/13, Wang Shilong <wangshilong1991@gmail.com> wrote: >>>> Hello, >>>> Maybe this url will help you. >>>> >>>> https://btrfs.wiki.kernel.org/index.php/Btrfs_source_repositories >>>> >>>> Thanks, >>>> Wang >>>>> Hello, >>>>> >>>>> I'm trying to build btrfs-prog on debian squeeze but when I'm trying to >>>>> use make, I have an error : >>>>> >>>>> >>>>> pc@debian:~/b/btrfs-progs$ make >>>>> [LD] mkfs.btrfs >>>>> mkfs.o: In function `is_ssd': >>>>> /home/pc/b/btrfs-progs/mkfs.c:1234: undefined reference to >>>>> `blkid_probe_get_wholedisk_devno' >>>>> collect2: ld returned 1 exit status >>>>> make: *** [mkfs.btrfs] Erreur 1 >>>>> >>>>> >>>>> After a few searches over the internet, it seems that my blkid library is >>>>> out of date. How can I compile btrfs prog on debian squeeze ? >>>>> >>>>> Thanks ! >>>>> >>>>> >>>>> Olivier.-- >>>>> 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 >>>> >>> -- >>> 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 > > -- > 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 > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-04-11 16:41 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-04-09 19:31 btrfs prof compile error on debian squeeze Olivier BATARD 2013-04-10 11:41 ` Wang Shilong 2013-04-11 0:28 ` Mitch Harder 2013-04-11 1:41 ` Eric Sandeen 2013-04-11 16:26 ` Olivier BATARD 2013-04-11 16:41 ` Eric Sandeen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox