Subject: Re: 1.3.2: question about zlib -undefine referemce to "Compress"
From: "Gerrit P. Haase" <[email-masked]>
To: "kalmen chia" <[email-masked]>
Cc: [email-masked]
Date: Wed, 6 Jun 2001 08:29:50 +0200

kalmen chia schrieb am 2001-06-06, 14:09:

Dear ,
After I compiled , it gave me this msg.

zc.o(.text+0x159):zc.c: undefined reference to `compress'
collect2: ld returned 1 exit status
make: *** [zc] Error 1

what happends to my code ? TQ for your attention

You need to link against libz:

$ gcc -o z.exe z.c -lz

-gph

-- 
=^..^=

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple