Re: how can i compile tc

Linux Advanced Routing and Traffic Control

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

 



Vincent Dautremont wrote:
Hi,
i'm still having problems about getting tc to compile, it seams to be a glibc, or yacc or bison problem and i'm totally stranger to that, i can only understand that it quits after a double free !!!
Can anyone translate this log in a solution ?
Thank you.
Vincent.

Hmm ISTR some mention of yacc/bison and ematch once - what version are you using?

I can build with these two -

andy@noki:~/Kern-test/iproute2$ bison --version
bison (GNU Bison) 2.2

andy@amd /mnt/hdc5/Kern-test]$ bison --version
bison (GNU Bison) 1.875

Are you building for 64bit CPU? Also why do you need to build, a new kernel? If not your distro should have tc already

If you do have a new (and at least configured) kernel tree see below.

-----here is my bash output----
vdautrem@paranux2:~/Desktop/git$ git clone git://git.kernel.org/pub/ scm/linux/kernel/git/shemminger/iproute2.git
Generating pack...
Done counting 3328 objects.
Deltifying 3328 objects.
100% (3328/3328) done
Total 3328 (delta 2120), reused 3141 (delta 1939)
vdautrem@paranux2:~/Desktop/git$ ls
iproute2
vdautrem@paranux2:~/Desktop/git$ make
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
vdautrem@paranux2:~/Desktop/git$ cd iproute2/

You forgot before make you need to -

export KERNEL_INCLUDE=/full/path/to/your/linux-2.6.20.3/include/

vdautrem@paranux2:~/Desktop/git/iproute2$ make

Andy.
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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