fileutils and glibc 2.2

Dennis Leeuw dleeuw at made-it.com
Sun Nov 26 10:32:01 PST 2000


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dleeuw.vcf
Type: text/x-vcard
Size: 235 bytes
Desc: Card for Dennis Leeuw
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-support/attachments/20001126/18281d62/attachment.vcf>


More information about the blfs-support mailing list