I'm trying to compile Busybox with Buildroot Cross-Compiler.
Here are the steps:
Download Busybox and untar it
wget http://www.busybox.net/downloads/busybox-1.22.1.tar.bz2 && tar xjf busybox-1.22.1.tar.bz2
Configure BusyBox and compile
make menuconfig
make CROSS_COMPILE=/usr/local/cross-rpi/usr/bin/arm-linux-
(The path to the Cross-Compiler is correct)
The compilation returns the following error:
CC networking/nslookup.o
networking/nslookup.c: In function ‘server_print’:
networking/nslookup.c:123:37: error: ‘struct <anonymous>’ has no member named ‘nsaddrs’
networking/nslookup.c: In function ‘set_default_dns’:
networking/nslookup.c:163:15: error: ‘struct <anonymous>’ has no member named ‘nsaddrs’
make[1]: *** [networking/nslookup.o] Error 1
make: *** [networking] Error 2
If I don't use the Cross-Compiler everything builds fine.
Do you have any advice?