Networking Forums

Networking Forums > Computer Networking > Linux Networking > iproute2-tc compilation problems

Reply
Thread Tools Display Modes

iproute2-tc compilation problems

 
 
KK Mehra
Guest
Posts: n/a

 
      10-20-2005, 01:06 PM
Hi,

I want to use iproute2/tc to access NetEm
(http://linux-net.osdl.org/index.php/Netem). However, my linux distro
Mandrake LE 2005 ships with an older version of 'tc' which doesnot
support the netem commands.

I am trying to compile the latest version of iproute2 for 2.6.13.1.
However, I get an error with the emp_ematch.y file from bison. The
error message is the following:

make[1]: Entering directory `/home/kkmehra/sw/iproute2-051007/tc'
bison -d -t -v -o emp_ematch.yacc.c emp_ematch.y
"emp_ematch.y", line 9: junk after `%%' in definition section
make[1]: *** [emp_ematch.yacc.c] Error 1
make[1]: Leaving directory `/home/kkmehra/sw/iproute2-051007/tc'

Due to this error tc binary is not generated. I am using the latest
version of bison. Has anybody else encountered this?

Do we have a binary for tc with netem support I could download and use?


uname -a:
Linux cs-st-214.cse.iitkgp.ernet.in 2.6.13.1 #2 Wed Oct 19 18:12:19 EDT
2005 i686 Intel(R) Pentium(R) 4 CPU 1.40GHz unknown GNU/Linux

I am using iproute2-051007.

Pls help,

Krishna

 
Reply With Quote
 
 
 
 
buck
Guest
Posts: n/a

 
      10-20-2005, 04:48 PM
On 20 Oct 2005 06:06:21 -0700, "KK Mehra" <(E-Mail Removed)>
wrote:

>Hi,
>
>I want to use iproute2/tc to access NetEm
>(http://linux-net.osdl.org/index.php/Netem). However, my linux distro
>Mandrake LE 2005 ships with an older version of 'tc' which doesnot
>support the netem commands.
>
>I am trying to compile the latest version of iproute2 for 2.6.13.1.
>However, I get an error with the emp_ematch.y file from bison. The
>error message is the following:
>
> make[1]: Entering directory `/home/kkmehra/sw/iproute2-051007/tc'
> bison -d -t -v -o emp_ematch.yacc.c emp_ematch.y
> "emp_ematch.y", line 9: junk after `%%' in definition section
> make[1]: *** [emp_ematch.yacc.c] Error 1
> make[1]: Leaving directory `/home/kkmehra/sw/iproute2-051007/tc'
>
>Due to this error tc binary is not generated. I am using the latest
>version of bison. Has anybody else encountered this?


Lots of people have encountered this. It is a problem with the bison
version. Most people are installing either an older or a newer bison,
and the most success seems to be with the older.

>Do we have a binary for tc with netem support I could download and use?
>
>
>uname -a:
>Linux cs-st-214.cse.iitkgp.ernet.in 2.6.13.1 #2 Wed Oct 19 18:12:19 EDT
>2005 i686 Intel(R) Pentium(R) 4 CPU 1.40GHz unknown GNU/Linux
>
>I am using iproute2-051007.
>
>Pls help,
>
>Krishna


Set your newsreader to access news.gmane.org and subscribe NG
gmane.linux.network.routing
then have a look at the postings/threads during the last week or two
by Stephen Hemminger (which I may have misspelled). He is the
maintainer of IPROUTE2.
--
buck

 
Reply With Quote
 
KK Mehra
Guest
Posts: n/a

 
      10-22-2005, 07:29 AM

>
> Lots of people have encountered this. It is a problem with the bison
> version. Most people are installing either an older or a newer bison,
> and the most success seems to be with the older.
>


Hi,

It compiled fine with bison-185. Thanks /KK

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iproute2 problems. ichi.brown@gmail.com Linux Networking 1 02-20-2007 10:52 PM
ieee80211 compilation problems johnny Wireless Internet 0 06-18-2006 06:20 PM
Problems compiling iproute2 package Nizar Linux Networking 2 10-22-2004 08:02 AM
Trex compilation Jose Maria Lopez Hernandez Linux Networking 0 08-24-2004 02:31 AM
QoS compilation problems Linux 2.4.22 Baboonish Linux Networking 0 11-26-2003 06:21 AM



1 2 3 4 5 6 7 8 9 10 11