Makefile执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.
来源:互联网 发布:科尔盖特大学 知乎 编辑:程序博客网 时间:2024/06/05 16:48
在一个开源软件上添加自己的代码(文件夹中,相对独立的功能),
修改Makefile.am后,编译报错:
Makefile执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.
在csdn搜到一些帖子:
http://blog.csdn.net/vblittleboy/article/details/21012991
http://blog.csdn.net/roserose0002/article/details/38397537
一个是因为不可见空格字符,一个是因为路径错误,都是Makefile书写文件
自己检查自己的Makefile.am,很久很久,才突然想起来关于tab和空格不通用的问题
把实际编译的命令行前的8个空格删除,换成了tab,立刻成功。
希望对朋友有用!
阅读全文
0 0
- Makefile执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.
- Makefile执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.
- Qt 程序构建执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.
- make: *** No rule to make target ' ', needed by ' '. Stop.
- Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop
- Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop
- Makefile常见错误解析 - make: *** No rule to make target 'test1.o', needed by 'test2'. Stop
- *** No rule to make target `xxx1', needed by `xxx2'. Stop
- Makefile笔记01之error:"No rule to make target 'count_words', needed by '-lfl'. Stop."
- Qt错误 No rule to make target needed by 'Makefile'
- Qt错误 No rule to make target needed by 'Makefile'
- QT 编译出现问题:error: No rule to make target '../../xxx.pro', needed by 'Makefile'.
- cocos2dx make ***no rule to make target ....x.cpp needed by obj/..../xx.o .stop
- make: *** No rule to make target `build', needed by `default'. Stop.
- nginx 安装时候报错:make: *** No rule to make target `build', needed by `default'. Stop.
- 【错误】 no rule make target '../new/new_pro',needed by 'Makefile'.stop
- u-boot 編譯時錯誤No rule to make target `hello_world.srec', needed by `all'. Stop
- error: No rule to make target `XXXX.ui', needed by 'ui_XXX.h' Stop
- github|fatal:unable to access|OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com 443
- Ctrl+H 浪潮Raid配置文档
- 好用的图标插件 Font Awesome
- 决策树小结
- 用线程解决简单的两车相遇
- Makefile执行过程中出错:make: *** No rule to make target ` ‘, needed by xxx. Stop.
- html5中canvas元素使用
- Eslint规则
- 微信扫码支付--模式一
- FreeRTOS学习笔记三
- 链表中倒数第k个结点
- js手机端判断滑动还是点击
- 机器学习之朴素贝叶斯(四)
- 打乱数组排序