problem with endianness

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

 



Hi, 

I had similar problem with pjsip 0.7.0.  Seems like  portaudio  cannot auto detect the correct endianess.
U can try manually changing  pa_endianness.h (in pjsip\pjproject-0.7.0\third_party\portaudio\src\common\) to be little endian.

Or optionally, u can also disable the endianess checking in pa_front.c( in pjsip\pjproject-0.7.0\third_party\portaudio\src\common\) by commenting out PA_VALIDATE_ENDIANNESS in Pa_Initialize(). It'll run but this might be dangerous though.

hope it helps,
Nigel


Date: Wed, 2 Jan 2008 01:29:37 -0800
From: anitharaj_2000@xxxxxxxxx
To: pjsip at lists.pjsip.org
Subject: problem with endianness

hello ,
 I got pjsua to work fine on Linux pc ,so now i am trying to cross compile it on ARM processor:
These are the steps iam using to cross compile  
1>>CC=arm-linux-gnu-gcc ./configure --host=arm --target=arm  2>>Then did some changes in build.mak:  export MACHINE_NAME := arm
export OS_NAME := linux
export HOST_NAME := unix
export CC_NAME := gcc
export TARGET_NAME := arm-unknown-linux
export CROSS_COMPILE := arm-linux-gnu-
export LINUX_POLL := select  3>>then edited  pjlib/include/pj/config.h. as follows: 
      ...
#elif defined (PJ_M_ARMV4) && PJ_M_ARMV4 != 0
#   include <pj/compat/m_armv4.h>  
4>> then gave 
make dep && make  the compilation was done properly but while running the executable on the arm target
their is an assert that triggers pa_front.c, line
 352:
> 
>  PA_VALIDATE_ENDIANNESS
>   Iam using pjproject-0.7.0 release...
Can any body help me please....ASAP     thanks  Anitha 
      Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080103/b39e159f/attachment.html 


[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