找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1340|回复: 3

想编译个校园网的ipk,但是老是出错,不知道怎么解决,求大神帮帮忙!

[复制链接]
发表于 2017-8-22 17:32 | 显示全部楼层 |阅读模式
我们学校校园网是用的联想天工的软件联网,找遍了全网只找到了一个结果,那个人编译的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



我的恩山、我的无线 The best wifi forum is right here.
发表于 2017-8-22 17:36 | 显示全部楼层
pcap.h: No such file or directory,这个文件缺了

点评

大神可不可以帮我试试看这个源码到底能不能编译  详情 回复 发表于 2017-8-22 17:53
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-8-22 17:53 | 显示全部楼层
gaomin1990 发表于 2017-8-22 17:36
pcap.h: No such file or directory,这个文件缺了

大神可不可以帮我试试看这个源码到底能不能编译
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-8-22 20:40 | 显示全部楼层
差依赖吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-3-29 02:43

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表