Glibc 2.2

Gerard Beekmans gerard at linuxfromscratch.org
Mon Nov 13 08:05:37 PST 2000


> You can now continue installing LFS, including ncurses until you
> reach fileutils:
>
> make[1]: Leaving directory /usr/src/fileutils-4.0/intl'
> Making install in src
> make[1]: Entering directory /usr/src/fileutils-4.0/src'
> gcc -DLOCALEDIR=\"/usr/share/locale\" -DSHAREDIR=\"/usr/share\"
> -DHAVE_CONFIG_H -I.. -I. -I../lib -I../intl  -D_FILE_OFFSET_BITS=64  -O3
> -march=i686 -c dircolors.c dircolors.c:40:15: macro "strndup" requires 2
> arguments, but only 1 given dircolors.c:40: `strndup' redeclared as
> different kind of symbol
> /usr/include/string.h:128: previous declaration of `strndup'
> make[1]: *** [dircolors.o] Error 1
> make[1]: Leaving directory /usr/src/fileutils-4.0/src'
> make: *** [install-recursive] Error 1

edit dircolors.c, go to link 40, comment out that link containing strndup

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list