Libraries issue

QASIM RAO qasim2490 at hotmail.com
Mon Feb 11 13:15:03 CET 2013


hi,i am facing problem during compilation of freeradius rlm_sql_mysql driver

[root at localhost rlm_sql_mysql]# ./configure checking for gcc... gccchecking for C compiler default output file name... a.outchecking whether the C compiler works... yeschecking whether we are cross compiling... nochecking for suffix of executables... checking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ANSI C... none neededchecking for mysql_config... yeschecking for pthread_create in -lpthread... yeschecking for mysql_init in -lmysqlclient_r (using mysql_config)... yeschecking for mysql.h (using mysql_config)... yesconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating config.hconfig.status: config.h is unchanged[root at localhost rlm_sql_mysql]# make/usr/src/radius-iptv/libtool --mode=compile gcc  -g -O2  -I../.. -I/usr/src/radius-iptv/src/include -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1  -c sql_mysql.cmkdir .libs gcc -g -O2 -I../.. -I/usr/src/radius-iptv/src/include -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -c sql_mysql.c  -fPIC -DPIC -o .libs/sql_mysql.osql_mysql.c: In function 'sql_error':sql_mysql.c:335: warning: return discards qualifiers from pointer target type gcc -g -O2 -I../.. -I/usr/src/radius-iptv/src/include -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -fPIC -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -DMY_PTHREAD_FASTMUTEX=1 -c sql_mysql.c -o sql_mysql.o >/dev/null 2>&1/usr/src/radius-iptv/libtool --mode=link gcc -release 1.1.6 \        -module -export-dynamic   -o rlm_sql_mysql.la \        -rpath /usr/local/lib sql_mysql.lo -L/usr/lib64 -lmysqlclient_r -lpthread -lm -lrt -ldl gcc -shared  .libs/sql_mysql.o  -L/usr/lib64 -lmysqlclient_r -lpthread -lm -lrt -ldl  -Wl,-soname -Wl,rlm_sql_mysql-1.1.6.so -o .libs/rlm_sql_mysql-1.1.6.so(cd .libs && rm -f rlm_sql_mysql.so && ln -s rlm_sql_mysql-1.1.6.so rlm_sql_mysql.so)ar cru .libs/rlm_sql_mysql.a  sql_mysql.oranlib .libs/rlm_sql_mysql.acreating rlm_sql_mysql.la(cd .libs && rm -f rlm_sql_mysql.la && ln -s ../rlm_sql_mysql.la rlm_sql_mysql.la)cp: target `../lib' is not a directorymake: *** [build-module] Error 1



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20130211/35c52638/attachment.html>


More information about the Freeradius-Users mailing list