Hi all, I have a problem with FR 1.0.2 and Mysql, I do not arrive has to compile (with the snapshot no problem) System : Debian Sarge with libmysqlclient14-dev and mysql-server installed I have test with ./configure --sysconfdir=/etc --disable-shared or ./configure --sysconfdir=/etc --with-rlm-mysql-include-dir=/usr/include/mysql --with-rlm-mysql-lib-dir=/usr/include/mysql --disable-shared
And with make make[7]: Entering directory `/root/freeradius-1.0.2/src/modules/rlm_sql' Making static in drivers... make[8]: Entering directory `/root/freeradius-1.0.2/src/modules/rlm_sql/drivers' /usr/bin/make -w WHAT_TO_MAKE=static common make[9]: Entering directory `/root/freeradius-1.0.2/src/modules/rlm_sql/drivers' Making static in rlm_sql_iodbc... make[10]: Entering directory `/root/freeradius-1.0.2/src/modules/rlm_sql/drivers/rlm_sql_iodbc' make[10]: Rien � faire pour � static �. make[10]: Leaving directory `/root/freeradius-1.0.2/src/modules/rlm_sql/drivers/rlm_sql_iodbc' Making static in rlm_sql_mysql... make[10]: Entering directory `/root/freeradius-1.0.2/src/modules/rlm_sql/drivers/rlm_sql_mysql' gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -DNDEBUG -I../.. -I../../../../include -I/root/freeradius-1.0.2/libltdl -c sql_mysql.c -o sql_mysql.o sql_mysql.c:39:20: errmsg.h : Aucun fichier ou r�pertoire de ce type sql_mysql.c:40:19: mysql.h : Aucun fichier ou r�pertoire de ce type sql_mysql.c:47: error: erreur d'analyse syntaxique before "MYSQL" sql_mysql.c:47: attention : pas de point virgule � la fin de la structure ou de l'union sql_mysql.c:48: attention : type defaults to `int' in declaration of `sock' sql_mysql.c:48: attention : data definition has no type or storage class sql_mysql.c:49: error: erreur d'analyse syntaxique before '*' token sql_mysql.c:49: attention : type defaults to `int' in declaration of `result' sql_mysql.c:49: attention : data definition has no type or storage class sql_mysql.c:51: error: erreur d'analyse syntaxique before '}' token sql_mysql.c:51: attention : type defaults to `int' in declaration of `rlm_sql_mysql_sock' sql_mysql.c:51: attention : data definition has no type or storage class sql_mysql.c: Dans la fonction � sql_init_socket �: sql_mysql.c:62: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:62: error: (Each undeclared identifier is reported only once sql_mysql.c:62: error: for each function it appears in.) sql_mysql.c:65: error: erreur d'analyse syntaxique before ')' token sql_mysql.c:76: attention : implicit declaration of function `mysql_init' sql_mysql.c:77: attention : implicit declaration of function `mysql_real_connect' sql_mysql.c:84: error: `CLIENT_FOUND_ROWS' undeclared (first use in this function) sql_mysql.c:86: attention : implicit declaration of function `mysql_error' sql_mysql.c:86: attention : l'argument de format n'est pas un pointeur (arg 3) sql_mysql.c: Dans la fonction � sql_check_error �: sql_mysql.c:122: error: `CR_SERVER_GONE_ERROR' undeclared (first use in this function) sql_mysql.c:123: error: `CR_SERVER_LOST' undeclared (first use in this function) sql_mysql.c:131: error: `CR_OUT_OF_MEMORY' undeclared (first use in this function) sql_mysql.c:132: error: `CR_COMMANDS_OUT_OF_SYNC' undeclared (first use in this function) sql_mysql.c:133: error: `CR_UNKNOWN_ERROR' undeclared (first use in this function) sql_mysql.c: Dans la fonction � sql_query �: sql_mysql.c:151: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:160: attention : implicit declaration of function `mysql_query' sql_mysql.c:161: attention : implicit declaration of function `mysql_errno' sql_mysql.c: Dans la fonction � sql_store_result �: sql_mysql.c:175: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:181: attention : implicit declaration of function `mysql_store_result' sql_mysql.c:184: attention : l'argument de format n'est pas un pointeur (arg 3) sql_mysql.c: Dans la fonction � sql_num_fields �: sql_mysql.c:202: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:207: attention : implicit declaration of function `mysql_num_fields' sql_mysql.c:211: attention : l'argument de format n'est pas un pointeur (arg 3) sql_mysql.c: Dans la fonction � sql_num_rows �: sql_mysql.c:257: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:260: attention : implicit declaration of function `mysql_num_rows' sql_mysql.c: Dans la fonction � sql_fetch_row �: sql_mysql.c:277: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:286: attention : implicit declaration of function `mysql_fetch_row' sql_mysql.c:286: attention : affectation transforme un entier en pointeur sans transtypage sql_mysql.c: Dans la fonction � sql_free_result �: sql_mysql.c:305: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:308: attention : implicit declaration of function `mysql_free_result' sql_mysql.c: Dans la fonction � sql_error �: sql_mysql.c:327: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:332: attention : return transforme un entier en pointeur sans transtypage sql_mysql.c: Dans la fonction � sql_close �: sql_mysql.c:346: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:349: attention : implicit declaration of function `mysql_close' sql_mysql.c: Dans la fonction � sql_affected_rows �: sql_mysql.c:395: error: `mysql_sock' undeclared (first use in this function) sql_mysql.c:397: attention : implicit declaration of function `mysql_affected_rows' make[10]: *** [sql_mysql.o] Erreur 1 make[10]: Leaving directory `/root/freeradius-1.0.2/src/modules/rlm_sql/drivers/rlm_sql_mysql' make[9]: *** [common] Erreur 1 make[9]: Leaving directory `/root/freeradius-1.0.2/src/modules/rlm_sql/drivers' make[8]: *** [static] Erreur 2 make[8]: Leaving directory `/root/freeradius-1.0.2/src/modules/rlm_sql/drivers' make[7]: *** [common] Erreur 1 make[7]: Leaving directory `/root/freeradius-1.0.2/src/modules/rlm_sql' make[6]: *** [static] Erreur 2 make[6]: Leaving directory `/root/freeradius-1.0.2/src/modules/rlm_sql' make[5]: *** [common] Erreur 1 make[5]: Leaving directory `/root/freeradius-1.0.2/src/modules' make[4]: *** [all] Erreur 2 make[4]: Leaving directory `/root/freeradius-1.0.2/src/modules' make[3]: *** [common] Erreur 1 make[3]: Leaving directory `/root/freeradius-1.0.2/src' make[2]: *** [all] Erreur 2 make[2]: Leaving directory `/root/freeradius-1.0.2/src' make[1]: *** [common] Erreur 1 make[1]: Leaving directory `/root/freeradius-1.0.2' make: *** [all] Erreur 2 Thanks :) - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

