iproute2 compile errors under 2.6.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's what I get when I try to compile iproute2:

---begin---

gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include -I/usr/src/linux/include -DRESOLVE_HOSTNAMES -c -o ll_types.o ll_types.c
In file included from /usr/src/linux/include/linux/netdevice.h:34,
from /usr/src/linux/include/linux/if_arp.h:26,
from ll_types.c:20:
/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/netdevice.h:34,
from /usr/src/linux/include/linux/if_arp.h:26,
from ll_types.c:20:
/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_types.o] Error 1
make[1]: Leaving directory `/usr/src/iproute2/lib'
make: *** [all] Error 2


---end---

I've tried several different versions of the iproute2 code and get similar or identical errors. This particular copy is from the link in the email "[PATCH] packet delay scheduler" by shemminger@osdl.org on 3/18/04.

I'm running Slackware 9.1, with an unpatched 2.6.4 source tree. I've tried using both gcc 3.2.3 and 3.3.3. If anyone has any suggestions I'd appreciate them.

~Brad Hook
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux