[EMAIL PROTECTED] wrote:
Your message cannot be posted because it appears to be either spam or
simply off topic to our filter. To bypass the filter you must include
one of the following words in your message:
sql,query,queries,smallint
If you just reply to this message, and include the entire t
08:37:28 -0500
To: Untung Rasidin <[EMAIL PROTECTED]>
Subject: Re: Error with libmyclient.a
> Untung Rasidin wrote:
>
> >You can use 'mysql_config' utility to determine the proper flags for
> >compiling and linking.
> >
> Where is the mysql_config utilit
I assume you use gcc, and your object file is :myclient.o
and executable file : is myclient
so try it:
gcc -o myclient myclient.o -L/usr/lib/mysql -lmysqlclient -lz
You can use 'mysql_config' utility to determine the proper flags for
compiling and linking.Example:
% mysql mysql_config --cflags
-
You need the zlib library...that's where compress is defined.
It can be found at http://www.gzip.org
Peter
<^_^>
-
Peter Grigor
Hoobly Free Classifieds
http://www.hoobly.com
- Original Message -
From: "Ron Sorber" <[EMAIL PROTECTED]>
To: <[EMA
> ./libmysqlclient.a(my_compress.o): In function `my_uncompress':
>
> my_compress.o(.text+0xaa): undefined reference to `uncompress'
>
> ./libmysqlclient.a(my_compress.o): In function `my_compress_alloc':
>
> my_compress.o(.text+0x13c): undefined reference to `compress'
>
> collect2: ld retur