#1 2015-07-05 11:11:18
编译Tomato ARM出现奇怪的错误
编译环境:ubuntu 14.10 (X86)
请各位帮忙看看!
出错信息:
make[6]: Leaving directory '/home/houzi/tomato/tomato-make/release/src-rt-6.x.4708/router/nas_arm/nas'
make[5]: Leaving directory '/home/houzi/tomato/tomato-make/release/src-rt-6.x.4708/router/nas_arm'
prebuilt
make[5]: Entering directory '/home/houzi/tomato/tomato-make/release/src-rt-6.x.4708/router/prebuilt'
make[5]: Leaving directory '/home/houzi/tomato/tomato-make/release/src-rt-6.x.4708/router/prebuilt'
cd igmpproxy && CFLAGS="-O2 -Wall -DLINUX26 -DCONFIG_BCMWL5 -DCONFIG_BCMWL6 -DCONFIG_BCMWL6A -DPART_JFFS2_GAP=0UL -pipe -fno-strict-aliasing -DBCMWPA2 -DBCMARM -marm -DTCONFIG_NVRAM_64K -DLINUX_KERNEL_VERSION=132644 -ffunction-sections -fdata-sections" \
LDFLAGS="-ffunction-sections -fdata-sections -Wl,--gc-sections" \
./configure --host=arm-linux --build=i686-linux-gnu --prefix=/usr
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... arm-brcm-linux-uclibcgnueabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for arm-linux-gcc... arm-brcm-linux-uclibcgnueabi-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-brcm-linux-uclibcgnueabi-gcc accepts -g... yes
checking for arm-brcm-linux-uclibcgnueabi-gcc option to accept ISO C89... none needed
checking dependency style of arm-brcm-linux-uclibcgnueabi-gcc... gcc3
checking for arm-brcm-linux-uclibcgnueabi-gcc option to accept ISO C99... -std=gnu99
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
configure: creating ./config.status
config.status: creating Makefile
gawk: symbol lookup error: gawk: undefined symbol: mpfr_z_sub
config.status: error: could not create Makefile
Makefile:1745: recipe for target 'igmpproxy/src/Makefile' failed
make[4]: *** [igmpproxy/src/Makefile] Error 1
make[4]: Leaving directory '/home/houzi/tomato/tomato-make/release/src-rt-6.x.4708/router'
Makefile:118: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/houzi/tomato/tomato-make/release/src-rt-6.x.4708'
Makefile:862: recipe for target 'bin' failed
make[2]: *** [bin] Error 2
make[2]: Leaving directory '/home/houzi/tomato/tomato-make/release/src-rt-6.x.4708'
Makefile:875: recipe for target 'e' failed
make[1]: *** [e] Error 2
make[1]: Leaving directory '/home/houzi/tomato/tomato-make/release/src-rt-6.x.4708'
Makefile:890: recipe for target 'r7000e' failed
make: *** [r7000e] Error 2
離線