<div dir="ltr"><div>Hi, <br></div><div>In the beginning the compilation failed with the following error:<br> /oracle/software/adsl/freeradius-server-2.2.5/src/freeradius-devel/libradius.h:408: error: syntax error before "sig_t"<br>
<br></div><div>To fix this error, I've added the following line in libradius.h after "#include <signal.h>" <br>typedef void *sig_t;<br><br></div><div>Again compilation failed with the following error:<br>
ld: fatal: file .libs/debug.o: wrong ELF class: ELFCLASS64<br>ld: fatal: File processing errors. No output written to .libs/libfreeradius-radius--m64.so<br>collect2: ld returned 1 exit status<br>gmake[4]: *** [<a href="http://libfreeradius-radius.la">libfreeradius-radius.la</a>] Error 1<br>
<br></div><div>* Note even with 3.0.2 same error.<br><br></div><div>Thanks;<br></div><div>Alwaad Alhaq<br></div><div><br> <br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 5, 2014 at 11:56 PM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">Mohd Alkhaldi wrote:<br>
> Thanks Alan for your replay,<br>
><br>
> I've already tried it many times, and it fails, and each time it gives<br>
>  error in compiling debug.c :<br>
<br>
</div>  Then ask about the failure.<br>
<div class=""><br>
> ld: fatal: file .libs/debug.o: wrong ELF class: ELFCLASS64<br>
> ld: fatal: File processing errors. No output written to<br>
> .libs/libfreeradius-radius--m64.so<br>
> collect2: ld returned 1 exit status<br>
<br>
</div>  Your compiler doesn't produce the correct executables.  I don't know<br>
how to fix that.<br>
<br>
  Try using the 3.0.2 release.  We've replaced libtool with something<br>
sane: just use GCC.<br>
<div class="HOEnZb"><div class="h5"><br>
  Alan DeKok.<br>
<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br></div>