Please look at the following and if possible kindly advise to the best way forward. The freeradius-snapshot-20040525 is installed on RH9 (2.4.20-8) as per instructions:


From http://www.dslreports.com/forum/remark,9286052~mode=flat

./configure --with-openssl-includes=/usr/local/openssl/include \
--with-openssl-libraries=/usr/local/openssl/lib \
--prefix=/usr/local/radius
make


I installed RH9 issue of mysql (not dev.) to see if it would solve the problem...it did not. MySql is not required at this stage of the test.



I am new to Linux and your patience would be greatly appreciated.

Making static in rlm_sql_mysql...
gmake[10]: Entering directory `/usr/src/radius/freeradius-snapshot-20040525/src/modules/rlm_sql/drivers/rlm_sql_mysq
l'
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arit
h -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-
externs -W -Wredundant-decls -Wundef -I../.. -I../../../../include -I'/usr/include' -I/usr/src/radius/freeradius-sn
apshot-20040525/libltdl -c sql_mysql.c -o sql_mysql.o
sql_mysql.c:39:20: errmsg.h: No such file or directory
sql_mysql.c:40:19: mysql.h: No such file or directory
sql_mysql.c:47: parse error before "MYSQL"
sql_mysql.c:47: warning: no semicolon at end of struct or union
sql_mysql.c:48: warning: type defaults to `int' in declaration of `sock'
sql_mysql.c:48: warning: data definition has no type or storage class
sql_mysql.c:49: parse error before '*' token
sql_mysql.c:49: warning: type defaults to `int' in declaration of `result'
sql_mysql.c:49: warning: data definition has no type or storage class
sql_mysql.c:51: parse error before '}' token
sql_mysql.c:51: warning: type defaults to `int' in declaration of `rlm_sql_mysql_sock'
sql_mysql.c:51: warning: data definition has no type or storage class
sql_mysql.c: In function `sql_init_socket':
sql_mysql.c:62: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:62: (Each undeclared identifier is reported only once
sql_mysql.c:62: for each function it appears in.)
sql_mysql.c:65: parse error before ')' token
sql_mysql.c:76: warning: implicit declaration of function `mysql_init'
sql_mysql.c:77: warning: implicit declaration of function `mysql_real_connect'
sql_mysql.c:84: `CLIENT_FOUND_ROWS' undeclared (first use in this function)
sql_mysql.c:86: warning: implicit declaration of function `mysql_error'
sql_mysql.c:86: warning: format argument is not a pointer (arg 3)
sql_mysql.c: In function `sql_destroy_socket':
sql_mysql.c:103: warning: unused parameter `config'
sql_mysql.c: In function `sql_check_error':
sql_mysql.c:122: `CR_SERVER_GONE_ERROR' undeclared (first use in this function)
sql_mysql.c:123: `CR_SERVER_LOST' undeclared (first use in this function)
sql_mysql.c:131: `CR_OUT_OF_MEMORY' undeclared (first use in this function)
sql_mysql.c:132: `CR_COMMANDS_OUT_OF_SYNC' undeclared (first use in this function)
sql_mysql.c:133: `CR_UNKNOWN_ERROR' undeclared (first use in this function)
sql_mysql.c: In function `sql_query':
sql_mysql.c:151: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:160: warning: implicit declaration of function `mysql_query'
sql_mysql.c:161: warning: implicit declaration of function `mysql_errno'
sql_mysql.c: In function `sql_store_result':
sql_mysql.c:175: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:181: warning: implicit declaration of function `mysql_store_result'
sql_mysql.c:184: warning: format argument is not a pointer (arg 3)
sql_mysql.c:173: warning: unused parameter `config'
sql_mysql.c: In function `sql_num_fields':
sql_mysql.c:202: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:204:5: warning: "MYSQL_VERSION_ID" is not defined
sql_mysql.c:207: warning: implicit declaration of function `mysql_num_fields'
sql_mysql.c:211: warning: format argument is not a pointer (arg 3)
sql_mysql.c:199: warning: unused parameter `config'
sql_mysql.c: In function `sql_num_rows':
sql_mysql.c:257: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:260: warning: implicit declaration of function `mysql_num_rows'
sql_mysql.c:255: warning: unused parameter `config'
sql_mysql.c: In function `sql_fetch_row':
sql_mysql.c:277: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:286: warning: implicit declaration of function `mysql_fetch_row'
sql_mysql.c:286: warning: assignment makes pointer from integer without a cast
sql_mysql.c:275: warning: unused parameter `config'
sql_mysql.c: In function `sql_free_result':
sql_mysql.c:305: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:308: warning: implicit declaration of function `mysql_free_result'
sql_mysql.c:303: warning: unused parameter `config'
sql_mysql.c: In function `sql_error':
sql_mysql.c:327: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:330: warning: return discards qualifiers from pointer target type
sql_mysql.c:332: warning: return makes pointer from integer without a cast
sql_mysql.c:325: warning: unused parameter `config'
sql_mysql.c: In function `sql_close':
sql_mysql.c:346: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:349: warning: implicit declaration of function `mysql_close'
sql_mysql.c:344: warning: unused parameter `config'
sql_mysql.c: In function `sql_finish_query':
sql_mysql.c:364: warning: unused parameter `sqlsocket'
sql_mysql.c:364: warning: unused parameter `config'
sql_mysql.c: In function `sql_affected_rows':
sql_mysql.c:395: `mysql_sock' undeclared (first use in this function)
sql_mysql.c:397: warning: implicit declaration of function `mysql_affected_rows'
sql_mysql.c:393: warning: unused parameter `config'
gmake[10]: *** [sql_mysql.o] Error 1
gmake[10]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525/src/modules/rlm_sql/drivers/rlm_sql_mysql
'




gmake[9]: *** [common] Error 1
gmake[9]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525/src/modules/rlm_sql/drivers'
gmake[8]: *** [static] Error 2
gmake[8]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525/src/modules/rlm_sql/drivers'
gmake[7]: *** [common] Error 1
gmake[7]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525/src/modules/rlm_sql'
gmake[6]: *** [static] Error 2
gmake[6]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525/src/modules/rlm_sql'
gmake[5]: *** [common] Error 1
gmake[5]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525/src/modules'
gmake[3]: *** [common] Error 1
gmake[3]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525/src'
gmake[1]: *** [common] Error 1
gmake[1]: Leaving directory `/usr/src/radius/freeradius-snapshot-20040525'
make: *** [all] Error 2




- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to