[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    rlm_eap_tls compile problems with latest openssl
From:       "Ethan Erchinger" <ethan () erchinger ! org>
Date:       2002-08-29 0:46:02
[Download RAW message or body]

Hi everyone,
I'm having troubles getting this to compile. I'm using tips in CVS of freeradius
and the latest (as of 8/29/02) openssl src. I'm running Debian Woody, with gcc
2.95.4. I'm attempting to follow the doc on configuring 802.1x with freeradius,
which mentions that I should add the following to
src/modules/rlm_eap/types/rlm_eap_tls/Makefile:
- RLM_CFLAGS = $(INCLTDL) -I../..
+ RLM_CFLAGS = $(INCLTDL) -I../.. -I/usr/local/openssl/include
This is I'm assuming to make sure that it uses the correct openssl headers. The
message I receive during compilation:
snip--->
In file included from ../../../../include/radiusd.h:18,
from ../../eap.h:38,
from eap_tls.h:59,
from eap_tls.c:39:
/usr/include/unistd.h:946: parse error before `('
/usr/include/unistd.h:946: parse error before `__const'
In file included from eap_tls.c:39:
eap_tls.h:323: warning: declaration of `version' shadows global declaration
gmake[10]: *** [eap_tls.o] Error 1
gmake[10]: Leaving directory
`/var/tmp/ssl/radiusd/src/modules/rlm_eap/types/rlm_eap_tls'
gmake[9]: *** [common] Error 1
gmake[9]: Leaving directory `/var/tmp/ssl/radiusd/src/modules/rlm_eap/types'
gmake[8]: *** [static] Error 2
gmake[8]: Leaving directory `/var/tmp/ssl/radiusd/src/modules/rlm_eap/types'
gmake[7]: *** [common] Error 1
gmake[7]: Leaving directory `/var/tmp/ssl/radiusd/src/modules/rlm_eap'
gmake[6]: *** [static] Error 2
gmake[6]: Leaving directory `/var/tmp/ssl/radiusd/src/modules/rlm_eap'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory `/var/tmp/ssl/radiusd/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/var/tmp/ssl/radiusd/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/var/tmp/ssl/radiusd/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/ssl/radiusd/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/var/tmp/ssl/radiusd'
make: *** [all] Error 2
<---snip
I'm receiving a _ton_ of "warning: function declaration isn't a prototype" in
the output as well. I can send the complete output to someone if necessary, but
it doesn't seem so.
If I don't include the modification above to
"src/modules/rlm_eap/types/rlm_eap_tls/Makefile" as mentioned above, everything
compiles fine, but I get this message when attempting to authenticate on a
running server:
snip---->
rad_recv: Access-Request packet from host 10.10.1.249:192, id=194, length=117
User-Name = "ethan"
NAS-IP-Address = 10.10.1.249
Called-Station-Id = "00601df6e597"
Calling-Station-Id = "00601d1bb578"
NAS-Identifier = "RwC-WH01"
NAS-Port-Type = Wireless-802.11
Framed-MTU = 1400
EAP-Message = "\002\017\000\014\001ethan"
Message-Authenticator = 0x63a2b7e171cd8136e2d3317f9cd234b2
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "ethan", looking up realm NULL
rlm_realm: No such realm NULL
modcall[authorize]: module "suffix" returns noop
users: Matched DEFAULT at 98
modcall[authorize]: module "files" returns ok
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: processing type tls
./radiusd: relocation error: /usr/local/radius/lib/rlm_eap_tls-0.8-pre.so:
undefined symbol: SSL_set_msg_callback
<-----snip
After this the server dies. I would really appreciate some help on this, as I'm
sure I'm missing something simple. Sorry for the long post, but I figured more
details was better than none.

Thanks,
EE



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic