构建 cSipSimple 源代码时出错
Error while building cSipSimple source
我正在尝试为 android 构建 cSipSimple 源代码。我想,我遵循了 cSipSimple how to build wiki page 中描述的步骤。但不幸的是,我遇到了一个 make 错误。这是命令日志信息。
Now at patch 001toolchain_static_lib.diff
cd build/armeabi; \
if [ "build/armeabi/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv5te-android-gcc; fi; \
if [ "build/armeabi-v7a/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv7-android-gcc; fi; \
if [ "build/x86/config.mk" = "build/armeabi/config.mk" ]; then TGT=x86-android-gcc; fi; \
if [ "build/mips/config.mk" = "build/armeabi/config.mk" ]; then TGT=mips32-android-gcc; fi; \
BUILD_PFX=jni/libvpx/build/armeabi/ ../../sources/configure --target=$TGT --disable-examples --sdk-path=
Not a directory:
Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.err) to determine what
configure was trying to do when it died.
make[1]: *** [build/armeabi/config.mk] Error 1
make[1]: Leaving directory `/home/alexchengalan/android/files/CSipSimple-trunk/CSipSimple/jni/libvpx'
make: *** [jni/libvpx/sources] Error 2
我认为上面--disable-examples --sdk-path=
Not a directory:
上指出的错误。但是不知道是什么意思
我还在 .bashrc 文件中添加了以下行
export ANDROID_NDK=/home/alexchengalan/android/files/android-ndk-r10d/
export ANDROID_SDK=/home/alexchengalan/android/files/android-sdk-linux/
export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$ANDROID_NDK
如果有人能帮我解决这个问题就好了。
终于找到我的问题所在了。我需要将以下行添加到 .bashrc
文件中。
export ANDROID_HOME=/..your sdk path.../android-sdk-linux
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools
我正在尝试为 android 构建 cSipSimple 源代码。我想,我遵循了 cSipSimple how to build wiki page 中描述的步骤。但不幸的是,我遇到了一个 make 错误。这是命令日志信息。
Now at patch 001toolchain_static_lib.diff
cd build/armeabi; \
if [ "build/armeabi/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv5te-android-gcc; fi; \
if [ "build/armeabi-v7a/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv7-android-gcc; fi; \
if [ "build/x86/config.mk" = "build/armeabi/config.mk" ]; then TGT=x86-android-gcc; fi; \
if [ "build/mips/config.mk" = "build/armeabi/config.mk" ]; then TGT=mips32-android-gcc; fi; \
BUILD_PFX=jni/libvpx/build/armeabi/ ../../sources/configure --target=$TGT --disable-examples --sdk-path=
Not a directory:
Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.err) to determine what
configure was trying to do when it died.
make[1]: *** [build/armeabi/config.mk] Error 1
make[1]: Leaving directory `/home/alexchengalan/android/files/CSipSimple-trunk/CSipSimple/jni/libvpx'
make: *** [jni/libvpx/sources] Error 2
我认为上面--disable-examples --sdk-path=
Not a directory:
上指出的错误。但是不知道是什么意思
我还在 .bashrc 文件中添加了以下行
export ANDROID_NDK=/home/alexchengalan/android/files/android-ndk-r10d/
export ANDROID_SDK=/home/alexchengalan/android/files/android-sdk-linux/
export PATH=$PATH:$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$ANDROID_NDK
如果有人能帮我解决这个问题就好了。
终于找到我的问题所在了。我需要将以下行添加到 .bashrc
文件中。
export ANDROID_HOME=/..your sdk path.../android-sdk-linux
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools