Hi,I wanted to point out that I have added these flags when running aconfigure, including the -isysroot flag. Is it the 'AudioQueue' framework or the 'CoreAudio' framework because I don't think there is 'AudioQueue' framework. And I did run 'autoconf' and added the 'CoreAudio', 'CoreFoundation' and 'AudioToolbox' frameworks on the configure.ac file. How do I add / link to the AudioQueue framework if there is one? On Tue, Sep 30, 2008 at 12:02 AM, w zl <wwzhdo at yahoo.com> wrote: > Hi, > > when you compile the library you want to add > export CFLAGS += -arch armv6 -pipe -fmessage-length=0 > -miphoneos-version-min=2.0 -mthumb -isysroot > /Developer/Platforms/iPhoneOS.platform/Developer/SD > Ks/iPhoneOS2.0.sdk > export LDFLAGS += -arch armv6 > Normally I put into user.mak > > When you compile the application, you need add AudioQueue framework. > > The library and application should work on OS 2.x as well. > > > --- On *Mon, 9/29/08, pjsip-request at lists.pjsip.org < > pjsip-request at lists.pjsip.org>* wrote: > > From: pjsip-request@xxxxxxxxxxxxxxx <pjsip-request at lists.pjsip.org> > Subject: pjsip Digest, Vol 13, Issue 106 > To: pjsip at lists.pjsip.org > Date: Monday, September 29, 2008, 11:07 AM > > Send pjsip mailing list submissions to > pjsip at lists.pjsip.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > or, via email, send a message with subject or body 'help' to > pjsip-request at lists.pjsip.org > > You can reach the person managing the list at > pjsip-owner at lists.pjsip.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of pjsip digest..." > > > Today's Topics: > > 1. Re: Cross compiling pjsip for iPhone ARM (samuel.vinson) > 2. PJSUA with Flex and PyAMF ( Lucas Rosa Gal?go ) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 29 Sep 2008 18:48:07 +0200 (CEST) > From: "samuel.vinson" <samuelv@xxxxxxxxxxx> > Subject: Re: Cross compiling pjsip for iPhone ARM > To: pjsip list <pjsip at lists.pjsip.org> > Message-ID: <1713290.268371222706887356.JavaMail.www at wwinf8215> > Content-Type: text/plain; charset="utf-8" > > Hi Salman, > > You forgot to define framework. I think you forgot to add these inconfigure.ac, and to run autoconf. > You must to know the solution posted on code.google.com/p/siphon works on > iphone/ipod 1.1.X > but not on iphone 2. > > Greetings > > Samuel > > > > > > Message du 29/09/08 12:28 > > De : "Salman" > > A : "pjsip list" > > Copie ? : > > Objet : [pjsip] Cross compiling pjsip for iPhone ARM > > > > Hi, > > I was trying to compile pjsip for iPhone ARM on a Mac 10.5.5, and was > running into problems. Thanks to some people here, almost all those problems > have been sorted out except one. Here's what I have done so far.? > > 1) Took the instructions > from?http://code.google.com/p/siphon/wiki/Compilation > > 2) Configured the application with the following. Please note that > -isysroot is set to iphone SDK directory. ?? ? ? ./aconfigure > --host=arm-apple-darwin9 --disable-ssl --disable-speex-aec --disable-speex-codec > --disable-l16-codec --disable-g722-codec --disable-ilbc-codec > CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.0.1 > CFLAGS="-arch armv6 -pipe -O0 -isysroot > /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk -I > /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/usr/include/gcc/darwin/4.0" > LDFLAGS="-L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/IphoneOS2.0.sdk/usr/lib" > CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp > AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar > RANLIB=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ranlib > > > 3) Then I did make dep. Worked fine. > > > > 4) Now when I do make, everything compiles fine, but I get linker errors > when it tries to link. Following is a snip. > > ld warning: in > /System/Library/Frameworks//AudioToolbox.framework/AudioToolbox, missing > required architecture arm in file ld warning: in > /System/Library/Frameworks//CoreAudio.framework/CoreAudio, missing required > architecture arm in file ld warning: in > /System/Library/Frameworks//CoreFoundation.framework/CoreFoundation, missing > required architecture arm in file > > Undefined symbols: ??"_AudioQueuePause", referenced from:?? ? > ?_pjmedia_snd_stream_stop in libpjmedia-arm-apple-darwin9.a(ipodsound.o) ?? ? > ?_pjmedia_snd_stream_stop in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)??"_AudioQueueAllocateBuffer", > referenced from: ?? ? ?_pjmedia_snd_stream_start in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)?? ? ?_pjmedia_snd_stream_start in > libpjmedia-arm-apple-darwin9.a(ipodsound.o) ??"_AudioQueueStart", > referenced from:?? ? ?_pjmedia_snd_stream_start in > libpjmedia-arm-apple-darwin9.a(ipodsound.o) ?? ? ?_pjmedia_snd_stream_start in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)??"_AudioQueueDispose", > referenced from: ?? ? ?_pjmedia_snd_stream_close in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)?? ? ?_pjmedia_snd_stream_close in > libpjmedia-arm-apple-darwin9.a(ipodsound.o) ??"_AudioQueueStop", > referenced from:?? ? ?_pjmedia_snd_stream_close in > libpjmedia-arm-apple-darwin9.a(ipodsound.o) ?? ? ?_pjmedia_snd_stream_close in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)??"_AudioQueueNewOutput", > referenced from: ?? ? ?_pjmedia_snd_stream_start in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)??"_kCFRunLoopCommonModes", > referenced from: ?? ? ?_kCFRunLoopCommonModes$non_lazy_ptr in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)??"_AudioQueueSetProperty", > referenced from: ?? ? ?_pjmedia_snd_stream_start in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)??"_AudioQueueNewInput", > referenced from: ?? ? ?_pjmedia_snd_stream_start in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)??"_AudioQueueEnqueueBuffer", > referenced from: ?? ? ?_playAQBufferCallback in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)?? ? ?_recAQBufferCallback in > libpjmedia-arm-apple-darwin9.a(ipodsound.o) ?? ? ?_pjmedia_snd_stream_start in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)??"_AudioQueueFreeBuffer", > referenced from: ?? ? ?_pjmedia_snd_stream_close in > libpjmedia-arm-apple-darwin9.a(ipodsound.o)?? ? ?_pjmedia_snd_stream_close in > libpjmedia-arm-apple-darwin9.a(ipodsound.o) ld: symbol(s) not foundcollect2: ld > returned 1 exit status > > ? > > I have 2 questions. > > Firstly, I am getting the ld > warning?/System/Library/Frameworks//AudioToolbox.framework/AudioToolbox,:?missing > required architecture arm in file.??Does this mean it is linking to the wrong > frameworks? > > And why am I getting the undefined symbols error>? Is it because of not > linking to the proper framework? How do I fix this and link to the proper > frameworks which are in the > /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks > folder instead of /System/Library/Frameworks folder which contains frameworks > for mac development (I think) ?.? > > Any help will be appreciated. > > --Regards,Salman > > > > > [ (pas de nom de fichier) (0.2 Ko) ] > > Cr?ez votre adresse ?lectronique prenom.nom at laposte.net > 1 Go d'espace de stockage, anti-spam et anti-virus int?gr?s. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080929/743872e1/attachment-0001.html> > > ------------------------------ > > Message: 2 > Date: Mon, 29 Sep 2008 15:07:19 -0300 > From: " Lucas Rosa Gal?go " <lrgalego@xxxxxxxxx> > Subject: PJSUA with Flex and PyAMF > To: pjsip at lists.pjsip.org > Message-ID: > <6b2021b20809291107q364f7483kb30f9c4ded961383 at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > > > > > > In general, you cannot do this *_consistently_* (and using the same > > code-base) across browsers (assuming you want to run PJ as a browser > > plug-in/extension?). > > > > AFAIK, for IE, you could wrap PJ into an ActiveX control and embed as an > > object into your web page's HTML and communicate between PJ and Flash > > (ExternalInterface) through a JavaScript back-end. > > > > Maybe I am wrong, but AFAIK, for Firefox, you can try building all your > > components into an extension. If you can pull this off, I'd be happy > to > > hear > > from you. :) > > > > - J > > > > > > > > On Sun, Sep 28, 2008 at 12:44 PM, friends friends < > > friends.meet at googlemail.com> wrote: > > > > > Thanks Saul for the reply. > > > Can anybody else also help in replying the other queries? How can I > > connect > > > PJSIP with flex application running in browser? Any idea or pointers > will > > be > > > great help. > > > > > > Cheers, > > > Vincent > > > > > > 2008/9/28 Sa?l Ibarra <saghul at gmail.com> > > > > > > On Sat, Sep 27, 2008 at 2:16 PM, friends friends > > >> <friends.meet at googlemail.com> wrote: > > >> > Hi Could you elaborate more how can it be used? We can write > a simple > > >> script > > >> > for Asterisk Manager Interface to originate the call. Then > what is the > > >> use > > >> > of PJSUA ? Because AMI can transfer the calls and we can > schedule the > > >> > conference etc (SIP or PSTN both works) then where does the > PJSIP and > > >> PJSUA > > >> > sits? I am just trying to make an overall picture in my > mind. I think, > > I > > >> am > > >> > missing a link some where. > > >> > > > >> > > >> Well, as I said, PJSUA is a softphone, so it can be used to send > and > > >> recevie calls from an Asterisk server, just as Twinkle, Xlite or > > >> Zoiper... > > >> > > >> > Also could you respond to the other queries, how can we use > browser > > >> based > > >> > sip client with PJSUA? Can PyAMF be of any help? > > >> > > > >> > > >> Sorry, I can't help you on that... > > >> > > >> > > >> -- > > >> Sa?l -- "Nunca subestimes el ancho de banda de un cami?n > lleno de > > >> disketes." > > >> ---------------------------------------------------------------- > > >> http://www.saghul.net/ > > >> > > >> _______________________________________________ > > >> 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 > > >> > > > > > > > > > _______________________________________________ > > > 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/20080929/97c10e37/attachment-0001.html > > > > > > > ------------------------------ > > > > Message: 2 > > Date: Mon, 29 Sep 2008 17:27:33 +0530 > > From: "Jeremy King" <jerry.ipe.thomas@xxxxxxxxx> > > Subject: Re: USB Sound Card Problem > > To: "pjsip list" <pjsip at lists.pjsip.org> > > Message-ID: > > <c8f650950809290457s7aae53d1nfc5f1d82afdc6ebd at mail.gmail.com> > > Content-Type: text/plain; charset="utf-8" > > > > In code, enumerate the sound devices using pjsua_enum_snd_devs and then > set > > the devs that match "Microsoft Sound Mapper" as input and output > sound > > device using pjsua_set_snd_dev. > > > > - J > > > Hi guys, > > about this topic, I read some time ago about an try to make a firefox plugin > to use pjsip. > Is there any success with this try? > > regardless, > > Lucas Rosa Galego > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080929/f292ec1c/attachment.html> > > ------------------------------ > > _______________________________________________ > pjsip mailing listpjsip at lists.pjsip.orghttp://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > End of pjsip Digest, Vol 13, Issue 106 > ************************************** > > > > _______________________________________________ > 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 > > -- Regards, Salman -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080930/bf580695/attachment-0001.html>