[uClibc] Buildroot problem -- iproute2
Rudolf.ladyzhenskii at opennw.com
Thu Aug 26 04:20:52 UTC 2004
Still have problems there.
There are actually 3 problems (so far) with iproute2.
1. KERNEL_INCLUDE variable in the iproute2 Makefile gets corrupted and is pointing to wrong directory. Not sure why. Could be something to do with my system setup, but I do not have time now to investigate. Thsi was easily fixed by renaming the variable in the Makefile. I will look into it when I have more time.
Thsi was causing compiling error "Please compile the kernel first".
2. iproute has its own copy of gclib headers that causes problems. I found a patch in teh archives and it got me past this fault (patch removes ../include-glibc from list of include directories).
3. There is a header file conflict between kernel includes and uClibc headers. Here is error as reported by compiler:
_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -include ../include-glibc/g
libc-bugs.h -I/home/shared/tools/buildroot/toolchain_build_i386/linux/include -I
../include -DRESOLVE_HOSTNAMES -c -o iptunnel.o iptunnel.c
In file included from /home/shared/tools/buildroot/toolchain_build_i386/linux/in
In file included from iptunnel.c:30:
/sys-include/netinet/ip.h:159:1: this is the location of the previous definition
There are quite a few of those errors.
Looks like iproute2 includes both kernel and user-land header files.
Any ideas how to patch iproute2 to make it compile?
From: uclibc-bounces at uclibc.org [mailto:uclibc-bounces at uclibc.org]On
Behalf Of Mike Frysinger
Sent: Tuesday, August 24, 2004 9:53 AM
To: uclibc at uclibc.org
Subject: Re: [uClibc] Buildroot problem -- iproute2
On Monday 23 August 2004 07:42 pm, Rudolf Ladyzhenskii wrote:
> I can not build iproute2 as part of buldroot.
search the archives, this has been covered a million (+1) times
More information about the uClibc