Hello again, I´m trying my best to install the CVS head. OS: Mac OS X 10.4.10 (8R218) openSSL: 0.9.8g 19 Oct 2007 (via darwinports) Complier: Xcode 2.5 output of make: mac339:~/Desktop/radiusCVS/radiusd system$ make Making all in src... Making all in include... make[4]: Nothing to be done for `all'. Making all in lib... make[4]: Nothing to be done for `all'. Making all in modules... Making all in rlm_acctlog... Making all in rlm_acct_unique... Making all in rlm_always... Making all in rlm_attr_filter... Making all in rlm_attr_rewrite... Making all in rlm_chap... Making all in rlm_checkval... Making all in rlm_copy_packet... Making all in rlm_counter... make[6]: Nothing to be done for `all'. Making all in rlm_dbm... Making all in rlm_detail... Making all in rlm_digest... Making all in rlm_eap... Making all in libeap... /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 -o 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:66: 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 Any hints for me? Thank you very much. Best regards / Mit freundlichen Grüßen Wolfgang Burger <burgerw@immunbio.mpg.de> Max-Planck-Institut fuer Immunbiologie Scientific Data Processing Unit (+00 49) 761 / 5108 461 Stuebeweg 51 D-79108 Freiburg Germany
Wolfgang Burger wrote: ...
output of make:
mac339:~/Desktop/radiusCVS/radiusd system$ make ... /Users/system/Desktop/radiusCVS/radiusd/src/freeradius-devel/md4.h:66: error: conflicting types for 'MD4_CTX' /usr/include/openssl/md4.h:105: error: previous declaration of 'MD4_CTX' was here ... Any hints for me?
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.
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 <burgerw@immunbio.mpg.de> Max-Planck-Institut fuer Immunbiologie Scientific Data Processing Unit (+00 49) 761 / 5108 461 Stuebeweg 51 D-79108 Freiburg Germany
Am 14.11.2007 um 15:22 schrieb Alan DeKok:
Move the #define:
... #ifndef _LRAD_MD4_H #define _LRAD_MD4_H
#undef HEADER_MD_4 #define HEADER_MD_4 (1) ...
Hm, still no luck src/include/md4.h: ... ... * License: LGPL, but largely derived from a public domain source. * */ #ifndef _LRAD_MD4_H #define _LRAD_MD4_H #undef HEADER_MD_4 #define HEADER_MD_4 (1) #include <freeradius-devel/ident.h> RCSIDH(md4_h, "$Id: md4.h,v 1.12 2007/11/07 22:21:18 aland Exp $") ... ... end of ouput of make: ... missing-prototypes -Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef -DEAPLIB -I. -I.. -I/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:69: 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 Mit freundlichen Grüßen Wolfgang Burger <burgerw@immunbio.mpg.de> Max-Planck-Institut fuer Immunbiologie Scientific Data Processing Unit (+00 49) 761 / 5108 461 Stuebeweg 51 D-79108 Freiburg Germany
participants (2)
-
Alan DeKok -
Wolfgang Burger