Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 05-09-2010, 12:42 PM   #1 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 1
ch3mz is on a distinguished road
Default PJSIP compilation for 3.2 SDK

Hello,

I try to compile the pjsip lib for iphone SDK 3.2, but I get an error which I have no solution.

Code:
export DEV=/Developer/Platforms/iPhoneOS.platform/Developer
export SDK=${DEV}/SDKs/iPhoneOS3.2.sdk

export PATH=${DEV}/usr/bin:${PATH}
export CFLAGS="-O2 -arch armv6 -isysroot ${SDK}"
export LDFLAGS="-O2 -arch armv6 -isysroot ${SDK}"
export CPP="${DEV}/usr/bin/cpp"

pushd ${DEV}/usr/bin
ln -s arm-apple-darwin10-gcc-4.0.1 arm-apple-darwin10-gcc
ln -s arm-apple-darwin10-g++-4.0.1 arm-apple-darwin10-g++
ln -s ranlib arm-apple-darwin10-ranlib
popd


./aconfigure --host=arm-apple-darwin10 --disable-speex-aec \
--disable-speex-codec --disable-l16-codec --disable-g722-codec \
--disable-ilbc-codec --disable-ssl
make dep
make
I Get :

Code:
In file included from ../include/pj/log.h:29,
                 from ../src/pj/ioqueue_select.c:32:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory
In file included from ../src/pj/ioqueue_select.c:32:
../include/pj/log.h:144: error: syntax error before ‘va_list’
make[2]: *** [output/pjlib-arm-apple-darwin10/ioqueue_select.o] Error 1
make[1]: *** [pjlib] Error 2
make: *** [all] Error 1
Have you succeed to compilier for this version?

Thanks
ch3mz is offline   Reply With Quote
Reply

Bookmarks

Tags
3.2 sdk, development, iphone, pjsip, sdk

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 323
14 members and 309 guests
Abidullah, baja_yu, cgokey, Duncan C, Fstuff, gbenna, guusleijsten, jbro, mdpauley, n00b, newDev, Sami Gh, seokwon lee, Steven.C
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,648
Threads: 94,113
Posts: 402,877
Top Poster: BrianSlick (7,990)
Welcome to our newest member, brandon6031
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 07:43 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0