util-linux build fails with glibc HEAD

Andrew Walrond andrew@walrond.org
Sat Jan 25 16:18:00 GMT 2003


Having got glibc HEAD to get around an ldconfig bug, util-linux now 
bails complaining about undefined errno. With gcc 3.2.1:

make[1]: Entering directory `/root/util-linux-2.11y/mount'
cc -pipe -O2 -mcpu=i486 -fomit-frame-pointer -I../lib -Wall 
-Wmissing-prototypes -Wstrict-prototypes -DNCH=1 
-D_FILE_OFFSET_BITS=64 -DSBINDIR=\"/sbin\" -DUSRSBINDIR=\"/usr/sbin\" 
-DLOGDIR=\"/var/log\" -DVARPATH=\"/var\" 
-DLOCALEDIR=\"/usr/share/locale\" -O  -s  pivot_root.c   -o pivot_root
/tmp/ccNMACAh.o: In function `pivot_root':
/tmp/ccNMACAh.o(.text+0x18): undefined reference to `errno'
collect2: ld returned 1 exit status
make[1]: *** [pivot_root] Error 1
make[1]: Leaving directory `/root/util-linux-2.11y/mount'
make: *** [all] Error 1

I'm sure I read some errno discussion here recently? I'm mailed 
libc-alpha and Andries Brouwer (util-linux maintainer) incase it's 
useful to either.

I'm using gcc 3.2.1.

Andrew Walrond



More information about the Libc-alpha mailing list