Compiling errors. [SOLVED]
Hi, when I compile the asuswrt-Merlin master source code rt-ac68u, I got following error messages:
Could anyone tell me where is wrong ? thanks!
Hi, when I compile the asuswrt-Merlin master source code rt-ac68u, I got following error messages:
Code:
nvram_arm
make[4]: Entering directory `/root/asuswrt-merlin/release/src/router/nvram_arm'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/root/asuswrt-merlin/release/src/router/nvram_arm'
make iptables-1.4.x-configure
make[4]: Entering directory `/root/asuswrt-merlin/release/src/router'
( cd iptables-1.4.x ; \
./configure --host=arm-linux --build=i486-linux-gnu \
--prefix=/usr \
--bindir=/usr/sbin \
--libdir=/usr/lib \
--enable-ipv6 \
--with-kernel=/root/asuswrt-merlin/release/src-rt-6.x.4708/linux/linux-2.6.36 \
)
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 arm-linux-gcc... arm-brcm-linux-uclibcgnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
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 for style of include used by make... GNU
checking dependency style of arm-brcm-linux-uclibcgnueabi-gcc... gcc3
checking whether arm-brcm-linux-uclibcgnueabi-gcc and cc understand -c and -o together... yes
./configure: line 3892: AC_DISABLE_STATIC: command not found
./configure: line 3893: AM_PROG_LIBTOOL: command not found
checking whether the linker accepts -Wl,--no-as-needed... yes
checking whether arm-brcm-linux-uclibcgnueabi-ld knows -Wl,--no-undefined... yes
checking how to run the C preprocessor... arm-brcm-linux-uclibcgnueabi-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking linux/dccp.h usability... yes
checking linux/dccp.h presence... yes
checking for linux/dccp.h... yes
checking linux/ip_vs.h usability... yes
checking linux/ip_vs.h presence... yes
checking for linux/ip_vs.h... yes
checking linux/magic.h usability... yes
checking linux/magic.h presence... yes
checking for linux/magic.h... yes
checking linux/proc_fs.h usability... no
checking linux/proc_fs.h presence... no
checking for linux/proc_fs.h... no
checking size of struct ip6_hdr... 40
checking for arm-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking for libnfnetlink... no
configure: creating ./config.status
config.status: error: cannot find input file: `Makefile.in'
make[4]: *** [iptables-1.4.x-configure] Error 1
make[4]: Leaving directory `/root/asuswrt-merlin/release/src/router'
make[3]: *** [iptables-1.4.x/Makefile] Error 2
make[3]: Leaving directory `/root/asuswrt-merlin/release/src/router'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/asuswrt-merlin/release/src-rt-6.x.4708'
make[1]: *** [bin] Error 2
make[1]: Leaving directory `/root/asuswrt-merlin/release/src-rt-6.x.4708'
make: *** [rt-ac68u] Error 2
root@ubuntu:~/asuswrt-merlin/release/src-rt-6.x.4708#
Could anyone tell me where is wrong ? thanks!
Last edited: