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