lartc  

[LARTC] Re: tcng version 9l

Nuutti Kotivuori
Sun, 29 Feb 2004 13:22:22 -0800

Werner Almesberger wrote:
> Since I cleaned up so many things for Gentoo yesterday, here's one
> for Debian 3.0. The main problems were:

I still have one more problem with latest Debian unstable. This is the
failure message I am getting:

cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-I../shared -Iklib -Iklib/include -Iulib/iproute2/include -I. -DVERSION=\"`cat 
../VERSION`\" -DTOPDIR=\"/home/naked/src/tcng/tcng\"  
-DTCC_CMD=\"/home/naked/src/tcng/tcng/bin/tcc\" -DKFULLVERSION=\"2.4.25\" 
-DKFULLVERSIONNUM=`printf "0x%02x%02x%02x" 2 4 25` -DIVERSION=\"010824\"   -c -o 
tcsim.o tcsim.c
In file included from /usr/include/bits/sigcontext.h:28,
                 from /usr/include/signal.h:326,
                 from tcsim.c:15:
/usr/include/asm/sigcontext.h:79: error: parse error before '*' token
/usr/include/asm/sigcontext.h:82: error: parse error before '}' token

Which is caused by having klib/include in the include path, and it
overriding what linux/compiler.h is. If I add:

#define __user
#define __kernel

to tcsim/klib/include/linux/compiler.h, everything works perfectly and
tests pass (Passed all 1534 tests (24 conditional tests skipped)).

-- Naked

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/