makefile:2: *** missing separator. Stop. make 之后出现的错误,解决方法
来源:互联网 发布:linux硬盘分区命令 编辑:程序博客网 时间:2024/06/17 20:32
问题
今天建立了个个helloworld.c 以及Makefile文件.
hellworld.c 中内容如下:
#include<stdio.h>int main(){printf("hello world\n");return 0;}
Makefile中的内容如下:
hello:helloword.c gcc -o hello helloword.c
然后 make 出现如下错误:
makefile:2: *** missing separator. Stop.
整体效果如图下代码所示:
root@ubuntu:~/lesson/chap1/1-1# lshelloword.c makefileroot@ubuntu:~/lesson/chap1/1-1# makemakefile:2: *** missing separator. Stop.
解决方法
在gcc -o hello helloword.c
前面用TAB键,而不是空格空格空格….
阅读全文
0 0
- makefile:2: *** missing separator. Stop. make 之后出现的错误,解决方法
- Ubuntu下使用vim编写makefile文件出现错误 "makefile: *** missing separator. stop ."的解决办法
- Makefile:2:*** missing separator. Stop
- Makefile:2:*** missing separator. Stop.
- Makefile:2: missing separator. Stop.
- Makefile:2:*** missing separator. Stop
- make时的低级错误: missing separator stop
- makefile 文件错误*** missing separator. Stop.
- makefile 中 *** missing separator. Stop. 错误
- makefile: *** missing separator. Stop
- caffe: make all j4 错误:Makefile.config:95: *** missing separator. Stop.
- Makefile:2: *** missing separator. Stop. 解决方案
- gedit写Makefile出现Makefile:16: *** missing separator. Stop
- linux makefile 错误makefile:3: *** missing separator. Stop.
- Makefile:3: *** missing separator. Stop.
- "makefile:5: *** missing separator. Stop."
- Makefile:3: *** missing separator. Stop.
- Makefile:13: *** missing separator. Stop.
- 运行百度地图demo过程及问题
- NOIP2012Day2T1同余方程解题报告以及扩展欧几里得讲解
- python爬虫——用selenium和phantomjs对新浪微博PC端进行爬取(二)
- Dubbo+Zookeeper+Spring mvc+Nginx 集群负载均衡 详细demo
- 解读Batch Normalization
- makefile:2: *** missing separator. Stop. make 之后出现的错误,解决方法
- 关于python中phantomjs无法访问网页的处理
- (一) MySQL 性能优化 基础之索引概念
- (二) MySQL 优化
- HBase CURD之Get
- java 员工管理系统
- (三) MySQL 全文索引(mysqlcft)支持中文的插件安装使用
- Spring batch 第 1 部分:使用 Spring Batch 构建企业级批处理应用
- (四) MYSQL全文索引 sphinx + coreseek 支持中文