ARM and Endianness for iOS

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

 



I'm getting the following error in Xcode when trying to upgrade an iOS project to the latest 1.x branch from 1.8.10-trunk. 

"Endianness must be declared for this processor"

I noticed in r3766, ARM was changed to require one of the constants to be set:

https://trac.pjsip.org/repos/changeset/3766

But I can't seem to find where to set this. My config_site.h looks like this currently:

#define PJ_CONFIG_IPHONE 1
#define PJ_IS_BIG_ENDIAN 0
#define PJ_IS_LITTLE_ENDIAN 1
#include <pj/config_site_sample.h>

The above doesn't seem to matter when I build in Xcode. I've done the following:

./configure-iphone --disable-speex-codec --host=arm-apple-darwin10
make clean
make dep
make
Do a clean in Xcode
Do a build in Xcode


I suppose I could just edit config.h to set PJ_IS_LITTLE_ENDIAN, but I wanted to avoid editing the library to simplify upgrading in the future. I have a feeling there's a sensible place to be setting this that I'm missing. Can anyone help?

Also, is there a PJSIP IRC channel? I didn't see one on freenode... 

-Justin

Justin Campbell
Developer

(484) 580-9277
jcampbell at movitas.com (mailto:jcampbell at movitas.com)
  


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111118/95e7e54c/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