-
Notifications
You must be signed in to change notification settings - Fork 19.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译报错,请问大神怎么解 #4819
Comments
好像出问题的都是ubuntu 20.04 |
我用的ubuntu14.06 |
同样的问题,ubuntu1804 server ` mkdir -p $(dirname $dest) ; cp -fpR $file $dest ; done ; echo ; link_contents() { local src=$1 ; local dest=$2 ; local dirs dir base ; if [ -n "$(find $src -mindepth 1 -maxdepth 1 -name '*.go' ! -type d)" ]; then echo "$src is already a Go library" ; return 1 ; fi ; dirs=$(find $src -mindepth 1 -maxdepth 1 -type d) ; for dir in /home/deb/lede/staging_dir/target-mipsel_24kc_musl/usr/share/gocode/src does not exist, skipping symlinks touch /home/deb/lede/build_dir/target-mipsel_24kc_musl/kcptun-20200409/.configured_68b329da9893e34099c7d8ad5cb9c940 Building targets Cleaning module download cache (golang/go#27455) Makefile:61: recipe for target '/home/deb/lede/build_dir/target-mipsel_24kc_musl/kcptun-20200409/.built' failed |
其实解决也简单,执行以下2行即可 |
最近编译固件的时候总是报同样一个错误,真的不知道该怎么解决这个错误。
好像这个makefiles文件是在编译过程的时候自动生成的,并不是L大源码里面自带的文件,编译倒到这里提示第37行,缺少空格符,以下是错误代码:
Makefiles:37 ***missing separator. stop.
make[3]: *** [/home/angel/lede/build_dir/target-mipsel_24kc_musl/u-boot-2020.04/ .built] Error 2
make[2]: *** [package/boot/uboot-envtools/compile] Error 2
make[1]: *** [/home/angel/lede/build_dir/target-mipsel_24kc_musl/stamp/.package_compile] Error 2
make: *** [world] Error 2
The text was updated successfully, but these errors were encountered: