How to Compile Pjsip for Android

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

 



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.

*Config.log file shows:*

## ----------- ##
## Core tests. ##
## ----------- ##

aconfigure:1377: checking build system type
aconfigure:1395: result: i686-pc-linux-gnu
aconfigure:1403: checking host system type
aconfigure:1417: result: arm-unknown-eabi
aconfigure:1425: checking target system type
aconfigure:1439: result: arm-unknown-eabi
aconfigure:1475: checking for arm-eabi-gcc
aconfigure:1501: result: arm-eabi-gcc
aconfigure:1783: checking for C compiler version
aconfigure:1786: arm-eabi-gcc --version </dev/null >&5
./aconfigure: line 1787: arm-eabi-gcc: command not found
aconfigure:1789: $? = 127
aconfigure:1791: arm-eabi-gcc -v </dev/null >&5
./aconfigure: line 1792: arm-eabi-gcc: command not found
aconfigure:1794: $? = 127
aconfigure:1796: arm-eabi-gcc -V </dev/null >&5
./aconfigure: line 1797: arm-eabi-gcc: command not found
aconfigure:1799: $? = 127
aconfigure:1822: checking for C compiler default output file name
aconfigure:1825: arm-eabi-gcc -g  -nostdlib -Bdynamic
-Wl,-T,android-sdk-linux_x86-1.1_r1/build/core/armelf.x
-Wl,-dynamic-linker,/system/bin/linker -Wl,--gc-sections -Wl,-z,nocopyreloc
-Wl,--no-undefined
-Wl,-rpath-link=android-sdk-linux_x86-1.1_r1/out/target/product/generic/obj/lib
-Landroid-sdk-linux_x86-1.1_r1/out/target/product/generic/obj/lib
android-sdk-linux_x86-1.1_r1/out/target/product/generic/obj/lib/crtend_android.o
android-sdk-linux_x86-1.1_r1/out/target/product/generic/obj/lib/crtbegin_dynamic.o
android-sdk-linux_x86-1.1_r1/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/lib/gcc/arm-eabi/4.2.1/interwork/libgcc.a
-lc -lm -lm  -lssl -lcrypto -lmedia conftest.c  >&5
./aconfigure: line 1826: arm-eabi-gcc: command not found
aconfigure:1828: $? = 127
aconfigure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "pjproject"
| #define PACKAGE_TARNAME "pjproject"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "pjproject 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
aconfigure:1867: error: C compiler cannot create executables
See `config.log' for more details.
How can I resolve this particular issue.If you have any solution then please
suggest me.
Please also check the config.log file for more details, I have attached with
this email.

Thanks in advance.

Regards
buntee

On 11/5/09, Jurij Smakov <jurij at wooyd.org> wrote:
>
> On Thu, Nov 05, 2009 at 02:49:44PM +0530, buntee b wrote:
> > If anyone have any idea....Please reply to this post
>
> As someone already pointed out, your best bet is to have a
> look at http://android.wooyd.org. It provides patches and
> instructions on how to build PJSIP for the 1.0 Android
> release. Adapting it to work with the current firmware
> release (Donut) will require a bit of effort, as the audio
> API has changed.
>
> > Regards
> > buntee
> >
> > On 10/16/09, buntee b <b.buntee at gmail.com> wrote:
> > >
> > >
> > > Hi All
> > >
> > > I would like to employ the Pjsip on Android platform , is it
> > > possible?..... if yes then please suggest me
> > > the process.... how to complile pjsip for Android?
> > >
> > >
> > > Regards
> > > Buntee
> > >
>
> > _______________________________________________
> > Visit our blog: http://blog.pjsip.org
> >
> > pjsip mailing list
> > pjsip at lists.pjsip.org
> > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> --
> Jurij Smakov                                           jurij at wooyd.org
> Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091105/ff239cce/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 7209 bytes
Desc: not available
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20091105/ff239cce/attachment-0001.log>


[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