Hi Justin, We add the endianness auto detection in r3820. Don't forget to re-run the configure and from XCode, you'll need to define PJ_AUTOCONF=1 Best regards, Ming On Sat, Nov 19, 2011 at 3:14 AM, Justin Campbell <jcampbell at movitas.com>wrote: > 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 > <http://www.movitas.com/> > (484) 580-9277 > jcampbell at movitas.com > <jcampbell at movitas.com> <http://www.linkedin.com/in/cmsjustin> <http://twitter.com/JustinCampbell> > <http://blog.movitas.com/> > > _______________________________________________ > 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/20111119/4a20eb48/attachment.html>