[OpenWrt-Devel] Compilation errors on Ubuntu 14.04 64-bit.

Alive4Ever alive4ever at live.com
Mon Aug 4 06:31:35 EDT 2014

I can't compile current Openwrt on Ubuntu 14.04 64bit.
Latest commit from git log is

commit f99433ba8bb4777a868b955d8e33d7d9e29b5065
Author: blogic <blogic at 3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date:   Sun Aug 3 11:13:58 2014 +0000

    firmware-utils: made mkdir615h1 work for all Senao-
produced devices as mksen
    Signed-off-by: Forest Crossman <cyrozap at gmail.com>

My compilation target is TL-MR3220.
The command I use is

time make -j3 V=s 2>&1 | tee /tmp/openwrt-makelog.txt

Here is the most notable error.

/bin/bash: i686-linux-gnu-ar: command not found
make[7]: *** [libpatch.a] Error 127
make[7]: Leaving directory 

/usr/bin/ld: i386 architecture of input file 
`.libs/liblzma_la-crc32_x86.o' is incompatible with 
i386:x86-64 output
/usr/bin/ld: i386 architecture of input file 
`.libs/liblzma_la-crc64_x86.o' is incompatible with 
i386:x86-64 output
collect2: error: ld returned 1 exit status
make[8]: *** [liblzma.la] Error 1
make[8]: Leaving directory 
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory 
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory 
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory 
make[4]: *** [all] Error 2
make[4]: Leaving directory 
make[3]: *** 
Error 2
make[3]: Leaving directory 
make[2]: *** [tools/xz/compile] Error 2
make[2]: Leaving directory `/home/alif/OpenWrt/openwrt'
make[1]: *** [/home/alif/OpenWrt/openwrt/staging_dir/target-
Error 2
make[1]: Leaving directory `/home/alif/OpenWrt/openwrt'
make: *** [world] Error 2

I've removed the -j3 flags from make command, but I get the 
same error.
Anyone has an idea how to solve these build errors?
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list