編譯報錯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