On Fri, 21 Feb 2003, Ina Patricia Lopez wrote: > hi! > im trying xtradius and mysql from > http://xtradius.sourceforge.net/documentation/mysql_howto.html but > i get through radauth compilation part. im getting this: > > # make > gcc -c radauth.c -I/usr/include/mysql > radauth.c: In function `main': > radauth.c:32: warning: assignment makes pointer from integer without a > cast > radauth.c:36: warning: assignment makes pointer from integer without a > cast > radauth.c:37: warning: assignment makes pointer from integer without a > cast > gcc -o radauth radauth.o -L/usr/lib/mysql -lmysqlclient -DCRYPT -lcrypt > /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function > `my_uncompress': > my_compress.o(.text+0xaa): undefined reference to `uncompress' > /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function > `my_compress_alloc': > my_compress.o(.text+0x13c): undefined reference to `compress' > collect2: ld returned 1 exit status > make: *** [radauth] Error 1 >
in the part of the makefile which says: gcc -o radauth radauth.o -L/usr/lib/mysql -lmysqlclient -DCRYPT -lcrypt add a '-lz' (without the quotes) to include the compress library. > i'd appreciate any help. HTH Ian -- FLIP MAGAZINE, GLOBE QUEST and MOSSIMO bring to you: "New Worlds" - The 1st Phil. Science Fiction & Fantasy Convention March 12, 2003, Premiere THX Theater Complex For more information, visit http://www.newworlds.tk _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] Fully Searchable Archives With Friendly Web Interface at http://marc.free.net.ph To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
