Got version 2913 (current) from SVN
Make command:
sudo make CC=/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc LD=/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-ld
Console output:
make[1]: Entering directory '/home/dev/openwrt/package/trunk/src'
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc -g -W -Wall -O3 -DOLD_SSE_CORE=1 -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=2913 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude aircrack-ng.o cpuid.o crypto.o common.o uniqueiv.o sha1-sse2.o aircrack-ptw-lib.o liblinecount.a -o aircrack-ng -lpthread -lssl -lcrypto -lstdc++
mips-openwrt-linux-uclibc-gcc: warning: environment variable 'STAGING_DIR' not defined
mips-openwrt-linux-uclibc-gcc: warning: environment variable 'STAGING_DIR' not defined
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
/home/dev/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mips-openwrt-linux-uclibc/4.8.3/../../../../mips-openwrt-linux-uclibc/bin/ld: liblinecount.a(linecount.o): Relocations in generic ELF (EM: 3)
liblinecount.a: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:182: recipe for target 'aircrack-ng' failed
make[1]: *** [aircrack-ng] Error 1
make[1]: Leaving directory '/home/dev/openwrt/package/trunk/src'
Makefile:25: recipe for target 'all' failed
make: *** [all] Error 2
Output of echo $STAGING_DIR
/home/dev/openwrt/staging_dir
Output of file *.o:
aircrack-ng.o: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
aircrack-ptw-lib.o: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
common.o: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
cpuid.o: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
crypto.o: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
linecount.o: ELF 32-bit LSB relocatable, Intel 80386, version 1 (SYSV), not stripped
sha1-sse2.o: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
uniqueiv.o: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
Any suggestions as to what I'm missing would be appreciated.
Thank you.