[pjsip] How to Compile Pjsip for Android
Jurij Smakov
jurij at wooyd.org
Thu Nov 5 06:04:47 CST 2009
On Thu, Nov 05, 2009 at 05:04:21PM +0530, buntee b wrote:
> Thanks for reply
>
> I am using the Android 1.0 and tried the Voidroid project (
> http://android.wooyd.org/) but I got some error during the compilation
> process.
>
> When I used the step 6 according to above link
> [Download the build-voidroid script and run it to build the VoiDroid
> package:
> build-voidroid --android-dir ${ANDROID_DIR} --pjsip-dir ${PJSIP_DIR}
> --voidroid-dir ${VOIDROID_DIR}
> ]
>
> *After command: ./configure --host=arm-eabi , got following error*:
>
> 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-linux-gnu
> checking host system type... arm-unknown-eabi
> checking target system type... arm-unknown-eabi
> checking for arm-eabi-gcc... arm-eabi-gcc
> checking for C compiler default output file name... aconfigure: error:
> C compiler cannot create executables
> See `config.log' for more details.
Either you are giving it the wrong ANDROID_DIR directory, or something is
wrong with your git checkout, as it cannot find the compiler. For compilation
to work it should be here (build-voidroid script sets up the PATH environment
variable appropriately):
${ANDROID_DIR}/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-gcc
--
Jurij Smakov jurij at wooyd.org
Key: http://www.wooyd.org/pgpkey/ KeyID: C99E03CC
More information about the pjsip
mailing list