linphone - 构建时出错:未定义的引用

linphone - error when build: undefined reference

我在 ubuntu 14.04 上构建了 linphone-android(我使用来自主页的源代码)并遇到了一些麻烦。他们在这里:


/home/com08/linphone-android//jni/..//submodules/msamr/src/msamr.c:42: error: undefined reference to 'opencore_amr_wrapper_init'

/home/com08/linphone-android//jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:30: error: undefined reference to 'my_GSMInitDecode'

/home/com08/linphone-android//jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:35: error: undefined reference to 'my_GSMDecodeFrameExit'

/home/com08/linphone-android//jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:44: error: undefined reference to 'my_AMRDecode'

/home/com08/linphone-android//jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:56: error: undefined reference to 'my_AMREncodeInit'

/home/com08/linphone-android//jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:62: error: undefined reference to 'my_AMREncodeExit'

/home/com08/linphone-android//jni/..//submodules/externals/build/opencore-amr/../../opencore-amr/amrnb/wrapper.cpp:69: error: undefined reference to 'my_AMREncode'


我收到这个错误好几天了,但我无法修复它们。你有什么想法?我已经安装了 libxml2-dev。 谢谢。

我终于可以毫无错误地构建 i 了: (p.s:我在项目文件夹中完成。使用cd /your/path/to/linphone-android