[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ls.c doesn't compile
From: |
Eric Blake |
Subject: |
Re: ls.c doesn't compile |
Date: |
Fri, 08 Jan 2010 09:13:17 -0700 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
[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 address@hidden
signature.asc
Description: OpenPGP digital signature
- Re: ls.c doesn't compile,
Eric Blake <=