openWrt(LEDE)編譯錯誤WARNING: Makefile 'package/lean/autosamba/Makefile' has a dependency on 'luci-app-samba', which does not exist


編譯錯誤:

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的軟鏈接(快捷方式)

$ 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/

  -

 

 

 

 

 

-

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM