Hello guys, I am using 2.6.21.5 kernel (gcc 4.3.2, ld 2.17.50.0.17*). I've tried compiling the latest coreutils that I downloaded from the official website and I keep getting the same error message.
mv unistd.h-t unistd.h make all-am make[3]: Entering directory `/mnt/lfs/tmp/coreutils-6.12/lib' depbase=`echo set-mode-acl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -std=gnu99 -I. -g -O2 -MT set-mode-acl.o -MD -MP -MF $depbase.Tpo -c -o set-mode-acl.o set-mode-acl.c &&\ mv -f $depbase.Tpo $depbase.Po In file included from acl.h:20, from set-mode-acl.c:22: /usr/include/sys/types.h:52: error: two or more data types in declaration specifiers /usr/include/sys/types.h:52: error: two or more data types in declaration specifiers /usr/include/sys/types.h:52: error: two or more data types in declaration specifiers /usr/include/sys/types.h:72: error: two or more data types in declaration specifiers /usr/include/sys/types.h:77: error: two or more data types in declaration specifiers /usr/include/sys/types.h:100: error: two or more data types in declaration specifiers In file included from gettext.h:169, from acl-internal.h:49, from set-mode-acl.c:24: ./string.h:214: error: expected identifier or '(' before '__extension__' Also during configure process I've noticed this message. configure: WARNING: sys/sysmacros.h: present but cannot be compiled configure: WARNING: sys/sysmacros.h: check for missing prerequisite headers? configure: WARNING: sys/sysmacros.h: see the Autoconf documentation configure: WARNING: sys/sysmacros.h: section "Present But Cannot Be Compiled" configure: WARNING: sys/sysmacros.h: proceeding with the preprocessor's result configure: WARNING: sys/sysmacros.h: in the future, the compiler will take precedence configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-coreutils@gnu.org ## configure: WARNING: ## ------------------------------------ ## Looks like there is a confusion with the data types <sys/types.h> file which is followed by the parse error at the end. Hope this info helps. I'll try editing sys/types.h tomorrow and see where I can get. I also have applied 2 patches ../coreutils-6.12-i18n-2.patch ../utils/coreutils-6.12-uname-1.patch It seems to be a bug. Please help me resolve this one. Thanks for your support, it is greatly appreciated. Best Regards, Andrew _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils