LARTC
[Top] [All Lists]

Re: [LARTC] how can i compile tc

To: Vincent Dautremont <vdautrem@ulb.ac.be>
Subject: Re: [LARTC] how can i compile tc
From: Andy Furniss <lists@andyfurniss.entadsl.com>
Date: Mon, 26 Mar 2007 20:06:51 +0100
Cc: lartc@mailman.ds9a.nl
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <EF2CE369-60C8-4098-B59E-766E8DE9040D@ulb.ac.be>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
References: <797D2AC9-EDBA-452A-B443-C664CD5D837A@ulb.ac.be> <46029770.8000408@andyfurniss.entadsl.com> <FF1F0A8C-A8D0-46E3-9C34-F6D9C8D3730D@ulb.ac.be> <46031033.8060108@andyfurniss.entadsl.com> <EF2CE369-60C8-4098-B59E-766E8DE9040D@ulb.ac.be>
Reply-to: lists@andyfurniss.entadsl.com
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.7.13) Gecko/20060417
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@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

<Prev in Thread] Current Thread [Next in Thread>