[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#270856: parse error when compiling against '/usr/include/asm/sigcontext.h'



At Mon, 13 Sep 2004 12:13:52 +0100,
Paul Boyle wrote:
> I have tried to compile the following program
> 
> #include <asm/sigcontext.h>
> int main()
> {
> return 0;
> }
> 
> When I try to compile this I get the following parse errors
> 
> /usr/include/asm/sigcontext.h:79: error: parse error before '*' token
> /usr/include/asm/sigcontext.h:82: error: parse error before '}' token
> 
> But if I remove the "__user" from sigcontext.h everything work okay.
> 
> Here is a brief list of the package versions installed on my computer.
> 
> gcc  3.3.4
> libc6 2.3.2
> kernel 2.4.26

Which architecture did you use?  If i386, then it should not be occured.

> With the exception of the kernel, which I compiled myself,  everything
> else is pure debian with no special configuration. I have kept the
> system up to date with testing.

Try to reinstall linux-kernel-headers.  I guess you may overwrite
linux dir when you install your kernel.

-- gotom



Reply to: