FW: linking wpa_supplicant

martin.p.bradley at bt.com martin.p.bradley
Wed Apr 6 01:44:10 PDT 2005


Guys,

Yes it looks like I'm using the wrong openssl library.  How can I select
the on that's installed in the directory /usr/local/openssl-0.9.7b/.
Does the line below do what I need?  Probably not but that was what I
tried...

export LDFLAGS=-L/usr/local/openssl-0.9.7b/


eapol_test includes a file called radius.h.   I guessed that this was
the radius.h but it looks like its not the correct one.

I'm getting errors like
eapol_test.c:155: `RADIUS_ATTR_USER_NAME' undeclared (first use in this
function)
eapol_test.c:162: `RADIUS_ATTR_NAS_IP_ADDRESS' undeclared (first use in
this function)
eapol_test.c:168: `RADIUS_802_1X_ADDR_FORMAT' undeclared (first use in
this function)
eapol_test.c:170: `RADIUS_ATTR_CALLING_STATION_ID' undeclared (first use
in this function)
eapol_test.c:179: `RADIUS_ATTR_FRAMED_MTU' undeclared (first use in this
function)
eapol_test.c:184: `RADIUS_ATTR_NAS_PORT_TYPE' undeclared (first use in
this function)
eapol_test.c:185: `RADIUS_NAS_PORT_TYPE_IEEE_802_11' undeclared (first
use in this function)
eapol_test.c:191: `RADIUS_ATTR_CONNECT_INFO' undeclared (first use in
this function)



sorry for being a pain and thanks for any help,
Martin.





-----Original Message-----
From: Jouni Malinen [mailto:jm at jm.kir.nu] On Behalf Of Jouni Malinen
Sent: 06 April 2005 03:28
To: Bradley,MP,Martin,XDP81 R
Cc: hostap at shmoo.com
Subject: Re: FW: linking wpa_supplicant

On Tue, Apr 05, 2005 at 11:58:21AM +0100, martin.p.bradley at bt.com wrote:

> I am trying to get wpa_supplicant to compile on a Redhat 7.3 system
> which has no wireless interface.  I was hoping to use it to send
RADIUS
> packets containing EAP-TLS attributes. 

Which version of openssl are you using? It is possible that the Red Hat
7.3 comes with too old version as far as current wpa_supplicant is
concerned.

> I copied the defconfig to .config and typed make.  The code compiled
ok
> but failed at the linking stage.

Btw, since this is about testing EAP with RADIUS without an AP, you do
not probably want to be compiling wpa_supplicant. In order to build
eapol_test, you will need to add CONFIG_EAPOL_TEST=y into .config and
run 'make eapol_test'.

-- 
Jouni Malinen                                            PGP id EFC895FA




More information about the Hostap mailing list