| View previous topic :: View next topic |
| Author |
Message |
Raniz l33t


Joined: 13 Sep 2003 Posts: 961 Location: Lund, Sweden
|
Posted: Wed Feb 17, 2010 11:38 pm Post subject: [SOLVED] Util-linux: undefined reference to fallocate64 |
|
|
util-linux fails compilation with the following error:
| Code: | CCLD dmesg
CCLD ctrlaltdel
CCLD pivot_root
CCLD switch_root
CCLD flock
CCLD ipcrm
CCLD ipcs
CCLD ipcmk
CCLD setsid
CCLD renice
CCLD setarch
CCLD cytune
CCLD lscpu
CCLD fallocate
CCLD unshare
fallocate.o: In function `main':
fallocate.c:(.text+0x384): 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 2629: 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? _________________ #312470 @ http://counter.li.org/
Last edited by Raniz on Sat Mar 13, 2010 10:51 pm; edited 1 time in total |
|
| Back to top |
|
 |
ssuominen Developer

Joined: 30 Sep 2005 Posts: 1376 Location: Finland
|
|
| Back to top |
|
 |
fred0 n00b


Joined: 17 Apr 2006 Posts: 66 Location: France
|
Posted: Sat Mar 13, 2010 6:34 pm Post subject: |
|
|
| ssuominen wrote: | | Code: |
ac_cv_func_fallocate=no emerge util-linux
|
|
A big thank for this hint  |
|
| Back to top |
|
 |
Raniz l33t


Joined: 13 Sep 2003 Posts: 961 Location: Lund, Sweden
|
Posted: Sat Mar 13, 2010 10:50 pm Post subject: |
|
|
Upgrading glibc did the trick _________________ #312470 @ http://counter.li.org/ |
|
| Back to top |
|
 |
|