[plug] icradius compilation problems
Shane Short
shorty at matrix.net.au
Thu Jan 17 00:21:45 WST 2002
I'm having some problems compiling icradius on linux and FreeBSD.. here are the errors im getting, any help would be appreciated
freebsd# make
gcc -o radiusd radiusd.o dict.o files.o filters.o util.o md5.o attrprint.o acct.o radius.o pam.o log.o version.o proxy.o exec.o auth.o mysql.o timestr.o cache.o sql_module.o
auth.o: In function `unix_pass':
/usr/local/icradius-0.18.1/src/auth.c(.text+0x1dc): undefined reference to `crypt'
auth.o: In function `rad_check_password':
/usr/local/icradius-0.18.1/src/auth.c(.text+0x6c0): undefined reference to `crypt'
cache.o: In function `H_unix_pass':
/usr/local/icradius-0.18.1/src/cache.c:410: undefined reference to `crypt'
sql_module.o: In function `sql_create_socket':
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0x53): undefined reference to `mysql_init'
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0xad): undefined reference to `mysql_real_connect'
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0x18e): undefined reference to `mysql_real_connect'
sql_module.o: In function `sql_query':
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0x27e): undefined reference to `mysql_query'
sql_module.o: In function `sql_select_query':
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0x2f2): undefined reference to `mysql_query'
sql_module.o: In function `sql_store_result':
/usr/local/icradius-0.18.1/src/sql_module.c:104: undefined reference to `mysql_store_result'
/usr/local/icradius-0.18.1/src/sql_module.c:106: undefined reference to `mysql_error'
sql_module.o: In function `sql_num_fields':
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0x3f6): undefined reference to `mysql_field_count'
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0x427): undefined reference to `mysql_error'
sql_module.o: In function `sql_num_rows':
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0x47a): undefined reference to `mysql_num_rows'
sql_module.o: In function `sql_fetch_row':
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0x4c2): undefined reference to `mysql_fetch_row'
sql_module.o: In function `sql_free_result':
/usr/local/icradius-0.18.1/src/sql_module.c:185: undefined reference to `mysql_free_result'
sql_module.o: In function `sql_error':
/usr/local/icradius-0.18.1/src/sql_module.c:202: undefined reference to `mysql_error'
sql_module.o: In function `sql_close':
/usr/local/icradius-0.18.1/src/sql_module.c(.text+0x569): undefined reference to `mysql_close'
sql_module.o: In function `sql_affected_rows':
/usr/local/icradius-0.18.1/src/sql_module.c:261: undefined reference to `mysql_affected_rows'
sql_module.o: In function `sql_escape_string':
/usr/local/icradius-0.18.1/src/sql_module.c:277: undefined reference to `mysql_real_escape_string'
*** Error code 1
any ideas would be appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plug.org.au/pipermail/plug/attachments/20020117/83fe7420/attachment.html>
More information about the plug
mailing list