[embedded]../libtool: eval: line

2017-3-10 写技术

There is an 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.


Solution:

export NM=nm

标签: embedded

发表评论:

Powered by anycle 湘ICP备15001973号-1