Problem in Cross compiling

Pankaj Charpe pankaj.charpe at
Wed Dec 28 05:39:46 UTC 2016

 I am cross compiling iproute2 for mipsel linux kernel but I am getting the
following error : Below are my stpes

PATHSTAGING_DIR=/opt/buildroot-gcc463/usrexport STAGING_DIR*

*root at pankaj:/home/venkat/usb/iproute2-4.9.0# ./configure
--build=x86_64-unknown-linux-gnu -host=mipsel-linux*
TC schedulers
 ATM    no

libc has setns: yesyyyyyyyyyyyyyyyyyyyyyyyyyyy
SELinux support: no
ELF support: no
libmnl support: no
Berkeley DB: yes

docs: latex: no
 WARNING: no docs can be built from LaTeX files
 sgml2html: no
 WARNING: no HTML docs can be built from SGML

*root at pankaj:/home/venkat/usb/iproute2-4.9.0# make CC=mipsel-linux-gcc

make[1]: Nothing to be done for `all'.

    LINK     ip
../lib/libutil.a(utils.o): In function `format_host_r':
utils.c:(.text+0x21b8): warning: gethostbyaddr is obsolescent, use
getaddrinfo() instead.
../lib/libutil.a(namespace.o): In function `netns_switch':
namespace.c:(.text+0x84): undefined reference to `setns'
namespace.c:(.text+0x8c): undefined reference to `setns'
collect2: ld returned 1 exit status
make[1]: *** [ip] Error 1
make: *** [all] Error 2

Thanks & Regards
Pankaj Charpe

More information about the Containers mailing list