Hi,

I tried to recompile freeradius raising option O2 in CFLAGS. I followed the following steps:
 . / configure - with-experimental-modules - with-rlm_eap2
Make.inc edit and remove 'O2' in CFLAGS
make clean
make
make install
My server started without error (radiusd_out  file)
When my openpana client sent an authenticator mesage ,I had a segmentation fault, and I always value optimized out in the gdb trace (gdb-radiuslog1).
I don't understand why the different librairies related to the rlm_eap2 module in /usr/local/lib  are not up to date when i rebuild the servers. The date still stay the old one.

rwxr-xr-x 1 root root 44318 2012-09-18 04:31 rlm_eap2-2.2.0.so
lrwxrwxrwx 1 root root    17 2012-09-18 04:31 rlm_eap2.so -> rlm_eap2-2.2.0.so
-rwxr-xr-x 1 root root   872 2012-09-18 04:31 rlm_eap2.la
-rw-r--r-- 1 root root 45698 2012-09-18 04:31 rlm_eap2.a
lrwxrwxrwx 1 root root    11 2012-09-18 04:31 rlm_eap2-2.2.0.la -> rlm_eap2.la

How can i resolve this issue?
Thanks.
PS:
Freeradius commit 02567cf3c5aa758d7153c0bd7020e27a5067f7c3
Author: Arran Cudbard-Bell <a.cudbardb@freeradius.org>
Date:   Tue Sep 18 14:15:14 2012 +0100