* [LARTC] Compiling TCNG (tcsim)
@ 2003-11-16 0:18 Nelson E. Castillo
2003-11-16 5:18 ` Scott Mansfield
0 siblings, 1 reply; 2+ messages in thread
From: Nelson E. Castillo @ 2003-11-16 0:18 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 2108 bytes --]
Hi,
I really would like to use tcng.
(it seems it's the right place to ask...)
I try to build it like this:
$ cd tcsim
$ wget ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2
$ bzcat linux-2.4.22.tar.bz2 | tar xf -
$ ln -s linux-2.4.22 linux
$ wget ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.4.7-now-ss010824.tar.gz
$ tar xfz iproute2-2.4.7-now-ss010824.tar.gz
$ cd ..
$ ./configure
Reading configuration defaults from ./config
building tcsim: yes
Kernel source: /home/admin/tcng/tcsim/linux
Kernel version: 2.4.22
iproute2 source: /home/admin/tcng/tcsim/iproute2
iproute2 version: 010824
Host byte order: little endian
tcc command: /home/admin/tcng/bin/tcc
building the manual: NO
install directory: /usr/local
$ make
(snip)
make -f Makefile.unclean tcsim
make[2]: Entering directory `/home/admin/tcng/tcsim'
cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -I../shared -Iklib -Iklib/include -Iulib/iproute2/include -I. -DVERSION=\"`cat ../VERSION`\" -DTOPDIR=\"/home/admin/tcng\" -DTCC_CMD=\"/home/admin/tcng/bin/tcc\" -DKFULLVERSION=\"2.4.22\" -DKFULLVERSIONNUM=`printf "0x%02x%02x%02x" 2 4 22` -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:14:
/usr/include/asm/sigcontext.h:79: error: parse error before '*' token
/usr/include/asm/sigcontext.h:82: error: parse error before '}' token
make[2]: *** [tcsim.o] Error 1
make[2]: Leaving directory `/home/admin/tcng/tcsim'
make[1]: *** [tcsim] Error 2
make[1]: Leaving directory `/home/admin/tcng/tcsim'
make: *** [all] Error 1
Any clue?
I'm including a detailed report with the versions of the packages.
I updated my system.... Now I run Debian unstable.
What system is tcng being developed on?
Thanks,
Nelson.-
--
http://geocities.com/arhuaco
The first principle is that you must not fool yourself
and you are the easiest person to fool.
-- Richard Feynman.
[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [LARTC] Compiling TCNG (tcsim)
2003-11-16 0:18 [LARTC] Compiling TCNG (tcsim) Nelson E. Castillo
@ 2003-11-16 5:18 ` Scott Mansfield
0 siblings, 0 replies; 2+ messages in thread
From: Scott Mansfield @ 2003-11-16 5:18 UTC (permalink / raw)
To: lartc
Hello Nelson,
It looks like you grabbed and unpacked the kernel sources but didn't do
a 'make config' (or 'make xconfig'). IIRC you need to do this at least
once in a new kernel source tree because these programs create the asm
symlink and some extra config headers in include/config and
include/linux/modules.
Also, make sure /usr/include/linux and /usr/include/asm point to your
correct kernel source tree.
Cheers,
Scott
On Nov 15, 2003, at 4:18 PM, Nelson E. Castillo wrote:
> Hi,
>
> I really would like to use tcng.
> (it seems it's the right place to ask...)
>
> I try to build it like this:
>
> $ cd tcsim
> $ wget ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.22.tar.bz2
> $ bzcat linux-2.4.22.tar.bz2 | tar xf -
>
> $ ln -s linux-2.4.22 linux
>
> $ wget
> ftp://ftp.inr.ac.ru/ip-routing/iproute2-2.4.7-now-ss010824.tar.gz
> $ tar xfz iproute2-2.4.7-now-ss010824.tar.gz
> $ cd ..
> $ ./configure
>
> Reading configuration defaults from ./config
> building tcsim: yes
> Kernel source: /home/admin/tcng/tcsim/linux
> Kernel version: 2.4.22
> iproute2 source: /home/admin/tcng/tcsim/iproute2
> iproute2 version: 010824
> Host byte order: little endian
> tcc command: /home/admin/tcng/bin/tcc
> building the manual: NO
> install directory: /usr/local
>
> $ make
>
> (snip)
>
> make -f Makefile.unclean tcsim
> make[2]: Entering directory `/home/admin/tcng/tcsim'
> cc -g -Wall -Wstrict-prototypes -Wmissing-prototypes
> -Wmissing-declarations -I../shared -Iklib -Iklib/include
> -Iulib/iproute2/include -I. -DVERSION=\"`cat ../VERSION`\"
> -DTOPDIR=\"/home/admin/tcng\" -DTCC_CMD=\"/home/admin/tcng/bin/tcc\"
> -DKFULLVERSION=\"2.4.22\" -DKFULLVERSIONNUM=`printf "0x%02x%02x%02x" 2
> 4 22` -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:14:
> /usr/include/asm/sigcontext.h:79: error: parse error before '*' token
> /usr/include/asm/sigcontext.h:82: error: parse error before '}' token
> make[2]: *** [tcsim.o] Error 1
> make[2]: Leaving directory `/home/admin/tcng/tcsim'
> make[1]: *** [tcsim] Error 2
> make[1]: Leaving directory `/home/admin/tcng/tcsim'
> make: *** [all] Error 1
>
> Any clue?
>
> I'm including a detailed report with the versions of the packages.
>
> I updated my system.... Now I run Debian unstable.
> What system is tcng being developed on?
>
> Thanks,
> Nelson.-
>
> --
> http://geocities.com/arhuaco
>
> The first principle is that you must not fool yourself
> and you are the easiest person to fool.
> -- Richard Feynman.
>
_______________________________________________
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:[~2003-11-16 5:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-16 0:18 [LARTC] Compiling TCNG (tcsim) Nelson E. Castillo
2003-11-16 5:18 ` Scott Mansfield
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.