恩山无线论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 158|回复: 2

新手编译中遇到问题,哪位帮忙看一下,谢谢!

[复制链接]
发表于 2021-1-31 10:36 | 显示全部楼层 |阅读模式
使用了Lean的Openwrt源码,今天更新了luci-app-wrtbwmon源码就出现以下错误,试了几次偶尔可以编译成功,请大家帮忙看一下是哪里有问题,谢谢!luci-app-wrtbwmon源码来自:https://github.com/brvphoenix/luci-app-wrtbwmon
用git clone到lede/package/lean/下,发现多了一层目录:lede/package/lean/luci-app-wrtbwmon/luci-app-wrtbwmon,所以手动上移了一层,单个插件包可以编译成功,但是也是会出现以下警告:
  1. andy@Ubuntu:~/Desktop/lede$ make package/lean/luci-app-wrtbwmon/compile V=99
  2. WARNING: Makefile 'package/lean/luci-app-wrtbwmon/Makefile' has a dependency on 'wrtbwmon', which does not exist
  3. make[1]: Entering directory '/home/andy/Desktop/lede'
  4. make[2]: Entering directory '/home/andy/Desktop/lede/feeds/luci/modules/luci-base'
  5. make[2]: Leaving directory '/home/andy/Desktop/lede/feeds/luci/modules/luci-base'
  6. time: package/feeds/luci/luci-base/host-compile#0.56#1.20#3.49
  7. make[2]: Entering directory '/home/andy/Desktop/lede/package/libs/toolchain'
  8. echo "libc" >> /home/andy/Desktop/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
  9. echo "libgcc" >> /home/andy/Desktop/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
  10. echo "libatomic" >> /home/andy/Desktop/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
  11. echo "libstdcpp" >> /home/andy/Desktop/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
  12. echo "libpthread" >> /home/andy/Desktop/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
  13. echo "librt" >> /home/andy/Desktop/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
  14. make[2]: Leaving directory '/home/andy/Desktop/lede/package/libs/toolchain'
  15. time: package/libs/toolchain/compile#0.13#0.14#0.44
  16. make[2]: Entering directory '/home/andy/Desktop/lede/package/utils/lua'
  17. make[2]: Leaving directory '/home/andy/Desktop/lede/package/utils/lua'
  18. time: package/utils/lua/host-compile#0.13#0.14#0.44
  19. make[2]: Entering directory '/home/andy/Desktop/lede/package/lean/luci-app-wrtbwmon'
  20. echo "luci-app-wrtbwmon" >> /home/andy/Desktop/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/luci-app-wrtbwmon.default.install
  21. make[2]: Leaving directory '/home/andy/Desktop/lede/package/lean/luci-app-wrtbwmon'
  22. time: package/lean/luci-app-wrtbwmon/compile#0.14#0.09#0.39
  23. make[1]: Leaving directory '/home/andy/Desktop/lede'
复制代码




error1.png

error2.png

error3.png

我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-1-31 10:53 | 显示全部楼层
本帖最后由 jjit 于 2021-1-31 10:56 编辑

luci-app 只是网页界面,还需要编译wrtbwmon这个核心文件:
https://github.com/brvphoenix/wrtbwmon
git clone 上面的核心源码,make menuconfig里再选中 wrtbwmon

点评

非常感谢,我试试  详情 回复 发表于 2021-1-31 15:23
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2021-1-31 15:23 | 显示全部楼层
jjit 发表于 2021-1-31 10:53
luci-app 只是网页界面,还需要编译wrtbwmon这个核心文件:
https://github.com/brvphoenix/wrtbwmon
git ...

非常感谢,我试试
我的恩山、我的无线 The best wifi forum is right here.
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2021-3-1 17:22

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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