[adding bug-gnulib] According to Jean Philippe EIMER on 1/8/2010 3:08 AM: > Compiling coreutils 8.3 fails at ls.c, with gcc 4.4.2, glibc 2.11.1 and > kernel 2.6.32.3 : > > In file included from /usr/include/bits/sigcontext.h:28, > from /usr/include/signal.h:339, > from ../lib/signal.h:34, > from ls.c:67: > /usr/include/asm/sigcontext.h:28: error: expected > specifier-qualifier-list before '__u64' > /usr/include/asm/sigcontext.h:267: error: expected > specifier-qualifier-list before '__u64' > > Moving up #include <signal.h> just after #include <sys/types.h> in > src/ls.c solves this compilation issue.
Thanks for the report. Based on your textual description, I'm not quite sure exactly what you ended up doing. Can you post a patch, or at least a subset of the file, demonstrating your exact change, so that we can then figure out how to fix the gnulib signal.in.h to avoid this problem in the future? Also, can you show a few lines of context around line 28 of /usr/include/asm/sigcontext.h, so we can see more about the actual error (best would be if you can show it both before and after preprocessing). -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net
signature.asc
Description: OpenPGP digital signature