iproute2 compile errors

iproute2 compile errors

Post by William Curl » Sun, 23 Feb 2003 03:31:49

I'm trying to compile iproute2 on box with the latest
slackware-current build. My make file is pointing to
/usr/src/linux/include, which is where the kernel source is at. When I
"make" it I get this error:

In file included from ../include-glibc/db.h:10,
                 from arpd.c:19:
/usr/include/db3/db_185.h:171: parse error before '*' token
/usr/include/db3/db_185.h:171: warning: type defaults to `int' in
declaration of `__db185_open'
/usr/include/db3/db_185.h:171: warning: data definition has no type or
storage class
arpd.c: In function `main':
arpd.c:670: warning: assignment from incompatible pointer type
make[1]: *** [arpd.o] Error 1
make[1]: Leaving directory `/new/todo/iproute2/iproute2/misc'
make: *** [all] Error 2

I have the slackware package of db3 installed, I've also installed a
non slackware version of it and I still get the same error. Any ideas?


1. Problems compiling iproute2 package

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

2. magic file number for PICTURE formats

3. iproute2 does not compile with kernel headers > 2.4.2 here

4. File Descriptors on Solaris 2.8

5. IPRoute2 (IP) compile help..?

6. NNTP stalls through IP Masq.

7. Compiling IPROUTE2

8. only root can startx

9. Compiling iproute2(w/HTB patch) for 2.5.51

10. iproute2 install error

11. R6.0 + iproute2 trouble: tc errors?

12. large compiling error when compiling PGP on Linux...

13. Compile error with 2.4.15-pre3 when compiling with LVM