undefined reference to uncompress

2001-01-26 Thread joao araujo
Hi, I installed mysql 3.23.32 in my linux machine. Unfortunately, when I try to compile an application I get the following error: libmysqlclient.a (my_compress.o): In function my_uncompress undefined reference to uncompress.. could you please help me to find the compress

Re: SV: undefined reference to `uncompress' ?

2001-01-25 Thread Ed Carp
Jarmo Paavilainen ([EMAIL PROTECTED]) writes: > I could answer "read the manual", "look it up in the FAQ" and so on. > > But add "-lz" to you list of libraries to link in (ie libz.so). I couldn't find it in the manual, where did you find it hiding? Thank goodness for this list! -- Ed Carp, N7

Re: undefined reference to `uncompress' ?

2001-01-25 Thread Ed Carp
Alexandre STEFANI ([EMAIL PROTECTED]) writes: > Each time I develop a tiny program using mysql I have this mistake, then I > remember : it uses the zlib. > So in Your Makefile, there is a "LIBS = ..." line somewhere ; just > append "-lz". Hmmm...when did this start? I just upgraded the server f