When trying to build coreutils-6.9 on debian 5.0 amd64, it fails because of 
duplicate function name:

function futimens exists in utimens.h and sys/stat.h and they are not 
compatible. This bug is supposed to be caused by the system headers.

Details:
$ make
Making all in lib
make[1]: Entering directory `/mnt/src/coreutils-6.9/lib'
make  all-am
make[2]: Entering directory `/mnt/src/coreutils-6.9/lib'
gcc -std=gnu99  -I.      -ggdbe -Wall -Wextra -O0 -MT utimecmp.o -MD -MP -MF 
.deps/utimecmp.Tpo -c -o utimecmp.o utimecmp.c
In file included from utimecmp.c:33:
utimens.h:2: error: conflicting types for 'futimens'
///usr/include/sys/stat.h:370: error: previous declaration of 'futimens' was 
here
make[2]: *** [utimecmp.o] Error 1
make[2]: Leaving directory `/mnt/src/coreutils-6.9/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/mnt/src/coreutils-6.9/lib'
make: *** [all-recursive] Error 1
$ 


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to