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 found collect2: 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/Frameworksfolder instead of /System/Library/Frameworks folder which contains frameworks for mac development (I think) . Any help will be appreciated. -- Regards, Salman -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080929/b2c10083/attachment-0001.html>