[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:26:47 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18442 
====================================================================== 
Reported By:                ranjtech
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   18442
Category:                   Core/Netsock
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-12-08 18:21 CST
Last Modified:              2010-12-10 10:26 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0129536) svnbot (reporter) - 2010-12-10 10:26
 https://issues.asterisk.org/view.php?id=18442#c129536 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 298051

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

------------------------------------------------------------------------
r298051 | tilghman | 2010-12-10 10:26:46 -0600 (Fri, 10 Dec 2010) | 18
lines

Merged revisions 298050 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r298050 | tilghman | 2010-12-10 10:24:13 -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=298051 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-10 10:26 svnbot         Note Added: 0129536                          
======================================================================




More information about the asterisk-bugs mailing list