fileutils and glibc 2.2

Jeremy Jones jdj at darkside.dynup.net
Sun Nov 26 15:33:08 PST 2000


Dennis

Change line 40 to /* char *strndup(); */

Jeremy

On Sun, Nov 26, 2000 at 07:32:01PM +0100, 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

Content-Description: Card for Dennis Leeuw


-- 
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