Compiling TCNG (tcsim)

Linux Advanced Routing and Traffic Control

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

 



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: pgp00199.pgp
Description: PGP signature


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux