Found it myself... checking the documentation isn't such a bad idea...
adding -lz did the trick.
/Lars
> Getting the following errors when trying to link client application
> written in C:
>
> /usr/lib/mysql/libmysqlclient.a(my_compress.o): In function
> `my_uncompress':
> my_compress.o(.text+
Getting the following errors when trying to link client application
written in C:
/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_al