Ubuntu16.04下make all编译caffe时recipe for target '.build_release/.linked' failed
2017-08-30 19:18
519 查看
Ubuntu16.04下make all编译caffe时报错
在github上clone下来的代码在终端输入$ make all
可能出现的错误如下:
ln: failed to create symbolic link ‘build’: Function not implemented
Makefile:556: recipe for target ‘.build_release/.linked’ failed
make: * [.build_release/.linked] Error 1
参考了kiwi的博客的回答,原因可能是:caffe在编译的时候,要用ln去建立一些软链接。而我习惯将源码解压到共享盘(Ubuntu和windows都可访问)再编译,链接过程可能会因为磁盘环境而造成不必要的困扰。
所以按kiwi的建议 ,作为新手对于下载的源码等(例如linux内核,yaffs,busybox等),不要在shared files 目录下解压,容易出现一些比较奇怪的问题,特别对于我们这些初学者,直接copy到linux其他未共享的目录下解压即可(比如Ubuntu下的documents等目录)。
在github上clone下来的代码在终端输入$ make all
可能出现的错误如下:
ln: failed to create symbolic link ‘build’: Function not implemented
Makefile:556: recipe for target ‘.build_release/.linked’ failed
make: * [.build_release/.linked] Error 1
参考了kiwi的博客的回答,原因可能是:caffe在编译的时候,要用ln去建立一些软链接。而我习惯将源码解压到共享盘(Ubuntu和windows都可访问)再编译,链接过程可能会因为磁盘环境而造成不必要的困扰。
所以按kiwi的建议 ,作为新手对于下载的源码等(例如linux内核,yaffs,busybox等),不要在shared files 目录下解压,容易出现一些比较奇怪的问题,特别对于我们这些初学者,直接copy到linux其他未共享的目录下解压即可(比如Ubuntu下的documents等目录)。
相关文章推荐
- Caffe编译出现:Makefile:603: recipe for target '.build_release/lib/libcaffe-nv.so.0.16.6' failed
- caffe编译出现:Makefile:657: recipe for target '.build_release/tools/convert_imageset.bin' failed
- Makefile:589: recipe for target '.build_release/src/caffe/proto/caffe.pb.o' failed
- 编译BusyBox时scripts/Makefile.build:197: recipe for target 'loginutils/passwd.o' failed
- make: execvp: /usr/local/cuda: 权限不够 Makefile:588: recipe for target '.build_release/cuda/src/caffe/l
- ubuntu16.04下编译caffe出现.build_release/lib/libcaffe.so: undefined reference to google ::protobuf...的问题
- Osmocombb项目编译GnuArmToolchain中的GCC4.5.2时遇到recipe for target 'doc/cpp.info' failed(texinfo)错误的解决方法
- 编译ROS的package包出错,提示recipe for target 'all' failed
- Makefile:160: recipe for target 'all' failed (Ubuntu 16.06 + Opencv3.2)解决办法
- Makefile:134007: recipe for target '.obj/release-shared/qimage_neon.o' failed
- Ubuntu16.04下 caffe make all时报错:make: *** [.build_release/lib/libcaffe.so] Error 1
- 交叉编译openssh出现错误Makefile:548: recipe for target 'install_sw' failed
- [7]_编译内核错误提示2:recipe for target 'kernel/timeconst.h' failed 和 "mkimage" command not found - U-Boot
- 编译busybox时使用make menuconfig命令出现下列问题:recipe for target 'scripts/kconfig/lxdialog/checklist.o' failed
- ubuntu 16.04+Caffe:build_release/lib/libcaffe.so:对‘google::protobuf:
- Apache2 安装错误 recipe for target 'all-recursive' failed
- 编译出现警告Makefile.Release:122: 警告:overriding commands for target `temp/moc/moc_frmcalibrationtool.cpp'
- 【caffe install】recipe for target 'xxx' failed
- Error:Execution failed for task ':app:transformClassesWithJarMergingForRelease'. > com.android.build
- Makefile:2203: recipe for target 's-attrtab' failed