Skip to contentSkip to conversation

iproute2 & kernel 2.6.3

LARTC Alexandre Ahmim-Richard 3 participants 4 messages Feb 22, 2004 – Feb 28, 2004

lore
Share & tools
lore
#0 lore raw

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/
#1 lore raw
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/

#3 lore raw
In reply to Alexandre Ahmim-Richard

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»\þŠà