Hi, when trying to compile freeradius 0.6 on my system (FreeBSD 3.5-STABLE) I get always the following error:
+++++++++++++++++++++ snip +++++++++++++++++++++ Making static dynamic in rlm_pap... gmake[5]: Entering directory `/home/sw/freeradius-0.6/src/modules/rlm_pap' gcc -Wall -D_GNU_SOURCE -DNDEBUG -I../../include -c rlm_pap.c -o rlm_pap.o rlm_pap.c:61: parse error before `pthread_mutex_t' rlm_pap.c:61: warning: no semicolon at end of struct or union rlm_pap.c:62: warning: data definition has no type or storage class rlm_pap.c:74: parse error before `)' rlm_pap.c:74: initializer element for `module_config[0].offset' is not constant rlm_pap.c: In function `pap_instantiate': rlm_pap.c:100: `inst' undeclared (first use this function) rlm_pap.c:100: (Each undeclared identifier is reported only once rlm_pap.c:100: for each function it appears in.) rlm_pap.c:100: warning: statement with no effect rlm_pap.c:125: warning: implicit declaration of function `pthread_mutex_init' rlm_pap.c: In function `pap_authenticate': rlm_pap.c:157: `inst' undeclared (first use this function) rlm_pap.c:157: parse error before `)' rlm_pap.c:219: warning: implicit declaration of function `pthread_mutex_lock' rlm_pap.c:223: warning: implicit declaration of function `pthread_mutex_unlock' rlm_pap.c: In function `pap_detach': rlm_pap.c:274: `inst' undeclared (first use this function) rlm_pap.c:274: parse error before `)' rlm_pap.c:276: warning: implicit declaration of function `pthread_mutex_destroy' gmake[5]: *** [rlm_pap.o] Error 1 gmake[5]: Leaving directory `/home/sw/freeradius-0.6/src/modules/rlm_pap' gmake[4]: *** [common] Error 1 gmake[4]: Leaving directory `/home/sw/freeradius-0.6/src/modules' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/home/sw/freeradius-0.6/src/modules' gmake[2]: *** [common] Error 1 gmake[2]: Leaving directory `/home/sw/freeradius-0.6/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/home/sw/freeradius-0.6/src' gmake: *** [common] Error 1 *** Error code 2 Stop. +++++++++++++++++++++ snip +++++++++++++++++++++ Any idea how to solve this problem? Zum Grusse ... Ralf Eisele --------- eXtension World Wide Connections GmbH Partner der abbex-group.ag Finninger Strasse 56 Fon: +49 731 9216333 D-89231 Neu-Ulm Fax: +49 731 9216335 Germany Mobile: +49 179 2991333 http://www.extension.net - [EMAIL PROTECTED] PGP Fingerprint: C29E 9EE9 6A36 8EDA 7146 1613 0BA8 9080 5B4A 36A3 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html