This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: 1.3.2: question about zlib -undefine referemce to "Compress"
- To: "kalmen chia" <kalmenchia at hotmail dot com>
- Subject: Re: 1.3.2: question about zlib -undefine referemce to "Compress"
- From: "Gerrit P. Haase" <gerrit dot haase at t-online dot de>
- Date: Wed, 6 Jun 2001 08:29:50 +0200
- CC: cygwin at cygwin dot com
- Organization: Esse keine toten Tiere
- Reply-to: gerrit dot haase at t-online dot de
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