I get this error message when trying to compile a C program with a MySQL function and I have got #include <mysql.h>
aginamist@shar:~/code/mysql-max-3.23.49a-pc-linux-gnu-i686/include$ gcc test.c -o test -L'/home/aginamist/code/mysql-max-3.23.49a-pc-linux-gnu-i686/lib' -lmysqlclient -lm
/home/aginamist/code/mysql-max-3.23.49a-pc-linux-gnu-i686/lib/libmysqlclient.a(my_compress.o): In function my_uncompress':
my_compress.o(.text+0xa2): undefined reference touncompress'
/home/aginamist/code/mysql-max-3.23.49a-pc-linux-gnu-i686/lib/libmysqlclient.a(my_compress.o): In function my_compress_alloc':
my_compress.o(.text+0x13a): undefined reference tocompress'
collect2: ld returned 1 exit status