Hi,

while trying to compile the current fileutils-4.0 on a hppa-linux
machine with "gcc version 3.0 20010315 (prerelease)" (current parisc CVS)
I'm getting the following error in dircolors.c:

Making all in src
make[2]: Entering directory `/mnt/lfs/usr/src/fileutils-4.0/src'
gcc -DLOCALEDIR=\"/mnt/lfs/usr/share/locale\"
-DSHAREDIR=\"/mnt/lfs/usr/share\"
-DHAVE_CONFIG_H -I.. -I. -I../lib -I../intl  -D_FILE_OFFSET_BITS=64  -g
-O2 -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[2]: *** [dircolors.o] Error 1
make[2]: Leaving directory `/mnt/lfs/usr/src/fileutils-4.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/lfs/usr/src/fileutils-4.0'
make: *** [all-recursive-am] Error 2


The offending line is: "char *strndup();"
Commenting it out does at least result in a successful (?) compile run
without errors.


bye,
 andreas


_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to