help compiling pjsip 1.55 for iphone sdk 4.0

102 views
Skip to first unread message

david parcerisa

unread,
Jun 15, 2010, 1:10:56 PM6/15/10
to Siphon
I have tried to compile from pjsip branch/project/iphone because I
thought that it will be easy than to patch all that files from the
trunk.

But I get this error when I'm trying to compile :

../src/pjmedia-audiodev/errno.c:23:26: error: portaudio.h: No such
file or directory
../src/pjmedia-audiodev/errno.c: In function
‘pjmedia_audiodev_strerror’:
../src/pjmedia-audiodev/errno.c:104: warning: implicit declaration of
function ‘Pa_GetErrorText’
make[2]: *** [output/pjmedia-audiodev-arm-apple-darwin10/errno.o]
Error 1
make[1]: *** [pjmedia-audiodev] Error 2
make: *** [all] Error 1

anyone have had success compiling pjsip for SDK 4.0? there is any way
that this libraries could be pre-compiled and online for download?

Samuel Vinson

unread,
Jun 15, 2010, 3:42:54 PM6/15/10
to sip...@googlegroups.com
the pjsip iphone branch is obsolete. Pjsip team integrated their work in trunk.

Samuel

2010/6/15 david parcerisa <dparc...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "Siphon" group.
To post to this group, send email to sip...@googlegroups.com.
To unsubscribe from this group, send email to siphon+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/siphon?hl=en.


david parcerisa

unread,
Jun 16, 2010, 12:43:09 PM6/16/10
to Siphon
well I've tried to compile from the trunk and I got the same error.

On Jun 15, 9:42 pm, Samuel Vinson <samuelv0...@gmail.com> wrote:
> the pjsip iphone branch is obsolete. Pjsip team integrated their work in
> trunk.
>
> Samuel
>
> 2010/6/15 david parcerisa <dparcer...@gmail.com>
>
>
>
> > I have tried to compile from pjsip branch/project/iphone because I
> > thought that it will be easy than to patch all that files from the
> > trunk.
>
> > But I get this error when I'm trying to compile :
>
> > ../src/pjmedia-audiodev/errno.c:23:26: error: portaudio.h: No such
> > file or directory
> > ../src/pjmedia-audiodev/errno.c: In function
> > ‘pjmedia_audiodev_strerror’:
> > ../src/pjmedia-audiodev/errno.c:104: warning: implicit declaration of
> > function ‘Pa_GetErrorText’
> > make[2]: *** [output/pjmedia-audiodev-arm-apple-darwin10/errno.o]
> > Error 1
> > make[1]: *** [pjmedia-audiodev] Error 2
> > make: *** [all] Error 1
>
> > anyone have had success compiling pjsip for SDK 4.0? there is any way
> > that this libraries could be pre-compiled and online for download?
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Siphon" group.
> > To post to this group, send email to sip...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > siphon+un...@googlegroups.com<siphon%2Bunsu...@googlegroups.com>
> > .

david parcerisa

unread,
Jun 16, 2010, 1:23:19 PM6/16/10
to Siphon
Right now instead of using the configure-iphone method I use the
conversion files I found in this link :

http://www.piemontewireless.net/PJSip155_and_iPhoneSDK312#Compilation

using the trunk 1.60 and sdk 4.0 I got the following error when I do
make:

make[2]: *** [../lib/libpj-arm-apple-darwin10.a] Error 1
make[1]: *** [pjlib] Error 2
make: *** [all] Error 1

I really dont know what to do.

I dont know if this will help but it is my only difference between
the link and what I'm using :

export DEV=/Developer/4.0/Platforms/iPhoneOS.platform/Developer
export SDK=${DEV}/SDKs/iPhoneOS4.0.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"

cd ${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


./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

david parcerisa

unread,
Jun 17, 2010, 3:32:21 AM6/17/10
to Siphon
Well finally I got compiled PJSip using this link :
http://trac.pjsip.org/repos/wiki/Getting-Started/iPhone

I don't know if this will work nice with siphon, because there is no
reference to iphonesound.c
Reply all
Reply to author
Forward
0 new messages