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