Hi Alan,
thank you for your fast reply.
Am 14.11.2007 um 14:04 schrieb Alan DeKok:
Edit src/include/md4.h, and add a line at the top:
#define HEADER_MD4_H (1)
This should prevent the FreeRADIUS MD4 functions from conflicting
with
the OpenSSL MD4 functions.
Alan DeKok.
Done.
Result (I really hope I have'nt stripped to much):
make
...
...
/Users/system/Desktop/radiusCVS/radiusd/src -DOPENSSL_NO_KRB5 -c
fips186prf.c -o fips186prf.o >/dev/null 2>&1
/Users/system/Desktop/radiusCVS/radiusd/libtool --mode=compile gcc -g
-O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef
-DEAPLIB -I. -I.. -I/Users/system/Desktop/radiusCVS/radiusd/src
-DOPENSSL_NO_KRB5 -c cb.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef
-DEAPLIB -I. -I.. -I/Users/system/Desktop/radiusCVS/radiusd/src
-DOPENSSL_NO_KRB5 -c cb.c -fno-common -DPIC -o .libs/cb.o
In file included from
/Users/system/Desktop/radiusCVS/radiusd/src/freeradius-devel/
libradius.h:54,
from
/Users/system/Desktop/radiusCVS/radiusd/src/freeradius-devel/radiusd.h:
14,
from ../eap.h:30,
from eap_tls.h:68,
from cb.c:27:
/Users/system/Desktop/radiusCVS/radiusd/src/freeradius-devel/md4.h:9:1:
warning: "HEADER_MD4_H" redefined
In file included from /usr/include/openssl/evp.h:81,
from /usr/include/openssl/x509.h:67,
from /usr/include/openssl/ssl.h:177,
from eap_tls.h:65,
from cb.c:27:
/usr/include/openssl/md4.h:60:1: warning: this is the location of the
previous definition
In file included from
/Users/system/Desktop/radiusCVS/radiusd/src/freeradius-devel/
libradius.h:54,
from
/Users/system/Desktop/radiusCVS/radiusd/src/freeradius-devel/radiusd.h:
14,
from ../eap.h:30,
from eap_tls.h:68,
from cb.c:27:
/Users/system/Desktop/radiusCVS/radiusd/src/freeradius-devel/md4.h:67:
error: conflicting types for 'MD4_CTX'
/usr/include/openssl/md4.h:105: error: previous declaration of
'MD4_CTX' was here
make[7]: *** [cb.lo] Error 1
make[6]: *** [common] Error 2
make[5]: *** [common] Error 2
make[4]: *** [all] Error 2
make[3]: *** [common] Error 2
make[2]: *** [all] Error 2
make[1]: *** [common] Error 2
make: *** [all] Error 2
Is there anyting else I could try?
Best regards / Mit freundlichen Grüßen
Wolfgang Burger <[EMAIL PROTECTED]>
Max-Planck-Institut fuer Immunbiologie
Scientific Data Processing Unit
(+00 49) 761 / 5108 461
Stuebeweg 51
D-79108 Freiburg
Germany
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html