An error occurred when executing the “make” command after creating the Makefile:
makefile:3: *** missing separator. Stop.
the reason:
The front of gcc needs to be separated by the tab key, and 4 spaces cannot be used instead.
Solution:
Add in the ~/.vimrc file:
set tabstop = 4 // Set the tab key to 4 spaces set noexpandtab // Do not replace the tab key with spaces
After setting up, if you modify the spaces on the basis of the original Makefile file, there may still be errors:
Rewrite the Makefile after deleting it.
Similar Posts:
- The solution to the problem of unified does not match any outer indentation level in pychar platform
- [Solved] Ruby cannot load such file — zlib, openssl(LoadError), gem No rule to make target `/include/ruby.h’
- How to Solve Error: Request failed with status code 500
- GVIM configuration file (_ User defined configuration (no plug-in) record of vimrc
- [733]TabError: inconsistent use of tabs and spaces in indentation
- Solution of syntax error: invalid character in identifier when writing Python code
- file_get_contents failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request
- [Solved] Dom4j parsing XML file error: invalid XML character (Unicode: 0x8)
- MySQL: invisible empty symbol char (9) char (10) char (13)
- cc1plus: warnings being treated as errors