编译内核出现错误提示:line 0:syntax error near unexpected token '('

编译内核出现错误提示:/bin/sh: -c :line 0:syntax error near unexpected token '('

参考资料如下:

Why do I receive the message "/usr/bin/sh: -c: line 0: syntax error near unexpected token `(' and /usr/bin/sh: -c: line 0: `. c:/altera/72/quartus/sopc_builder/bin/nios_sh " when I try to generate my SOPC Builder system?

说明

You may receive the following message if your project is located in a directory with any parenthesis in the name.

Info:     Info: Elapsed time: 00:00:00
Info: Starting PTF file elaboration.
/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `. c:/altera/72/quartus/sopc_builder/bin/nios_sh ;

Make sure your project is located in a directory without any parenthesis (  ) in the name. You can rename the directory to use a symbol such as the underscore "_" as a place holder instead of parenthesis (For example, mydesign_s).


即,将目录名的()去掉。

你可能感兴趣的:(Linux相关,学习笔记及疑问)