futimens compile errors with new glibc-2.6.1
Hello, I'm just about to bootstrap my system with glibc-2.6.1 to solve some build issues. Ccurrent coreutils-6.9, gzip and tar don't build because of a naming conflict: gcc -std=gnu99 -I. -march=pentium4 -O2 -pipe -fomit-frame-pointer -s -fgnu89-inline -c utimecmp.c In file included from utimecmp.c:33: utimens.h:2: error: conflicting types for 'futimens' /tools/include/sys/stat.h:370: error: previous declaration of 'futimens' was here make[2]: *** [utimecmp.o] Error 1 make[2]: Leaving directory `/mnt/lfs/coreutils-build/coreutils/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/lfs/coreutils-build/coreutils/lib' make: *** [all-recursive] Error 1 For more information and a patch, see: http://www.nabble.com/Error-from-coreutils-CVS-version-t3768812.html Regards, -- Clemens Koller _______________________________ R&D Imaging Devices Anagramm GmbH Rupert-Mayer-Str. 45/1 81379 Muenchen Germany http://www.anagramm-technology.com Phone: +49-89-741518-50 Fax: +49-89-741518-19
On Wed, 17 Oct 2007 01:23:35 +0200 Clemens Koller wrote:
Hello,
I'm just about to bootstrap my system with glibc-2.6.1 to solve some build issues. Ccurrent coreutils-6.9, gzip and tar don't build because of a naming conflict:
gcc -std=gnu99 -I. -march=pentium4 -O2 -pipe -fomit-frame-pointer -s -fgnu89-inline -c utimecmp.c In file included from utimecmp.c:33: utimens.h:2: error: conflicting types for 'futimens' /tools/include/sys/stat.h:370: error: previous declaration of 'futimens' was here make[2]: *** [utimecmp.o] Error 1 make[2]: Leaving directory `/mnt/lfs/coreutils-build/coreutils/lib' make[1]: *** [all] Error 2 make[1]: Leaving directory `/mnt/lfs/coreutils-build/coreutils/lib' make: *** [all-recursive] Error 1
For more information and a patch, see: http://www.nabble.com/Error-from-coreutils-CVS-version-t3768812.html
Regards,
This was patched for the 2.4 branch quite a long time ago. -- ~predatorfreak GnuPG Public key: http://pred.dcaf-security.org/dcafsec-pub-gpgkey.asc
participants (2)
-
Brett Goulder
-
Clemens Koller