* [LARTC] Re: tcng version 9l
@ 2004-02-29 21:18 Nuutti Kotivuori
0 siblings, 0 replies; 2+ messages in thread
From: Nuutti Kotivuori @ 2004-02-29 21:18 UTC (permalink / raw)
To: lartc
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* [LARTC] Re: tcng version 9l
@ 2004-05-09 15:02 Werner Almesberger
0 siblings, 0 replies; 2+ messages in thread
From: Werner Almesberger @ 2004-05-09 15:02 UTC (permalink / raw)
To: lartc
Sorry for not handling this earlier. Been a bit overloaded recently :-(
Nuutti Kotivuori wrote:
> 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
I'd rather try to avoid the problem entirely. Fortunately, we can
build tcsim.c without the "kernel" includes.
Please try tcng-9m, and holler if it still doesn't work.
Thanks,
- Werner
--
_________________________________________________________________________
/ Werner Almesberger, Buenos Aires, Argentina wa@almesberger.net /
/_http://www.almesberger.net/____________________________________________/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-05-09 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-29 21:18 [LARTC] Re: tcng version 9l Nuutti Kotivuori
-- strict thread matches above, loose matches on Subject: below --
2004-05-09 15:02 Werner Almesberger
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.