1

我正在尝试在 Mac Mountain Lion 上编译 linphone-iphone 模块。Xcode 4.5 版。

我按照以下链接http://shallwelearn.com/blog/?p=6中给出的步骤进行操作。

我成功越过了第4步。

在 Step5 中,我执行了命令

    “make -f builder-iphone-simulator.mk all && make -f builder-iphone-os.mk all 
&&make -f builder-iphone-os.mk delivery-sdk”

我收到以下错误:

checking whether res_ndestroy is declared… yes
checking for antlr3… no
configure: error: Could not find antlr.jar. Please install antlr3
make[1]: *** [/Hub/SIP_Implementation/IOS/workspace/linphone-iphone/submodules/build/../build-i386-apple-darwin/belle-sip/Makefile] Error 1
make: *** [build] Error 2

所以我下载了 antlr.jar(version-3.5) 并添加了类路径。但我仍然遇到同样的错误。有人可以帮我解决这个问题吗?

4

1 回答 1

5

最后我通过执行“sudo port install antlr3”命令解决了这个问题。

执行此命令后,我执行“make all”。它正在建设中没有错误

于 2013-08-02T04:31:51.983 回答