[asterisk-bugs] [Asterisk 0018442]: [patch] Error building netsock library on OpenSolaris 5.11 snv_134b

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Dec 10 10:24:15 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18442 
====================================================================== 
Reported By:                ranjtech
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18442
Category:                   Core/Netsock
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           SVN 
JIRA:                        
Regression:                 No 
Reviewboard Link:          
http://lists.digium.com/pipermail/asterisk-users/2010-December/256877.html 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-08 18:21 CST
Last Modified:              2010-12-10 10:24 CST
====================================================================== 
Summary:                    [patch] Error building netsock library on
OpenSolaris 5.11 snv_134b
Description: 
When trying to build trunk or even the 1.8.1-rc1 on OpenSolaris 5.11 latest
release, the following error is encountered during 'make'. 

netsock.c: In function `ast_set_default_eid':
netsock.c:250: error: structure has no member named `ifr_hwaddr'
make[1]: *** [netsock.o] Error 1
make: *** [main] Error 2

As mentioned here:
http://opensolaris.org/jive/thread.jspa?threadID=116059&tstart=105

It's possible that more complex checks to verify that the
structure elements are all there, need to be made.
====================================================================== 

---------------------------------------------------------------------- 
 (0129535) svnbot (reporter) - 2010-12-10 10:24
 https://issues.asterisk.org/view.php?id=18442#c129535 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 298050

U   branches/1.6.2/configure
U   branches/1.6.2/configure.ac
U   branches/1.6.2/include/asterisk/autoconfig.h.in
U   branches/1.6.2/main/netsock.c

------------------------------------------------------------------------
r298050 | tilghman | 2010-12-10 10:24:14 -0600 (Fri, 10 Dec 2010) | 11
lines

Portability issue on OpenSolaris.

Also detect the required structure element, because OpenSolaris defines
SIOCGIFHWADDR, but without support for IP sockets.

(closes issue https://issues.asterisk.org/view.php?id=18442)
 Reported by: ranjtech
 Patches: 
       20101209__issue18442.diff.txt uploaded by tilghman (license 14)
 Tested by: ranjtech

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=298050 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-10 10:24 svnbot         Checkin                                      
2010-12-10 10:24 svnbot         Note Added: 0129535                          
======================================================================




More information about the asterisk-bugs mailing list