|
我们学校校园网是用的联想天工的软件联网,找遍了全网只找到了一个结果,那个人编译的ipk链接还失效了,所以想自己试试编译,结果编译出错。
这是那个人的链接http://www.unjeep.com/q/202488424.htm
在网上找到了源码https://github.com/YingkitTse/zlevoclient_openwrt
有没有大神能教教我怎么解决下,感谢!
#
# configuration written to .config
#
make[1]: Entering directory '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686'
make[2]: Entering directory '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686'
make[3]: Entering directory '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/package/zlevoclient_openwrt'
#
make -C /home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/build_dir/target-mipsel_24kec+dsp_musl-1.1.14/zlevoclient/ AR="mipsel-openwrt-linux-musl-gcc-ar" AS="mipsel-openwrt-linux-musl-gcc -c -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -iremap /home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/build_dir/target-mipsel_24kec+dsp_musl-1.1.14/: -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=mipsel-openwrt-linux-musl-ld NM="mipsel-openwrt-linux-musl-gcc-nm" CC="mipsel-openwrt-linux-musl-gcc" GCC="mipsel-openwrt-linux-musl-gcc" CXX="mipsel-openwrt-linux-musl-g++" RANLIB="mipsel-openwrt-linux-musl-gcc-ranlib" STRIP=mipsel-openwrt-linux-musl-strip OBJCOPY=mipsel-openwrt-linux-musl-objcopy OBJDUMP=mipsel-openwrt-linux-musl-objdump SIZE=mipsel-openwrt-linux-musl-size CFLAGS="-Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/build_dir/target-mipsel_24kec+dsp_musl-1.1.14/: -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CPPFLAGS="-I/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/staging_dir/target-mipsel_24kec+dsp_musl-1.1.14/usr/include -I/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/staging_dir/target-mipsel_24kec+dsp_musl-1.1.14/include -I/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/staging_dir/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.14/usr/include -I/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/staging_dir/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.14/include/fortify -I/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/staging_dir/toolchain-mipsel_24kec+dsp_gcc-5.3.0_musl-1.1.14/include" LIBS="/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/staging_dir/target-mipsel_24kec+dsp_musl-1.1.14/usr/lib/libpcap.a"
make[4]: Entering directory '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/build_dir/target-mipsel_24kec+dsp_musl-1.1.14/zlevoclient'
mipsel-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kec -mdsp -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -iremap /home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/build_dir/target-mipsel_24kec+dsp_musl-1.1.14/: -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c zlevoclient.c
zlevoclient.c:19:18: fatal error: pcap.h: No such file or directory
compilation terminated.
Makefile:16: recipe for target 'zlevoclient.o' failed
make[4]: *** [zlevoclient.o] Error 1
make[4]: Leaving directory '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/build_dir/target-mipsel_24kec+dsp_musl-1.1.14/zlevoclient'
Makefile:39: recipe for target '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/build_dir/target-mipsel_24kec+dsp_musl-1.1.14//.built' failed
make[3]: *** [/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/build_dir/target-mipsel_24kec+dsp_musl-1.1.14//.built] Error 2
make[3]: Leaving directory '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/package/zlevoclient_openwrt'
package/Makefile:196: recipe for target 'package/zlevoclient_openwrt/compile' failed
make[2]: *** [package/zlevoclient_openwrt/compile] Error 2
make[2]: Leaving directory '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686'
package/Makefile:193: recipe for target '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/staging_dir/target-mipsel_24kec+dsp_musl-1.1.14/stamp/.package_compile' failed
make[1]: *** [/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/staging_dir/target-mipsel_24kec+dsp_musl-1.1.14/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686'
/home/reminiscence/OpenWrt-SDK-ramips-mt7620_gcc-5.3.0_musl-1.1.14.Linux-i686/include/toplevel.mk:185: recipe for target 'world' failed
make: *** [world] Error 2
|
|