fileutils and glibc 2.2

warren mann broken at warmann.com
Sun Nov 26 10:57:54 PST 2000


Dennis Leeuw wrote:

> Hi all,
>
> A little problem arises when compiling fileutils with glibc 2.2 it exits
> with:
> make[2]: 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  -g
> -O2 -c dircolors.c
> dircolors.c:40: macro `strndup' used without args
> make[2]: *** [dircolors.o] Error 1
> make[2]: Leaving directory `/usr/src/fileutils-4.0/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/fileutils-4.0'
> make: *** [all-recursive-am] Error 2
>
> on line 40 of dircolors.c it reads:
> char *strndup();
>
> Since I don't know much about C, can someone tell what is wrong and how
> to fix it?
>
> Thanks,
>
> Dennis

comment out line 40, like so:

/* char * strndup(); */


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




More information about the blfs-support mailing list