From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nuutti Kotivuori Date: Sun, 29 Feb 2004 21:18:19 +0000 Subject: [LARTC] Re: tcng version 9l Message-Id: <87k72537qc.fsf@iki.fi> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org 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 / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/