Summary:ASTERISK-23576: Build failure on SmartOS / Illumos / SunOS
Reporter:Sebastian Wiedenroth (wiedi)Labels:
Date Opened:2014-04-02 13:08:59Date Closed:2014-04-17 15:29:13
Versions:11.7.0 Frequency of
Environment:SmartOS, but probably also problem on other Illumos Distributions and SunOS in generalAttachments:( 0) fix-sunos.diff
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 "-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.
Comments:By: Rusty Newton (rnewton) 2014-04-07 14:32:23.808-0500

Setting to "Waiting on Feedback" for the patch.

You'll also want to run through the [Code Review wiki page|https://wiki.asterisk.org/wiki/display/AST/Code+Review] and post the patch on Reviewboard (there is a field on this issue for a Reviewboard link as well). Thanks!

By: Sebastian Wiedenroth (wiedi) 2014-04-14 02:58:44.835-0500

I've submitted it as https://reviewboard.asterisk.org/r/3426/ and it already received a "Ship it!".
Are there any next steps I should take?