[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Seems like a bug...
From: |
Anthony |
Subject: |
Seems like a bug... |
Date: |
Sun, 23 Sep 2007 14:35:13 -0400 |
To whom it may concern,
Sorry if this is my fault, I am kind of a newb... so this is the best I
can give ya.
I am trying to get statically compiled coreutils tools on my machine. I
downloaded the source, set the CFLAGS environment variable to statically
compile, and ./configure, then did a make and got the error below.
mv -f .deps/userspec.Tpo .deps/userspec.Po
gcc -std=gnu99 -I. -static -O2 -g -MT utimecmp.o -MD -MP
-MF .deps/utimecmp.Tpo -c -o utimecmp.o utimecmp.c
In file included from utimecmp.c:34:
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 `/usr/src/redhat/SOURCES/coreutils-6.9/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/SOURCES/coreutils-6.9/lib'
make: *** [all-recursive] Error 1
address@hidden coreutils-6.9]#
I did a make check to see if that would yield anything good:
address@hidden coreutils-6.9]# make check
Making check in lib
make[1]: Entering directory `/usr/src/redhat/SOURCES/coreutils-6.9/lib'
gcc -std=gnu99 -I. -static -O2 -g -MT t-fpending.o -MD -MP
-MF .deps/t-fpending.Tpo -c -o t-fpending.o t-fpending.c
mv -f .deps/t-fpending.Tpo .deps/t-fpending.Po
gcc -std=gnu99 -I. -static -O2 -g -MT utimecmp.o -MD -MP
-MF .deps/utimecmp.Tpo -c -o utimecmp.o utimecmp.c
In file included from utimecmp.c:34:
utimens.h:2: error: conflicting types for 'futimens'
///usr/include/sys/stat.h:370: error: previous declaration of 'futimens'
was here
make[1]: *** [utimecmp.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/coreutils-6.9/lib'
make: *** [check-recursive] Error 1
address@hidden coreutils-6.9]#
Info about my machine:
address@hidden coreutils-6.9]# uname -a
Linux nixbox.palace 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:35:01 EDT
2007 i686 athlon i386 GNU/Linux
address@hidden coreutils-6.9]# rpm -qa | grep coreutil
policycoreutils-gui-2.0.16-2.fc7
coreutils-6.9-2.fc7
policycoreutils-2.0.16-2.fc7
address@hidden coreutils-6.9]#
I hope this helps.
Thanks,
-Anthony
- Seems like a bug...,
Anthony <=