ERROR:
../libtool: eval: line 950: syntax error near unexpected token `|’
You can ignore the line number, it depends on which program you are compiling. After some debugging, I find out that it looks like this was being caused by NM not being defined. Appears that it was being concatenated with a number of other commands within Libtool. When NM evaluated to nothing, this resulted in the syntax error mentioned above.
To fix execute the following command:
export NM=nm
And then execute ./configure again.
=============================
本文提供了解决Libtool编译时遇到的语法错误的方法,该错误由NM未被定义引起。通过执行简单的命令修复问题,重新执行./configure即可解决问题。
5911

被折叠的 条评论
为什么被折叠?



