openWrt(LEDE)编译错误WARNING: Makefile 'package/lean/autosamba/Makefile' has a dependency on 'luci-app-samba', which does not exist
编译错误:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | Configuring dnsmasq-full. Collected errors: * pkg_hash_check_unresolved: cannot find dependency luci-app-samba for autosamba * pkg_hash_fetch_best_installation_candidate: Packages for autosamba found, but incompatible with the architectures configured * opkg_install_cmd: Cannot install package autosamba. * pkg_hash_check_unresolved: cannot find dependency uci-firewall for luci-app-firewall * pkg_hash_fetch_best_installation_candidate: Packages for luci-app-firewall found, but incompatible with the architectures configured * satisfy_dependencies_for: Cannot satisfy the following dependencies for default-settings: * uci-firewall * opkg_install_cmd: Cannot install package default-settings. package /Makefile :66: recipe for target 'package/install' failed make [2]: *** [package /install ] Error 255 make [2]: Leaving directory '/home/ubuntu/lede' package /Makefile :111: recipe for target '/home/ubuntu/lede/staging_dir/target-x86_64_musl/stamp/.package_install' failed make [1]: *** [ /home/ubuntu/lede/staging_dir/target-x86_64_musl/stamp/ .package_install] Error 2 make [1]: Leaving directory '/home/ubuntu/lede' /home/ubuntu/lede/include/toplevel .mk:228: recipe for target 'world' failed make : *** [world] Error 2 |
错误提示截图:
解决方法:
环境说明:~/lede/目录,是克隆openwrt的主目录,里面是默认就有的toolchain、tool等文件夹
1.查看是否有~/lede/feeds/luci/applications/文件夹下是否有luci-app-samba文件夹,
如果没有,更新feeds源,命令: $ ./scripts/feeds update -a && ./scripts/feeds install -a
2.进入feeds/luci/applications/luci-app-samba目录,创建luci-app-samba的软链接(快捷方式)
1 2 3 4 | $ cd package /feeds/luci/ $ ln -s ../../.. /feeds/luci/applications/luci-app-samba luci-app-samba $ ll luci-app-samba lrwxrwxrwx 1 ubuntu ubuntu 47 4月 19 22:03 luci-app-samba -> ../../.. /feeds/luci/applications/luci-app-samba/ |
-
-
分类:
OpenWrt(LEDE)
标签:
openwrt
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!