Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: "Gerrit P. Haase" Organization: Esse keine toten Tiere To: "kalmen chia" Date: Wed, 6 Jun 2001 08:29:50 +0200 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: 1.3.2: question about zlib -undefine referemce to "Compress" Reply-to: gerrit DOT haase AT t-online DOT de CC: cygwin AT cygwin DOT com Message-ID: <3B1DE9FE.6040.E85C52A@localhost> In-reply-to: <000b01c0ee4f$4c52dd60$03e897ca@localhost> X-mailer: Pegasus Mail for Win32 (v3.12cDE) 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