Hi I have already added config_site.h file,still i am getting above error. After reading few documents on internet about android toolchain found that this is the error with android toolchain which is having problem in reading filepath starting with /cygdrive I found following error in my config.log file /cygdrive/d/Development/android-ndk-r9d/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-gcc -V >&5 *arm-linux-androideabi-gcc.exe: error: unrecognized option '-V'* arm-linux-androideabi-gcc.exe: fatal error: no input files compilation terminated. 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 On Wed, May 7, 2014 at 5:11 PM, Swapnil Desai <swapnil.desai at aahlaad.com>wrote: > 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/20140509/bcb1a306/attachment.html>