cross-compiling error

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

 



Hi,

Please, see below...

> I've found the solution to compile PJSIP using the ARM toolchain,
> please see below:
>
> 1 step:
> ./configure --host=arm-linux
>
> In file "build.mak" generated, you have to change the label "auto" to
> "arm":
>
> export MACHINE_NAME := arm
>
> in build/m-arm.mak :
> export M_CFLAGS := $(CC_DEF)PJ_M_ARMV4=1
> you have to add the option:
> -msoft-float -fno-builtin, so:
>
> export M_CFLAGS := $(CC_DEF)PJ_M_ARMV4=1 -msoft-float -fno-builtin
>
> and finally:
>
> make distclean
> make dep
> make

Hope this helps

Cesar

2008/1/28, chethana hegde <hegdechethana at yahoo.com>:
> hello benny,
>
> I tried compiling svn version updated on 27/01/2008.
> ./configure was not writing any thing to os_auto.h .
> so i manually defined all the macros in os_auto.h .
> Now some how it is working fine with i686 pc ......
>
> Then i tried crosscompiling on to ARM target and again manully defined all
> the macros in os_auto.h but getting an error:
>
> ifaddrs.h :no such file or directory in
> /pjlib/include/pj/compat/socket.h.
>
> I am finding a file name ifaddrs.h  in /usr/include of my system,do i have
> to set this path where ever ifaddrs is included in aconfigure and socket.h
> file as below:
>
> #include </user/include/ifaddrs.h>
>
> Could u please help
>
> Regards
> Chethana hegde
>
> ________________________________
> Never miss a thing. Make Yahoo your homepage.
>
>
> _______________________________________________
> 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
>
>



[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