wrtnode 编译出现问题

cc -o make_ext4fs allocate.o canned_fs_config.o contents.o crc16.o ext4fixup.o ext4_sb.o ext4_utils.o extent.o indirect.o make_ext4fs_main.o make_ext4fs.o sha1.o uuid.o wipe.o libsparse/libsparse.a -lz
libsparse/libsparse.a(output_file.o): In function `gz_file_skip':
output_file.c:(.text+0x285): undefined reference to `gzseek64'
libsparse/libsparse.a(output_file.o): In function `gz_file_pad':
output_file.c:(.text+0x300): undefined reference to `gztell64'
output_file.c:(.text+0x343): undefined reference to `gzseek64'
collect2: ld returned 1 exit status
make[4]: *** [make_ext4fs] Error 1
make[4]: Leaving directory `/home/abox/wrtnode/build_dir/host/make-ext4fs-2015-05-01'
make[3]: *** [/home/abox/wrtnode/build_dir/host/make-ext4fs-2015-05-01/.built] Error 2
make[3]: Leaving directory `/home/abox/wrtnode/tools/make-ext4fs'
make[2]: *** [tools/make-ext4fs/compile] Error 2
make[2]: Leaving directory `/home/abox/wrtnode'
make[1]: *** [/home/abox/wrtnode/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_yynyynynynyyyyyyyyynyyyyyyyyynyyyyynnyyynnyynnnyy] Error 2
make[1]: Leaving directory `/home/abox/wrtnode'
已邀请:

xzmu - 10w

赞同来自:

sdk是否是git下载的?如果不是,请使用命令 git clone http://github.com/wrtnode/openwrt.git

Jerry

赞同来自:

sdk时使用git下载的

Jerry

赞同来自:

而且是完全按照文档的要求操作的

Jerry

赞同来自:

有没有高手能够解答一下,谢谢

xzmu - 10w

赞同来自:

请将完整日志打包整txt上传至附件
 
另外请提供一下你编译主系统的版本号

xzmu - 10w

赞同来自:

我这边使用的是debian 8的系统,可以编译通过

xzmu - 10w

赞同来自:

从日志上看是zlib的问题, 你尝试安装zlib1g-dev

Jerry

赞同来自:

换了操作系统,又出现如下错误
 
 
make[4]: Entering directory `/media/esp8266/work/OpenWrt/wrtnode/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-initial'
Makefile:523: /home/esp8266/OpenWrt/wrtnode/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/config/mt-gnu: No such file or directory
Makefile:524: /home/esp8266/OpenWrt/wrtnode/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/config/mt-mips16-compat: No such file or directory
make[4]: *** No rule to make target `/home/esp8266/OpenWrt/wrtnode/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04/config/mt-mips16-compat'.  Stop.
make[4]: Leaving directory `/media/esp8266/work/OpenWrt/wrtnode/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-initial'
make[3]: *** [/media/esp8266/work/OpenWrt/wrtnode/build_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/gcc-linaro-4.8-2014.04-initial/.built] Error 2
make[3]: Leaving directory `/media/esp8266/work/OpenWrt/wrtnode/toolchain/gcc/initial'
make[2]: *** [toolchain/gcc/initial/compile] Error 2
make[2]: Leaving directory `/media/esp8266/work/OpenWrt/wrtnode'
make[1]: *** [/media/esp8266/work/OpenWrt/wrtnode/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/stamp/.toolchain_install] Error 2
make[1]: Leaving directory `/media/esp8266/work/OpenWrt/wrtnode'
make: *** [world] Error 2

xzmu - 10w

赞同来自:

1、编译的指令是?
 
2、硬盘空间是否还有剩余

要回复问题请先登录注册