Summary: | ASTERISK-17081: [patch] Error building netsock library on OpenSolaris 5.11 snv_134b | ||
Reporter: | ranjtech (ranjtech) | Labels: | |
Date Opened: | 2010-12-08 18:21:05.000-0600 | Date Closed: | 2010-12-10 10:28:15.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/Netsock |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) 20101209__issue18442__1.8.diff.txt ( 1) 20101209__issue18442__trunk.diff.txt ( 2) 20101209__issue18442.diff.txt | |
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. | ||
Comments: | By: Tilghman Lesher (tilghman) 2010-12-09 15:40:22.000-0600 Patches for 1.6.2, 1.8, and trunk uploaded. By: ranjtech (ranjtech) 2010-12-09 20:59:22.000-0600 Patch successful for the current Trunk. have not tested 1.8 or 1.6 but definitely works for Trunk. Successfully compiled, built and running in OpenSolaris. Have yet to configure it properly but a quick and dirty config lets phones register etc. Thank you SO MUCH! Will come back to this when I have done advanced testing. By: Digium Subversion (svnbot) 2010-12-10 10:24:15.000-0600 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 ASTERISK-17081) 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 By: Digium Subversion (svnbot) 2010-12-10 10:26:47.000-0600 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 ASTERISK-17081) 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 By: Digium Subversion (svnbot) 2010-12-10 10:28:15.000-0600 Repository: asterisk Revision: 298052 _U trunk/ U trunk/configure U trunk/configure.ac U trunk/include/asterisk/autoconfig.h.in U trunk/main/netsock.c ------------------------------------------------------------------------ r298052 | tilghman | 2010-12-10 10:28:14 -0600 (Fri, 10 Dec 2010) | 25 lines Merged revisions 298051 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ 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 ASTERISK-17081) 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=298052 |