Summary:ASTERISK-16574: [patch] Unable to build main/netsock.c on Nexenta CP3
Reporter:tdh (tdh)Labels:
Date Opened:2010-08-16 10:12:51Date Closed:2011-07-26 14:58:06
Versions:Frequency of
Environment:Attachments:( 0) asterisk-netsock.patch
Description:ast_set_default_eid in main/netsock.c tries to look up a system MAC address and solaris doesn't expose ifr_hwaddr as other platforms do. For some reason SIOCGIFHWADDR is defined during the build, so my patch just adds && !defined(SOLARIS) which allows the file to build OK.

I haven't used the DUNDI module so can't comment on other impact other than the build process, but presume the patch will require an explicit EID be configured.
Comments:By: Leif Madsen (lmadsen) 2010-08-16 14:45:34

License pending.

By: Leif Madsen (lmadsen) 2011-07-26 14:58:00.683-0500

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions

If this is still an issue, please open a new issue so it can be re-triaged appropriately. Thanks!