[asterisk-dev] off topic: OS/X: Where's the GCC?

David M. Lee dlee at digium.com
Wed Oct 2 11:38:17 CDT 2013


On Oct 2, 2013, at 4:46 AM, "Dan Jenkins, HolidayExtras.com" <dan.jenkins at holidayextras.com> wrote:

> David, just tried following your instructions for installing 12 on osx - I'm running bang up to date on a Macbook Pro retina, and I get chucked out:
> 
> ==> ./configure --prefix=/usr/local/Cellar/pjsip/2.1 --with-ssl=/usr/local/opt/openssl --disable-resample --disable-sound --disable-video --enable-shared --with-external-gsm --with-external-pa --with-external-speex --with-external-srtp
> ==> make all install
> ld: 32 duplicate symbols for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> make[2]: *** [../lib/libpjmedia-codec.dylib.2] Error 1
> make[1]: *** [libpjmedia-codec.dylib] Error 2
> make: *** [all] Error 1
> 
> When I run brew install pjsip iksemel unixodbc srtp gcc48 sqlite openssl speex
> 
> Looks like it's failing on pjsip - have you seen this before? Is it something to do with the whole gcc thing? I can see it's error'd using clang…

Probably. I compiled PJSIP with Xcode 4.x, which could have used the true-ish GCC instead of clang.

> Dan 

-- 
David M. Lee
Digium, Inc. | Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at:  www.digium.com  & www.asterisk.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131002/92ecd330/attachment.html>


More information about the asterisk-dev mailing list