Not able to build Pjsip for android.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

Hi i am using the following link to build PJSip library for android.I am
using windows-8 machine.

PJSip for android<https://trac.pjsip.org/repos/wiki/Getting-Started/Android>
 (https://trac.pjsip.org/repos/wiki/Getting-Started/Android)

I have installed *Cygwin 1.7.29* and android NDK *android-ndk-r9d*.

When i run *configure-android* command i am getting following error,May be
because of the cross compiler GCC used in android toolchain. Can anybody
help me to resolve this issue?

Error message is marked in red color.

 ./configure-android

configure-android: APP_PLATFORM not specified, using android-19

configure-android: TARGET_ABI not specified, using armeabi

configure-android: calling ./configure with env vars:

 CC =
/cygdrive/d/Development/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/bin/arm-linux-androideabi-gcc

 CXX =
/cygdrive/d/Development/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/bin/arm-linux-androideabi-g++

 CFLAGS =
 -I/cygdrive/d/Development/android-ndk-r9d/platforms/android-19/arch-arm/usr/include
-I/cygdrive/d/Development/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include
-I/cygdrive/d/Development/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include

 CXXFLAGS =  -shared
--sysroot=/cygdrive/d/Development/android-ndk-r9d/platforms/android-19/arch-arm
-fexceptions -frtti

 LDFLAGS =  -nostdlib
-L/cygdrive/d/Development/android-ndk-r9d/platforms/android-19/arch-arm/usr/lib/
-L/cygdrive/d/Development/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/

 LIBS =
/cygdrive/d/Development/android-ndk-r9d/platforms/android-19/arch-arm/usr/lib/crtbegin_so.o
-lgnustl_static  -lc -lgcc

 AR =
/cygdrive/d/Development/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/bin/arm-linux-androideabi-ar

 RANLIB =
/cygdrive/d/Development/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/bin/arm-linux-androideabi-ranlib

aconfigure: WARNING: if you wanted to set the --build type, don't use
--host.

    If a cross compiler is detected then cross compile mode will be used

checking build system type... i686-pc-cygwin

checking host system type... arm-unknown-linux-androideabi

checking target system type... arm-unknown-linux-androideabi

checking for arm-linux-androideabi-gcc...
/cygdrive/d/Development/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/windows/bin/arm-linux-androideabi-gcc

checking whether the C compiler works... no

aconfigure: error: in `/cygdrive/i/PJsipsvn':

aconfigure: error: C compiler cannot create executables

See `config.log' for more details

Thanks and Regards
Swapnil Desai,
Senior Software Consultant,
AAHLAAD/Software,
#7, 2nd Floor, 10th main, Jeevan Bheema nagar main road,
off Indiranagar 80ft road, Bangalore 560075, India
ph: 7411572134/9738480117
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140507/0088b0d5/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux