Hello everyone..

I am trying to compile a CGI program written in C statically and I keep getting this 
one error.  I am using MySQL version 3.23.31, the compiler error below shows that it 
is libmysqlclient.a that is having problems.

Can anyone help?

-Lgd -lgd -lcrypt -I/usr/local/mysql/include/mysql -L/usr/local/mysql/lib/mysql 
-lmysqlclient
/usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o): In function 
`my_uncompress':
my_compress.o(.text+0x99): undefined reference to `uncompress'
/usr/local/mysql/lib/mysql/libmysqlclient.a(my_compress.o): In function 
`my_compress_alloc':
my_compress.o(.text+0x128): undefined reference to `compress'
collect2: ld returned 1 exit status
make[1]: *** [webchart.cgi] Error 1
make[1]: Leaving directory `/usr/local/prj/working/djuntgen/webchart_dev'
make: *** [all] Error 2


Thanks for your help..
    --Dave J.


---------------
 Dave W. Juntgen                                     [EMAIL PROTECTED]
 Medical Informatics Engineering, Inc.       http://www.mieweb.com/
 4101 W. Jefferson Blvd.                           Phone: 219-459-6270
 Fort Wayne, IN  46804                             Fax: 219-459-6271


Reply via email to