[uClibc] Buildroot problem -- iproute2

Rudolf Ladyzhenskii Rudolf.ladyzhenskii at opennw.com
Mon Aug 23 23:42:24 UTC 2004


Hi, all

I can not build iproute2 as part of buldroot.

Firstly, it says "Please compile kernel first". This is because KERNEL_INCLUDE gets overwritten somehow in the iproute2 makefile. I renamed the variable and it gets past this point.

Now, I am getting following errors:
/home/shared/tools/buildroot/build_i386/staging_dir/bin/i386-linux-uclibc-gcc -D
_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -Werror -g -I../include-glibc -include
 ../include-glibc/glibc-bugs.h -I/home/shared/tools/buildroot/toolchain_build_i3
86/linux/include -I../include    -c -o ll_map.o ll_map.c
In file included from ../include-glibc/netinet/in.h:7,
                 from ll_map.c:19:
/home/shared/tools/buildroot/toolchain_build_i386/linux/include/linux/in.h:152:
error: field `gr_group' has incomplete type
/home/shared/tools/buildroot/toolchain_build_i386/linux/include/linux/in.h:158:
error: field `gsr_group' has incomplete type
/home/shared/tools/buildroot/toolchain_build_i386/linux/include/linux/in.h:159:
error: field `gsr_source' has incomplete type
/home/shared/tools/buildroot/toolchain_build_i386/linux/include/linux/in.h:165:
error: field `gf_group' has incomplete type
/home/shared/tools/buildroot/toolchain_build_i386/linux/include/linux/in.h:168:
error: field `gf_slist' has incomplete type
make[2]: *** [ll_map.o] Error 1
make[2]: Leaving directory `/home/shared/tools/buildroot/build_i386/iproute2/lib
'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/shared/tools/buildroot/build_i386/iproute2'
make: *** [/home/shared/tools/buildroot/build_i386/iproute2/tc/tc] Error 2


Something is wrong with uClibc headers?

Thanks,
Rudolf


/*******************************************************/
Rudolf Ladyzhenskii
Senior Design Engineer
Open Networks Pty. Ltd.
Level 26, 35 Collins Street,
Melbourne VIC 3000
e-mail: rudolfl.ladyzhenskii at opennw.com
phone: +61 3 9656 5107
fax:     +61 3 9656 5122
web: www.opennw.com
/*******************************************************/





More information about the uClibc mailing list