Skip to contentSkip to conversation

Error compiling iproute

LARTC Jean-Rene Cormier 1 participant 1 message Oct 1, 2003

lore
Share & tools
lore
#0 lore raw

I'm trying to compile iproute2-2.4.7-now-ss020116-try.tar.gz with the htb3.6-020525 tc patch against a Linux 2.4.22 kernel. At first I would get an error message in the first lines and I found a workaround by removing the -I../include-glibc from the GLIBCFIX and the -O2 from the CCOPTS. But now I'm getting errors when it tries to compile arpd.c

gcc -D_GNU_SOURCE -Wstrict-prototypes -Wall -g -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h -I/usr/src/linux/include
-I../include -DRESOLVE_HOSTNAMES -c -o arpd.o arpd.c
arpd.c: In function `do_one_request':
arpd.c:342: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:342: error: too few arguments to function arpd.c:366: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:366: error: too few arguments to function arpd.c:392: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:392: error: too few arguments to function arpd.c:410: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:410: error: too few arguments to function arpd.c:422: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:422: error: too few arguments to function
arpd.c: In function `get_arp_pkt':
arpd.c:520: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:520: error: too few arguments to function arpd.c:530: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:530: error: too few arguments to function
arpd.c: In function `main':
arpd.c:670: warning: implicit declaration of function `dbopen' arpd.c:670: warning: assignment makes pointer from integer without a cast
arpd.c:716: warning: passing arg 2 of pointer to function from incompatible pointer type
arpd.c:716: error: too few arguments to function arpd.c:729: error: structure has no member named seq' arpd.c:729: error: R_NEXT' undeclared (first use in this function) arpd.c:729: error: (Each undeclared identifier is reported only once arpd.c:729: error: for each function it appears in.) arpd.c:840: error: too few arguments to function arpd.c:844: error: too few arguments to function
make[1]: *** [arpd.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2/misc'
make: *** [all] Error 2

Anybody know what I can do for this?

I'm using GCC-3.3.1 and Glibc-2.3.2

Jean-Rene Cormier

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/