1.3.2: question about zlib -undefine referemce to "Compress"

Gerrit P. Haase gerrit.haase@t-online.de
Tue Jun 5 23:29:00 GMT 2001


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



More information about the Cygwin mailing list