/libtool: eval: line 964: syntax error near unexpected token `|’

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.

=============================

http://rogeriomoraes.com/wp/?p=37

posted @ 2012-11-06 20:58  夏至冬末  阅读(1264)  评论(0编辑  收藏  举报