fileutils and glibc 2.2

Dennis Leeuw dleeuw at
Sun Nov 26 10:32:01 PST 2000

Hi all,

A little problem arises when compiling fileutils with glibc 2.2 it exits
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?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: dleeuw.vcf
Type: text/x-vcard
Size: 235 bytes
Desc: Card for Dennis Leeuw
URL: <>

More information about the blfs-support mailing list