[asterisk-bugs] [JIRA] (ASTERISK-23576) Build failure on SmartOS / Illumos / SunOS

Sebastian Wiedenroth (JIRA) noreply at issues.asterisk.org
Wed Apr 2 13:15:18 CDT 2014


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

Sebastian Wiedenroth updated ASTERISK-23576:
--------------------------------------------

    Description: 
Asterisk 11.7.0 (and maybe newer versions) does not build on SunOS (testing SmartOS).

There are two issues:
- chan_oss.c does not find soundcard.h
- the Makefile uses "{noformat}-Wl,--version-script{noformat}" for ASTSSL_LIB, which is not supported by the SunOS linker.

I'll add a patch that makes sure soundcard.h is found in the right place and the version-script option is only used when using GNU_LD. Checks like that are already used in other parts of the Makefile.

  was:
Asterisk 11.7.0 (and maybe newer versions) does not build on SunOS (testing SmartOS).

There are two issues:
- chan_oss.c does not find soundcard.h
- the Makefile uses "-Wl,--version-script" for ASTSSL_LIB, which is not supported by the SunOS linker.

I'll add a patch that makes sure soundcard.h is found in the right place and the version-script option is only used when using GNU_LD. Checks like that are already used in other parts of the Makefile.


> Build failure on SmartOS / Illumos / SunOS
> ------------------------------------------
>
>                 Key: ASTERISK-23576
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-23576
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.7.0
>         Environment: SmartOS, but probably also problem on other Illumos Distributions and SunOS in general
>            Reporter: Sebastian Wiedenroth
>         Attachments: fix-sunos.diff
>
>
> Asterisk 11.7.0 (and maybe newer versions) does not build on SunOS (testing SmartOS).
> There are two issues:
> - chan_oss.c does not find soundcard.h
> - the Makefile uses "{noformat}-Wl,--version-script{noformat}" for ASTSSL_LIB, which is not supported by the SunOS linker.
> I'll add a patch that makes sure soundcard.h is found in the right place and the version-script option is only used when using GNU_LD. Checks like that are already used in other parts of the Makefile.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list