unable to infer tagged configuration編譯報錯

編譯報錯unable to infer tagged configuration

First, I couldn't configure without errors so I reinstalled apache apr. Now, I can configure but when I run make, I get this error:

libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'

研究發現是由於在configure階段,根據–host參數選擇了適用於mips-gcc產生的錯誤。
發現mips-gcc與gcc爲同一文件,此處報錯可能與編譯器的名字有關

解決方法一

libtool --tag=CC

解決方法二

./configure CC=gcc
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章