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
-- Alexandre Ahmim-Richard passe@xxxxxxxxx http://www.u-admin.org _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/