<div dir="ltr"><div><font color="#330033"><font face="trebuchet ms,sans-serif">Hi Guys,</font></font></div>
<div><font color="#330033"><font face="trebuchet ms,sans-serif">Any one want to take a stab at helping with this please?? All I have found so far is that the netsock.c file has code that references to taking note when it's being built on a Solaris platform, but since I don't understand this a whole lot, I am not sure where to go from here...this is the excerpt from the netsock.c file: </font></font></div>
<div><font color="#330033"><font face="trebuchet ms,sans-serif"></font></font> </div>
<div><font color="#330033"><font face="trebuchet ms,sans-serif"><em><font face="courier new,monospace"><strong>#if defined (SOLARIS)<br>#include <sys/sockio.h><br>#elif defined(HAVE_GETIFADDRS)<br>#include <ifaddrs.h><br>
#endif<br></strong></font></em></font></font></div>
<div>I would've have thought this would have taken care of the issue by making sure 'make' handles this correctly but I guess not. Anyone? Please?</div>
<div> </div>
<div>Thanks</div>
<div>\RR<br><br></div>
<div class="gmail_quote">On Wed, Dec 8, 2010 at 4:43 AM, RR <span dir="ltr"><<a href="mailto:ranjtech@gmail.com">ranjtech@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div dir="ltr">
<div><font color="#330033"><font face="trebuchet ms,sans-serif">Hello All,</font></font></div>
<div><font color="#330033" face="Trebuchet MS"></font> </div>
<div><font color="#330033" face="Trebuchet MS">I have been banging my head against trying to get asterisk to compile on Solaris as well as OpenSolaris. I've tried to build various versions of Asterisk as on various versions of Solaris and OpenSolaris to no avail. Finally, I said, what the heck, I got the latest version of OpenSolaris that (pkg image-update) could get and then the latest ver of asterisk I found on the digium repo. Amazingly, configure and make menuselect went without a hitch, very clean. 'make' was going really well as well, in fact this is the farthest I've ever seen it ever go with the minor hitch compalining about format_mp3 but it suggested I use that script in contrib and download the code for that and that made it run again. BUT just my luck, it crapped out with this error</font></div>
<div><font color="#330033"></font> </div>
<div><font face="courier new,monospace"><strong><em>netsock.c: In function `ast_set_default_eid':<br>netsock.c:250: error: structure has no member named `ifr_hwaddr'<br>make[1]: *** [netsock.o] Error 1<br>make: *** [main] Error 2<br>
</em></strong></font></div>
<div>Can anyone please help me resolve this? I don't even know where to look. Google came back with nothing. Same with a search through the 30,000+ emails I have from the Asterisk mailing list only gave me the hint that it's a function from if.h which in OpenSolaris resides in /usr/include/net as opposed to maybe /usr/include/linux. </div>
<div> </div>
<div>Any ideas?</div>
<div> </div>
<div>Thanks</div>
<div>RR<br></div>
<div><font color="#330033"><font face="trebuchet ms,sans-serif"> </font></font></div>
<div><br></div></div></blockquote></div><br></div>