Hi
I have posted this question here in the past, but to no avail. Hopefully, someone can help me out now.


    First, I downloaded and installed openssl-0.9.7d which is the latest
release, in /usr/local/ssl.

  Then I tried to set up freeradius with ./configure
--prefix=/usr/local/freeradius --sysconfdir=/etc, followed by the suggested
( http://www.missl.cs.umd.edu/wireless/eaptls/ ) workaround (by editing
rlm_eap_tls/Makefile) :

   Generated automatically from Makefile.in by configure.
TARGET      = rlm_eap_tls
SRCS        = rlm_eap_tls.c eap_tls.c cb.c tls.c mppe_keys.c
RLM_CFLAGS  = $(INCLTDL) -I../..  -I/usr/local/ssl/include
HEADERS     = eap_tls.h
RLM_INSTALL =
RLM_LDFLAGS += -L/usr/local/ssl/lib
RLM_LIBS    += -lssl -lcrypto

$(STATIC_OBJS): $(HEADERS)

$(DYNAMIC_OBJS): $(HEADERS)

RLM_DIR=../../
include ${RLM_DIR}../rules.mak

(I added -lcrypto as that is also provided by my openssl implementation and
another reference : http://www.impossiblereflex.com/8021x/eap-tls-HOWTO.htm
suggests it).


I get the following errors upon make : gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I../../../../include -I../.. -I/usr/local/ssl/include -o rlm_eap_tls rlm_eap_tls.o eap_tls.o cb.o tls.o mppe_keys.o rlm_eap_tls.o eap_tls.o cb.o tls.o mppe_keys.o -Wl,--export-dynamic -L/usr/local/ssl/lib -lssl -lcrypto -lnsl -lresolv -lpthread -Wl,--rpath -Wl,/usr/local/freeradius/lib rlm_eap_tls.o(.data+0x140): In function `eaptls_initiate': /usr/local/src/RADIUS/freeradius-0.9.3/src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c:137: multiple definition of `rlm_eap_tls' rlm_eap_tls.o(.data+0x140):/usr/local/src/RADIUS/freeradius-0.9.3/src/modules/rlm_eap/types/rlm_eap_tls/rlm_eap_tls.c:137: first defined here eap_tls.o(.text+0x0): In function `eaptls_alloc': /usr/local/src/RADIUS/freeradius-0.9.3/src/modules/rlm_eap/types/rlm_eap_tls/eap_tls.c:45: multiple definition of `eaptls_alloc' eap_tls.o(.text+0x0):/usr/local/src/RADIUS/freeradius-0.9.3/src/modules/rlm_eap/types/rlm_eap_tls/eap_tls.c:45: first defined here eap_tls.o(.text+0x40): In function `eaptls_free': ...

Could anyone please help me sort this out ?

Thanks,

MS


- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to