Networking Forums

Networking Forums > Computer Networking > Linux Networking > Problems compiling iproute2 package

Reply
Thread Tools Display Modes

Problems compiling iproute2 package

 
 
Nizar
Guest
Posts: n/a

 
      10-21-2004, 02:55 PM
Hi I enoutred problems while performing make inside iproute2
directory, many errors dispalyed

Dans le fichier inclus à partir de utils.c:26:
/usr/include/arpa/inet.h:35: erreur d'analyse syntaxique avant «
inet_addr »
/usr/include/arpa/inet.h:38: erreur d'analyse syntaxique avant «
inet_lnaof »
/usr/include/arpa/inet.h:42: erreur d'analyse syntaxique avant « __net
»
/usr/include/arpa/inet.h:46: erreur d'analyse syntaxique avant «
inet_netof »
/usr/include/arpa/inet.h:50: erreur d'analyse syntaxique avant «
inet_network »
/usr/include/arpa/inet.h:74: erreur d'analyse syntaxique avant «
inet_aton »
/usr/include/arpa/inet.h:78: erreur d'analyse syntaxique avant « __net
»
make[1]: *** [utils.o] Erreur 1
make[1]: Quitte le répertoire `/usr/src/linux-2.4.20-8/iproute2/lib'
make: *** [all] Erreur 2

Is there someone to help fixing this
thanks
 
Reply With Quote
 
 
 
 
buck
Guest
Posts: n/a

 
      10-21-2004, 06:14 PM
On 21 Oct 2004 07:55:56 -0700, (E-Mail Removed) (Nizar) wrote:

>Hi I enoutred problems while performing make inside iproute2
>directory, many errors dispalyed


What version of iproute2?

Try the 2.6.9 version. If that fails to make, try 2.6.8 setting the
KERNEL_INCLUDE to /usr/src/linux (away from the /usr/include default)
and setting the DBM_INCLUDE to point to Berkely DB version 3 (or so)
which for me is /usr/include/db3

buck

 
Reply With Quote
 
Alexander Clouter
Guest
Posts: n/a

 
      10-22-2004, 08:02 AM
On 2004-10-21, Nizar <(E-Mail Removed)> wrote:
> Hi I enoutred problems while performing make inside iproute2
> directory, many errors dispalyed
>
> [snipped common woes]
> »
> make[1]: *** [utils.o] Erreur 1
> make[1]: Quitte le répertoire `/usr/src/linux-2.4.20-8/iproute2/lib'
> make: *** [all] Erreur 2
>

You have to love iproute2, a lot of 'love' needs to go into it to make it
work. I of course learnt the hard way[1] before I found the easy way.

> Is there someone to help fixing this
>

http://developer.osdl.org/dev/iproute2/
http://www.digriz.org.uk/jdg-qos-script/#iproute2 (some extras by me)

Cheers

Alex

[1] patches from several distros for it to work with 2.6.x and some bizarre
mixture of glib and kernel-lib includes.... :-/


----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
 
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
Sky broadband mid package problems James Broadband 12 02-26-2008 11:49 PM
iproute2 problems. ichi.brown@gmail.com Linux Networking 1 02-20-2007 10:52 PM
To wireless package or not to wireless package - opinion needed! Stripee Wireless Internet 0 09-28-2006 03:43 PM
New ADSL package, set-up/connection problems - HELPPP!!!!! Shaun aRe Broadband 4 11-09-2005 01:54 PM
iproute2-tc compilation problems KK Mehra Linux Networking 2 10-22-2005 07:29 AM



1 2 3 4 5 6 7 8 9 10 11