building for arm

[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

rgs

Cesar


2008/1/29, Robin Lobo <lobo.robin at yahoo.com>:
>
> Hello,
>
> I  am very new to PJSIP . i checked out the latest version from pjsip.org .
> http://svn.pjsip.org/repos/pjproject/trunk/
> I was able to compile the code for linux pc. Now i am building it for ARM9.
> during build iam getting the following error ...
>
> In file included from ../src/pj/ioqueue_select.c:37:
> ../include/pj/compat/socket.h:106:24: ifaddrs.h: No such
> file or directory
> In file included from ../src/pj/addr_resolv_sock.c:24:
> ../include/pj/compat/socket.h:106:24: ifaddrs.h: No such
> file or directory
> In file included from ../src/pj/sock_bsd.c:23:
> ../include/pj/compat/socket.h:106:24: ifaddrs.h: No such
> file or directory
> In file included from ../src/pj/sock_select.c:20:
> ../include/pj/compat/socket.h:106:24: ifaddrs.h: No such
> file or directory
> In file included from ../src/pj/ip_helper_generic.c:24:
> ../include/pj/compat/socket.h:106:24: ifaddrs.h: No such
> file or directory
> In file included from ../src/pj/sock_common.c:26:
> ../include/pj/compat/socket.h:106:24: ifaddrs.h: No such
> file or directory
>  I tried debugging it ..but i am not able to find the solution....
> Where do i find this ifaddrs.h file ....
>
> Can any body help me ...
>
> Thanks
> Robin lobo
>
> ________________________________
> Looking for last minute shopping deals? Find them fast with Yahoo! Search.
> _______________________________________________
> 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