I am trying to compile luci-app-shadowsocks from the newest openwrt SDK.
And That SDK is compiled from the newest source code of OpenWRT(https://github.com/openwrt/openwrt)
我正在尝试从最新的openwrt SDK编译 luci-app-shadowsocks。
该SDK是从最新的OpenWRT源码中编译得到的。
The version of source code of openwrt:
openwrt源代码的版本:
tmp/.config-package.in:8:warning: ignoring type redefinition of 'PACKAGE_base-files' from 'boolean' to 'tristate'
tmp/.config-package.in:55:warning: ignoring type redefinition of 'PACKAGE_busybox' from 'boolean' to 'tristate'
tmp/.config-package.in:98:warning: ignoring type redefinition of 'PACKAGE_dnsmasq' from 'boolean' to 'tristate'
tmp/.config-package.in:166:warning: ignoring type redefinition of 'PACKAGE_dropbear' from 'boolean' to 'tristate'
tmp/.config-package.in:196:warning: ignoring type redefinition of 'PACKAGE_firewall' from 'boolean' to 'tristate'
tmp/.config-package.in:217:warning: ignoring type redefinition of 'PACKAGE_fstools' from 'boolean' to 'tristate'
tmp/.config-package.in:240:warning: ignoring type redefinition of 'PACKAGE_jsonfilter' from 'boolean' to 'tristate'
tmp/.config-package.in:284:warning: ignoring type redefinition of 'PACKAGE_libc' from 'boolean' to 'tristate'
tmp/.config-package.in:312:warning: ignoring type redefinition of 'PACKAGE_libgcc' from 'boolean' to 'tristate'
tmp/.config-package.in:369:warning: ignoring type redefinition of 'PACKAGE_libpthread' from 'boolean' to 'tristate'
tmp/.config-package.in:491:warning: ignoring type redefinition of 'PACKAGE_logd' from 'boolean' to 'tristate'
tmp/.config-package.in:545:warning: ignoring type redefinition of 'PACKAGE_mtd' from 'boolean' to 'tristate'
tmp/.config-package.in:559:warning: ignoring type redefinition of 'PACKAGE_netifd' from 'boolean' to 'tristate'
tmp/.config-package.in:605:warning: ignoring type redefinition of 'PACKAGE_opkg' from 'boolean' to 'tristate'
tmp/.config-package.in:692:warning: ignoring type redefinition of 'PACKAGE_procd' from 'boolean' to 'tristate'
tmp/.config-package.in:798:warning: ignoring type redefinition of 'PACKAGE_rpcd' from 'boolean' to 'tristate'
tmp/.config-package.in:910:warning: ignoring type redefinition of 'PACKAGE_ubox' from 'boolean' to 'tristate'
tmp/.config-package.in:927:warning: ignoring type redefinition of 'PACKAGE_ubus' from 'boolean' to 'tristate'
tmp/.config-package.in:942:warning: ignoring type redefinition of 'PACKAGE_ubusd' from 'boolean' to 'tristate'
tmp/.config-package.in:956:warning: ignoring type redefinition of 'PACKAGE_uci' from 'boolean' to 'tristate'
tmp/.config-package.in:969:warning: ignoring type redefinition of 'PACKAGE_usign' from 'boolean' to 'tristate'
tmp/.config-package.in:1413:warning: ignoring type redefinition of 'PACKAGE_brcm2708-gpu-fw' from 'boolean' to 'tristate'
tmp/.config-package.in:5077:warning: ignoring type redefinition of 'PACKAGE_rt2800-usb-firmware' from 'boolean' to 'tristate'
tmp/.config-package.in:7275:warning: ignoring type redefinition of 'PACKAGE_kmod-cfg80211' from 'boolean' to 'tristate'
tmp/.config-package.in:7608:warning: ignoring type redefinition of 'PACKAGE_kmod-mac80211' from 'boolean' to 'tristate'
tmp/.config-package.in:7809:warning: ignoring type redefinition of 'PACKAGE_kmod-rt2800-lib' from 'boolean' to 'tristate'
tmp/.config-package.in:7863:warning: ignoring type redefinition of 'PACKAGE_kmod-rt2800-usb' from 'boolean' to 'tristate'
tmp/.config-package.in:7878:warning: ignoring type redefinition of 'PACKAGE_kmod-rt2x00-lib' from 'boolean' to 'tristate'
tmp/.config-package.in:7933:warning: ignoring type redefinition of 'PACKAGE_kmod-rt2x00-usb' from 'boolean' to 'tristate'
tmp/.config-package.in:8486:warning: ignoring type redefinition of 'PACKAGE_libiwinfo-lua' from 'boolean' to 'tristate'
tmp/.config-package.in:8530:warning: ignoring type redefinition of 'PACKAGE_lua' from 'boolean' to 'tristate'
tmp/.config-package.in:16743:warning: ignoring type redefinition of 'PACKAGE_libbz2' from 'boolean' to 'tristate'
tmp/.config-package.in:16757:warning: ignoring type redefinition of 'PACKAGE_liblzma' from 'boolean' to 'tristate'
tmp/.config-package.in:16948:warning: ignoring type redefinition of 'PACKAGE_libip4tc' from 'boolean' to 'tristate'
tmp/.config-package.in:16962:warning: ignoring type redefinition of 'PACKAGE_libip6tc' from 'boolean' to 'tristate'
tmp/.config-package.in:16992:warning: ignoring type redefinition of 'PACKAGE_libxtables' from 'boolean' to 'tristate'
tmp/.config-package.in:18637:warning: ignoring type redefinition of 'PACKAGE_libmbedtls' from 'boolean' to 'tristate'
tmp/.config-package.in:18652:warning: ignoring type redefinition of 'PACKAGE_libopenssl' from 'boolean' to 'tristate'
tmp/.config-package.in:19099:warning: ignoring type redefinition of 'PACKAGE_libsqlite3' from 'boolean' to 'tristate'
tmp/.config-package.in:20964:warning: ignoring type redefinition of 'PACKAGE_libblobmsg-json' from 'boolean' to 'tristate'
tmp/.config-package.in:21147:warning: ignoring type redefinition of 'PACKAGE_libdb47' from 'boolean' to 'tristate'
tmp/.config-package.in:21431:warning: ignoring type redefinition of 'PACKAGE_libev' from 'boolean' to 'tristate'
tmp/.config-package.in:22133:warning: ignoring type redefinition of 'PACKAGE_libffi' from 'boolean' to 'tristate'
tmp/.config-package.in:22374:warning: ignoring type redefinition of 'PACKAGE_libgdbm' from 'boolean' to 'tristate'
tmp/.config-package.in:23722:warning: ignoring type redefinition of 'PACKAGE_libiwinfo' from 'boolean' to 'tristate'
tmp/.config-package.in:23750:warning: ignoring type redefinition of 'PACKAGE_libjson-c' from 'boolean' to 'tristate'
tmp/.config-package.in:23807:warning: ignoring type redefinition of 'PACKAGE_liblua' from 'boolean' to 'tristate'
tmp/.config-package.in:23987:warning: ignoring type redefinition of 'PACKAGE_libmnl' from 'boolean' to 'tristate'
tmp/.config-package.in:24211:warning: ignoring type redefinition of 'PACKAGE_libncursesw' from 'boolean' to 'tristate'
tmp/.config-package.in:24569:warning: ignoring type redefinition of 'PACKAGE_libnl-tiny' from 'boolean' to 'tristate'
tmp/.config-package.in:25218:warning: ignoring type redefinition of 'PACKAGE_libpcre' from 'boolean' to 'tristate'
tmp/.config-package.in:25427:warning: ignoring type redefinition of 'PACKAGE_libreadline' from 'boolean' to 'tristate'
tmp/.config-package.in:25761:warning: ignoring type redefinition of 'PACKAGE_libsodium' from 'boolean' to 'tristate'
tmp/.config-package.in:26030:warning: ignoring type redefinition of 'PACKAGE_libubox' from 'boolean' to 'tristate'
tmp/.config-package.in:26056:warning: ignoring type redefinition of 'PACKAGE_libubus' from 'boolean' to 'tristate'
tmp/.config-package.in:26069:warning: ignoring type redefinition of 'PACKAGE_libubus-lua' from 'boolean' to 'tristate'
tmp/.config-package.in:26083:warning: ignoring type redefinition of 'PACKAGE_libuci' from 'boolean' to 'tristate'
tmp/.config-package.in:26096:warning: ignoring type redefinition of 'PACKAGE_libuci-lua' from 'boolean' to 'tristate'
tmp/.config-package.in:26110:warning: ignoring type redefinition of 'PACKAGE_libuclient' from 'boolean' to 'tristate'
tmp/.config-package.in:26138:warning: ignoring type redefinition of 'PACKAGE_libudns' from 'boolean' to 'tristate'
tmp/.config-package.in:26655:warning: ignoring type redefinition of 'PACKAGE_libxml2' from 'boolean' to 'tristate'
tmp/.config-package.in:26961:warning: ignoring type redefinition of 'PACKAGE_rpcd-mod-rrdns' from 'boolean' to 'tristate'
tmp/.config-package.in:27020:warning: ignoring type redefinition of 'PACKAGE_terminfo' from 'boolean' to 'tristate'
tmp/.config-package.in:27149:warning: ignoring type redefinition of 'PACKAGE_zlib' from 'boolean' to 'tristate'
tmp/.config-package.in:27168:warning: ignoring type redefinition of 'PACKAGE_luci' from 'boolean' to 'tristate'
tmp/.config-package.in:27237:warning: ignoring type redefinition of 'PACKAGE_luci-base' from 'boolean' to 'tristate'
tmp/.config-package.in:27343:warning: ignoring type redefinition of 'PACKAGE_luci-mod-admin-full' from 'boolean' to 'tristate'
tmp/.config-package.in:27771:warning: ignoring type redefinition of 'PACKAGE_luci-app-firewall' from 'boolean' to 'tristate'
tmp/.config-package.in:28237:warning: ignoring type redefinition of 'PACKAGE_luci-app-samba' from 'boolean' to 'tristate'
tmp/.config-package.in:28626:warning: ignoring type redefinition of 'PACKAGE_luci-theme-bootstrap' from 'boolean' to 'tristate'
tmp/.config-package.in:28702:warning: ignoring type redefinition of 'PACKAGE_luci-proto-ipv6' from 'boolean' to 'tristate'
tmp/.config-package.in:28740:warning: ignoring type redefinition of 'PACKAGE_luci-proto-ppp' from 'boolean' to 'tristate'
tmp/.config-package.in:28833:warning: ignoring type redefinition of 'PACKAGE_luci-lib-ip' from 'boolean' to 'tristate'
tmp/.config-package.in:28871:warning: ignoring type redefinition of 'PACKAGE_luci-lib-jsonc' from 'boolean' to 'tristate'
tmp/.config-package.in:28898:warning: ignoring type redefinition of 'PACKAGE_luci-lib-nixio' from 'boolean' to 'tristate'
tmp/.config-package.in:46972:warning: ignoring type redefinition of 'PACKAGE_ip6tables' from 'boolean' to 'tristate'
tmp/.config-package.in:47018:warning: ignoring type redefinition of 'PACKAGE_iptables' from 'boolean' to 'tristate'
tmp/.config-package.in:47694:warning: ignoring type redefinition of 'PACKAGE_iptables-mod-tproxy' from 'boolean' to 'tristate'
tmp/.config-package.in:49282:warning: ignoring type redefinition of 'PACKAGE_libudns' from 'boolean' to 'tristate'
tmp/.config-package.in:51714:warning: ignoring type redefinition of 'PACKAGE_ip' from 'boolean' to 'tristate'
tmp/.config-package.in:68812:warning: ignoring type redefinition of 'PACKAGE_uhttpd' from 'boolean' to 'tristate'
tmp/.config-package.in:68834:warning: ignoring type redefinition of 'PACKAGE_uhttpd-mod-lua' from 'boolean' to 'tristate'
tmp/.config-package.in:68884:warning: ignoring type redefinition of 'PACKAGE_uhttpd-mod-ubus' from 'boolean' to 'tristate'
tmp/.config-package.in:70692:warning: ignoring type redefinition of 'PACKAGE_hostapd-common' from 'boolean' to 'tristate'
tmp/.config-package.in:71069:warning: ignoring type redefinition of 'PACKAGE_ipset' from 'boolean' to 'tristate'
tmp/.config-package.in:71180:warning: ignoring type redefinition of 'PACKAGE_iputils-tftpd' from 'boolean' to 'tristate'
tmp/.config-package.in:71238:warning: ignoring type redefinition of 'PACKAGE_iw' from 'boolean' to 'tristate'
tmp/.config-package.in:73007:warning: ignoring type redefinition of 'PACKAGE_odhcp6c' from 'boolean' to 'tristate'
tmp/.config-package.in:73026:warning: ignoring type redefinition of 'PACKAGE_odhcpd' from 'boolean' to 'tristate'
tmp/.config-package.in:73205:warning: ignoring type redefinition of 'PACKAGE_ppp' from 'boolean' to 'tristate'
tmp/.config-package.in:73250:warning: ignoring type redefinition of 'PACKAGE_ppp-mod-pppoe' from 'boolean' to 'tristate'
tmp/.config-package.in:73453:warning: ignoring type redefinition of 'PACKAGE_samba36-client' from 'boolean' to 'tristate'
tmp/.config-package.in:73468:warning: ignoring type redefinition of 'PACKAGE_samba36-server' from 'boolean' to 'tristate'
tmp/.config-package.in:74092:warning: ignoring type redefinition of 'PACKAGE_uclient-fetch' from 'boolean' to 'tristate'
tmp/.config-package.in:81821:warning: ignoring type redefinition of 'PACKAGE_jshn' from 'boolean' to 'tristate'
tmp/.config-package.in:82119:warning: ignoring type redefinition of 'PACKAGE_libjson-script' from 'boolean' to 'tristate'
tmp/.config-package.in:57055:error: recursive dependency detected!
tmp/.config-package.in:57055: symbol PACKAGE_freeswitch depends on PACKAGE_freeswitch-mod-perl
tmp/.config-package.in:58356: symbol PACKAGE_freeswitch-mod-perl is selected by PACKAGE_freeswitch-mod-verto
tmp/.config-package.in:59203: symbol PACKAGE_freeswitch-mod-verto depends on PACKAGE_freeswitch
CMake Error at CMakeLists.txt:2 (project):
The CMAKE_C_COMPILER:
/mnt/openwrt/release/trunk_2017_07_22/brcm2708/sdk/staging_dir/host/bin/ccache
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
make[2]: *** [/mnt/openwrt/release/trunk_2017_07_22/brcm2708/sdk/build_dir/target-arm_cortex-a7+neon-vfpv4_musl-1.1.16_eabi/mbedtls-2.5.1/.configured_yyyyyyyyy] Error 1
make[1]: *** [package/feeds/base/mbedtls/compile] Error 2
make: *** [package/shadowsocks-libev/compile] Error 2
Trying to fix this error, I tried add the toolchain path to $PATH .
我尝试过将工具链的路径添加到$PATH中去,
Hi, 你好,
I am trying to compile luci-app-shadowsocks from the newest openwrt SDK. And That SDK is compiled from the newest source code of OpenWRT(https://github.com/openwrt/openwrt) 我正在尝试从最新的openwrt SDK编译 luci-app-shadowsocks。 该SDK是从最新的OpenWRT源码中编译得到的。
The version of source code of openwrt: openwrt源代码的版本:
I'm try to compile the OpenWRT for my raspberry pi 2. 对了,我的编译目标是树莓派2代。
The output of
make package/shadowsocks-libev/compile V=s
is below: 下面是make package/shadowsocks-libev/compile V=s
的输出:stdout.log
stderr.log
Trying to fix this error, I tried add the toolchain path to
$PATH
. 我尝试过将工具链的路径添加到$PATH
中去,But it did not work. 但是于事无补。
May I ask your advice about how to fix that problem?? Thanks. 请教大家,这个问题有办法克服吗?谢谢。