编译错误:
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/
-
-