make[4]: Entering directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9' make[5]: Entering directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9' Making all in src... make[6]: Entering directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/src' make[7]: Entering directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/src' Making all in include... /usr/bin/make -w -C include all make[8]: Entering directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/src/include' make[8]: Nothing to be done for 'all'. make[8]: Leaving directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/src/include' Making all in lib... /usr/bin/make -w -C lib all make[8]: Entering directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/src/lib' /build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/host/bin/libtool --mode=link --tag=CC ccache_cc -release 020209 \ -L/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/target-i386_pentium4_musl-1.1.16/usr/lib -L/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/target-i386_pentium4_musl-1.1.16/usr/lib -L/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/target-i386_pentium4_musl-1.1.16/lib -L/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-5.4.0_musl-1.1.16/usr/lib -L/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro -export-dynamic -o libfreeradius-radius.la -rpath /usr/lib/freeradius2 debug.lo dict.lo filters.lo hash.lo hmac.lo hmacsha1.lo isaac.lo log.lo misc.lo missing.lo md4.lo md5.lo print.lo radius.lo rbtree.lo sha1.lo snprintf.lo strlcat.lo strlcpy.lo token.lo udpfromto.lo valuepair.lo fifo.lo packet.lo event.lo getaddrinfo.lo vqp.lo heap.lo dhcp.lo base64.lo OpenWrt-libtool: link: ccache gcc -shared -fPIC -DPIC .libs/debug.o .libs/dict.o .libs/filters.o .libs/hash.o .libs/hmac.o .libs/hmacsha1.o .libs/isaac.o .libs/log.o .libs/misc.o .libs/missing.o .libs/md4.o .libs/md5.o .libs/print.o .libs/radius.o .libs/rbtree.o .libs/sha1.o .libs/snprintf.o .libs/strlcat.o .libs/strlcpy.o .libs/token.o .libs/udpfromto.o .libs/valuepair.o .libs/fifo.o .libs/packet.o .libs/event.o .libs/getaddrinfo.o .libs/vqp.o .libs/heap.o .libs/dhcp.o .libs/base64.o -L/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/target-i386_pentium4_musl-1.1.16/usr/lib -L/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/target-i386_pentium4_musl-1.1.16/lib -L/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-5.4.0_musl-1.1.16/usr/lib -L/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-5.4.0_musl-1.1.16/lib -Wl,-soname -Wl,libfreeradius-radius-020209.so -o .libs/libfreeradius-radius-020209.so /usr/bin/ld: skipping incompatible /build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-5.4.0_musl-1.1.16/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: skipping incompatible /build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-5.4.0_musl-1.1.16/lib/libc.so when searching for -lc /usr/bin/ld: skipping incompatible /build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-5.4.0_musl-1.1.16/lib/libc.a when searching for -lc /usr/bin/ld: skipping incompatible /build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/staging_dir/toolchain-i386_pentium4_gcc-5.4.0_musl-1.1.16/lib/libgcc_s.so when searching for -lgcc_s /usr/bin/ld: i386 architecture of input file `.libs/debug.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/dict.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/filters.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/hash.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/hmac.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/hmacsha1.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/isaac.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/log.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/misc.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/missing.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/md4.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/md5.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/print.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/radius.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/rbtree.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/sha1.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/snprintf.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/strlcat.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/strlcpy.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/token.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/udpfromto.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/valuepair.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/fifo.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/packet.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/event.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/getaddrinfo.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/vqp.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/heap.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/dhcp.o' is incompatible with i386:x86-64 output /usr/bin/ld: i386 architecture of input file `.libs/base64.o' is incompatible with i386:x86-64 output .libs/debug.o: In function `_fr_fault': debug.c:(.text+0x146): undefined reference to `strlcpy' .libs/debug.o: In function `fr_fault_setup': debug.c:(.text+0x256): undefined reference to `strlcpy' .libs/dict.o: In function `dict_attrbyname': dict.c:(.text+0x656): undefined reference to `strlcpy' .libs/dict.o: In function `dict_valbyname': dict.c:(.text+0x79f): undefined reference to `strlcpy' .libs/dict.o: In function `dict_addvalue': dict.c:(.text+0x974): undefined reference to `strlcpy' .libs/dict.o:dict.c:(.text+0xa3f): more undefined references to `strlcpy' follow .libs/log.o: In function `fr_strerror_make_key': log.c:(.text+0x1b): undefined reference to `pthread_key_create' .libs/log.o: In function `fr_strerror_printf': log.c:(.text+0x46): undefined reference to `pthread_once' log.c:(.text+0x53): undefined reference to `pthread_getspecific' log.c:(.text+0x82): undefined reference to `pthread_setspecific' .libs/log.o: In function `fr_strerror': log.c:(.text+0xc8): undefined reference to `pthread_once' log.c:(.text+0xd5): undefined reference to `pthread_getspecific' .libs/print.o: In function `.L70': print.c:(.text+0x364): undefined reference to `strlcpy' .libs/print.o: In function `.L83': print.c:(.text+0x6a0): undefined reference to `strlcpy' .libs/radius.o: In function `.L310': radius.c:(.text+0x1b49): undefined reference to `strlcpy' .libs/valuepair.o: In function `pairparsevalue': valuepair.c:(.text+0x7f5): undefined reference to `strlcpy' valuepair.c:(.text+0xc7c): undefined reference to `strlcpy' .libs/valuepair.o:valuepair.c:(.text+0x10c3): more undefined references to `strlcpy' follow /usr/bin/ld: .libs/debug.o: file class ELFCLASS32 incompatible with ELFCLASS64 /usr/bin/ld: final link failed: File in wrong format collect2: error: ld returned 1 exit status Makefile:44: recipe for target 'libfreeradius-radius.la' failed make[8]: *** [libfreeradius-radius.la] Error 1 make[8]: Leaving directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/src/lib' Makefile:39: recipe for target 'lib' failed make[7]: *** [lib] Error 2 make[7]: Leaving directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/src' Makefile:14: recipe for target 'all' failed make[6]: *** [all] Error 2 make[6]: Leaving directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/src' Makefile:97: recipe for target 'src' failed make[5]: *** [src] Error 2 make[5]: Leaving directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9' Makefile:18: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9' Makefile:603: recipe for target '/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/.built' failed make[3]: *** [/build/lede-17.01/slaves/phase2/i386_pentium4/build/sdk/build_dir/target-i386_pentium4_musl-1.1.16/freeradius-server-2.2.9/.built] Error 2