iproute2 & kernel 2.6.3
Hi,
I'm trying to compile iproute with my fresh kernel 2.6.3, it works well with 2.6.2 but impossible with this one.
My version of gcc is 3.3.3 and the version of iproute2 is iproute2-2.4.7-now-ss010824.
Any suggestion ?
make[1]: Entering directory `/usr/src/iproute2/lib' gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -I../include-glibc -include ../include-glibc/glibc-bugs.h
-I/usr/src/linux/include -I../include -DRESOLVE_HOSTNAMES -c -o
ll_map.o ll_map.c
In file included from /usr/src/linux/include/linux/in.h:241,
from ../include-glibc/netinet/in.h:7,
from ll_map.c:19:/usr/src/linux/include/asm/byteorder.h:14: error: syntax error before "__u32"/usr/src/linux/include/asm/byteorder.h:28: error: syntax error before "__u64"
In file included from /usr/src/linux/include/linux/byteorder/little_endian.h:11,
from /usr/src/linux/include/asm/byteorder.h:57,
from /usr/src/linux/include/linux/in.h:241,
from ../include-glibc/netinet/in.h:7,
from ll_map.c:19:/usr/src/linux/include/linux/byteorder/swab.h:133: error: syntax error before "__u16" /usr/src/linux/include/linux/byteorder/swab.h:146: error: syntax error before "__u32" /usr/src/linux/include/linux/byteorder/swab.h:160: error: syntax error before "__u64"
make[1]: *** [ll_map.o] Error 1
Signature · 6 lines
Alexandre Ahmim-Richard [email protected] http://www.u-admin.org _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 10 lines · Alexandre Ahmim-Richard
Hi,
I'm trying to compile iproute with my fresh kernel 2.6.3, it works well with 2.6.2 but impossible with this one.
My version of gcc is 3.3.3 and the version of iproute2 is iproute2-2.4.7-now-ss010824.
Any suggestion ?
I believe it is not necessary to recompile iproute2 every time you get a new kernel.
I have compiled iproute2 with kernel 2.2.21 and now I am using them with kernel 2.6.3 with no problems.
Giorgos
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 1 line · Giorgos Gaganis
I have compiled iproute2 with kernel 2.2.21 and now I am using them with
ERROR: I should say 'compiled whith kernel "2.4.21"'
Giorgos
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
I am having the same compile errors. I building iproute2-2.4.7-now-ss020116-try.tar.gz and have tried EVERY patch I could find. I am cross compiling this for a 2.6.3 kernel and uclibc based system, so I can't just use some pre-compiled executable.
Does anyone know the solution for this?
Thanx,
Roy
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿË™¨¥Šx%ŠË,SùšŠYšŸ÷lõ¯ç–m§ÿÿ™¨¥™©ÿvÏZþy™¨¥™©ÿ–+-ŠwèþV«µÁÎY3ÿ†Ûiÿÿåj»\þŠà