<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div><br>
</div>
<div>Rafael, while I don¡¯t use the FreeRadius server on solaris (we use MS Radius, and free radius clients on our unix systems), I have compiled software for decades on Solaris without issue.  There may be some things to tweak along the way, but most things
 compile fine. I have traditionally used /usr/ccs/bin/make and gcc and that combination usually works well. Have you tried that yet?</div>
<div><br>
</div>
<div>Lloyd</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Rafael de Farias Meurer <<a href="mailto:rafael.meurer@gvt.com.br">rafael.meurer@gvt.com.br</a>><br>
<span style="font-weight:bold">Reply-To: </span>FreeRadius users mailing list <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>
<span style="font-weight:bold">Date: </span>Wednesday, June 4, 2014 at 9:12 AM<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:'freeradius-users@lists.freeradius.org">'freeradius-users@lists.freeradius.org</a>'" <<a href="mailto:freeradius-users@lists.freeradius.org">freeradius-users@lists.freeradius.org</a>><br>
<span style="font-weight:bold">Subject: </span>Error 1: gmake Free Radius 3.0.3 at Solaris<br>
</div>
<div><br>
</div>
<div xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texto de bal\00E3o Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:EN-US;}
span.TextodebaloChar
        {mso-style-name:"Texto de bal\00E3o Char";
        mso-style-priority:99;
        mso-style-link:"Texto de bal\00E3o";
        font-family:"Tahoma","sans-serif";}
span.EstiloDeEmail19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EstiloDeEmail20
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EstiloDeEmail21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div lang="PT-BR" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">I¡¯m trying to install free radius 3.0.3<span style="color:#1F497D"></span>at Solaris, after I use gmake command I got this error, I tried to use make and didn¡¯t work either:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">CC src/lib/cbuff.c<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In file included from /home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/libradius.h:65,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                 from src/lib/cbuff.c:26:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">/home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/missing.h:419:1: warning: "htonll" redefined<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In file included from /usr/include/netinet/in.h:73,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                 from /usr/include/netdb.h:74,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                 from /home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/missing.h:40,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                 from /home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/libradius.h:65,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                 from src/lib/cbuff.c:26:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">/usr/include/sys/byteorder.h:46:1: warning: this is the location of the previous definition<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">In file included from src/lib/cbuff.c:26:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">/home/nms/radiusTeste/freeradius-server-3.0.3/src/freeradius-devel/libradius.h:637: error: syntax error before "func"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">gmake: *** [build/objs/src/lib/cbuff.lo] Error 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">What can I do to solve this error?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Thanks<o:p></o:p></span></p>
</div>
<br>
  ¡©¡©   </div>
</div>
</span>
</body>
</html>