Good Morning -
Thank you so much, your suggestion worked perfectly!
Best Regards,
Rob
--- Grigory Bakunov <[EMAIL PROTECTED]> wrote:
> Date |Mon, 6 Aug 2001 14:46:13 -0700 (PDT)
> From |Rob Doornbos <[EMAIL PROTECTED]>
>
> Hello!
>
> RD> Good Afternoon -
>
> RD> I receive the following error when attempting to
> RD> compile an application to use the C API.
>
> RD> gcc -oclient1 client1.c
> -I/usr/local/mysql/include
> RD> -L/usr/local/mysql/lib -lmysqlclient
>
> RD>
>
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o):
> RD> In function `my_uncompress':
> RD> my_compress.o(.text+0x9a): undefined reference
> to
> RD> `uncompress'
>
> RD>
>
/usr/local/mysql/lib/libmysqlclient.a(my_compress.o):
> RD> In function `my_compress_alloc':
> RD> my_compress.o(.text+0x12a): undefined reference
> to
> RD> `compress'
> RD> collect2: ld returned 1 exit status
>
> RD> Any ideas would be much appreciated.
>
> RD> Best Regards,
> RD> Rob
> Try to add -lz to gcc command line,
> gcc -oclient1 client1.c -I/usr/local/mysql/include
> -L/usr/local/mysql/lib -lmysqlclient -lz
>
>
___________________________________________________________________
> Truly yours,
> Grigory Bakunov
>
> ASPLinux Support Team
>
http://www.asplinux.ru
=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Robert A. Doornbos, Jr.
Leader, Forecast Systems Group
WeatherNews, Inc. (USA)
[EMAIL PROTECTED] (530) 893-0308
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php