Glibc compilation problem

Greg Schafer gschafer at zip.com.au
Mon Aug 19 15:54:30 PDT 2002


On Mon, Aug 19, 2002 at 07:51:16PM +0200, Erik De Wael wrote:
> Hello,
> 
> without any optimization flags have I this during the "make" :
> 
> ...
> 
> ../sysdeps/unix/sysv/linux/errlist.c:41: weak declaration of
> `_old_sys_nerr' must precede definition
> make[2]: *** [/usr/src/glibc-build/stdio-common/errlist.os] Error 1
> make[2]: Leaving directory `/usr/src/glibc-2.2.5/stdio-common'
> make[1]: *** [stdio-common/subdir_lib] Error 2
> make[1]: Leaving directory `/usr/src/glibc-2.2.5'
> make: *** [all] Error 2
> 
> What did I wrong ?

You used gcc-3.1.1 or gcc-3.2 without checking the list archives first
and despite them not being in LFS yet.

http://www.zipworld.com.au/~gschafer/lfs-tweaks.html

You need the "errlist" fix.

Greg
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list