[asterisk-bugs] [JIRA] (ASTERISK-18744) Asterisk doesn't build on OSX

Matt Jordan (JIRA) noreply at issues.asterisk.org
Sat Feb 22 18:36:03 CST 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-18744?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan closed ASTERISK-18744.
----------------------------------

    Resolution: Won't Fix

While I know this issue is rather old, I think we can safely say at this point that Asterisk isn't going to build with clang.

Asterisk makes extensive use of gcc extensions. This occurs now even in Asterisk 1.8, where the RAII_VAR macro has been backported and used in app_meetme's SLA code.

Since this issue was originally reported as a problem building Asterisk with clang, it's essentially been overcome by events.

Note that it is certainly possible to compile Asterisk with gcc on Macs - in fact, a number of people have posted homebrew recipes on github that aide in this.
                
> Asterisk doesn't build on OSX
> -----------------------------
>
>                 Key: ASTERISK-18744
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-18744
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_iax2
>    Affects Versions: 1.8.8.0
>         Environment: Mac OS X 10.7.2 (Lion), Macports, Xcode 4.2.
>            Reporter: Stefan van der Eijk
>            Severity: Minor
>         Attachments: asterisk.log.20111024.1.log, asterisk.log.20111024.2.log, macports-parallel-build.patch
>
>
> Asterisk 1.8 SVN build fails with:
> :info:build    [LD] chan_iax2.o iax2-parser.o iax2-provision.o -> chan_iax2.so
> :info:build ld: duplicate symbol _ast_tvdiff_sec in iax2-parser.o and chan_iax2.o for architecture x86_64
> :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
> :info:build make[1]: *** [chan_iax2.so] Error 1
> :info:build make: *** [channels] Error 2

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list