Problems compiling iproute2 package

Problems compiling iproute2 package

Post by Niza » Fri, 22 Oct 2004 23:55:56



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 rpertoire `/usr/src/linux-2.4.20-8/iproute2/lib'
make: *** [all] Erreur 2

Is there someone to help fixing this
thanks

 
 
 

Problems compiling iproute2 package

Post by buck » Sat, 23 Oct 2004 03:14:26



Quote:>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

 
 
 

Problems compiling iproute2 package

Post by Alexander Cloute » Sat, 23 Oct 2004 17:02:49



Quote:> 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 rpertoire `/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.

Quote:> 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 =---