|
小白玩家,自己动手编译了下coolsnowwolf-lede的,使用官方配置编译一次成功。后来又研究了下各种app,抱着学习的态度,把所有LuCI里面的app全部购上了。结果编译遇到各种错误,记录一下,有高手请指导。
1. LuCI ---> Applications ---> luci-app-lxc #LXC容器管理
选中这个app编译的时候,在执行到python setup 的时候,会报找不到 setuptools。检查了一下,是因为这个app使用了lede自己内置的python , 既然我在电脑环境中安装上了setuptools ,依然失败。
2. LuCI ---> Applications ---> OLSR 相关的三个模块
报错如下:
/home/liu/lede/staging_dir/toolchain-mipsel_24kc_gcc-7.5.0_musl/include/math.h:203:13: note: expected 'double' but argument is of type 'timespec_t {aka struct timespec}'
double fabs(double);
^~~~
src/gpsdclient.c:390:7: error: wrong type argument to unary exclamation mark
if (!gpsdata->online) {
^
src/gpsdclient.c:457:29: error: 'struct gps_data_t' has no member named 'separation'; did you mean 'version'?
info->height = gpsdata->separation;
^~~~~~~~~~
version
src/gpsdclient.c: In function 'readFromGpsd':
src/gpsdclient.c:581:19: error: too few arguments to function 'gps_read'
gpsReadCode = gps_read(gpsdata);
^~~~~~~~
In file included from src/gpsdclient.h:49:0,
from src/gpsdclient.c:46:
/home/liu/lede/staging_dir/target-mipsel_24kc_musl/usr/include/gps.h:2307:12: note: declared here
extern int gps_read(struct gps_data_t *, char *message, int message_len);
^~~~~~~~
make[5]: *** [../../Makefile.inc:352: src/gpsdclient.o] Error 1
make[5]: Leaving directory '/home/liu/lede/build_dir/target-mipsel_24kc_musl/olsrd-0.9.7/lib/pud'
make[4]: *** [Makefile:241: libs] Error 2
make[4]: Leaving directory '/home/liu/lede/build_dir/target-mipsel_24kc_musl/olsrd-0.9.7'
make[3]: *** [Makefile:297: /home/liu/lede/build_dir/target-mipsel_24kc_musl/olsrd-0.9.7/.built] Error 2
make[3]: Leaving directory '/home/liu/lede/feeds/routing/olsrd'
time: package/feeds/routing/olsrd/compile#0.27#0.10#0.33
make[2]: *** [package/Makefile:113: package/feeds/routing/olsrd/compile] Error 2
make[2]: Leaving directory '/home/liu/lede'
make[1]: *** [package/Makefile:107: /home/liu/lede/staging_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/liu/lede'
make: *** [/home/liu/lede/include/toplevel.mk:227:world] 错误 2
3. LuCI ---> Applications ---> luci-app-shairplay #支持AirPlay功能
网上找到的解决办法: https://github.com/coolsnowwolf/lede/issues/1161
cp: cannot stat '/home/lede/0-git-hub/lede/build_dir/target-x86_64_musl/avahi-dbus/avahi-0.8/ipkg-install/usr/lib/libdns_sd.so*': No such file or directory
Makefile:402: recipe for target '/home/lede/0-git-hub/lede/bin/packages/x86_64/packages/libavahi-compat-libdnssd_0.8-1_x86_64.ipk' failed
make[3]: *** [/home/lede/0-git-hub/lede/bin/packages/x86_64/packages/libavahi-compat-libdnssd_0.8-1_x86_64.ipk] Error 1
make[3]: Leaving directory '/home/lede/0-git-hub/lede/feeds/packages/libs/avahi'
time: package/feeds/packages/avahi/dbus/compile#0.06#0.02#0.22
package/Makefile:111: recipe for target 'package/feeds/packages/avahi/compile' failed
make[2]: *** [package/feeds/packages/avahi/compile] Error 2
make[2]: Leaving directory '/home/lede/0-git-hub/lede'
package/Makefile:107: recipe for target '/home/lede/0-git-hub/lede/staging_dir/target-x86_64_musl/stamp/.package_compile' failed
make[1]: *** [/home/lede/0-git-hub/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/lede/0-git-hub/lede'
/home/lede/0-git-hub/lede/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2
cannot stat ' target-x86_64_musl/avahi-dbus/avahi-0.8/ipkg-install/usr/lib/libdns_sd.so*': No such file or dir
|
|