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/

  -

 

 

 

 

 

-

 

posted @   悟透  阅读(7165)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
点击右上角即可分享
微信分享提示