On Sun, Feb 28, 2010 at 12:22:54AM +0100, li...@gabriel-striewe.de wrote:
> Hi,
> 
> I am using gentoo since one month. Today I tried an emerge --update system 
> after an emerge --sync.
> However, I got an error emerging util-linux. 
> 
> I am using a custom compiled vanilla kernel from kernel.org. uname -a says:
> 
> Linux laptop 2.6.32.8 #4 SMP PREEMPT Sat Feb 27 04:25:19 CET 2010 i686 
> Intel(R) Celeron(R) M processor 
> 1.70GHz GenuineIntel GNU/Linux
> 
>   CCLD   unshare
> fallocate.o: In function `main':
> fallocate.c:(.text+0x39f): undefined reference to `fallocate64'
> collect2: ld returned 1 exit status
> make[2]: *** [fallocate] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory 
> `/var/tmp/portage/sys-apps/util-linux-2.17-r1/work/util-linux-ng-2.17/sys-utils'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/var/tmp/portage/sys-apps/util-linux-2.17-r1/work/util-linux-ng-2.17'
> make: *** [all] Error 2
>  * ERROR: sys-apps/util-linux-2.17-r1 failed:
>  *   emake failed
>  * 
>  * Call stack:
>  *     ebuild.sh, line   54:  Called src_compile
>  *   environment, line 2647:  Called _eapi2_src_compile
>  *     ebuild.sh, line  646:  Called die
>  * The specific snippet of code:
>  *                emake || die "emake failed"
>  * 
>  * If you need support, post the output of 'emerge --info 
> =sys-apps/util-linux-2.17-r1',
>  * the complete build log and the output of 'emerge -pqv 
> =sys-apps/util-linux-2.17-r1'.
>  * The complete build log is located at 
> '/var/tmp/portage/sys-apps/util-linux-2.17-r1/temp/build.log'.
>  * The ebuild environment file is located at 
> '/var/tmp/portage/sys-apps/util-linux-2.17-r1/temp/environment'.
>  * S: 
> '/var/tmp/portage/sys-apps/util-linux-2.17-r1/work/util-linux-ng-2.17'
> 
> Any ideas. I am fairly new to gentoo, have used it a few years ago, in the 
> meantime using debian and fedora, but I came
> back to it.
> 
> Thanks, 
> 
> Gabriel
> 

Sorry, should have had a more careful look in the forums. 

Solution:

ac_cv_func_fallocate=no emerge util-linux

another solution would have been to upgrade to glibc-2.11-rc1

Sorry for the noise.

Gabriel

Reply via email to