Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <000901c1abe0$96107710$1066460a@garbageworld> From: "Ben Stewart" To: Subject: crypt 1.0-1 - Errors linking a C program Date: Sat, 2 Feb 2002 22:56:00 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Sina-Mail-Agent: sinadeliver-3.13-1.80.4.1 G'day all, I've been trying to compile an app that makes use of crypt.h, and get the following errors whenever trying to compile: $ gcc -lcrypt -o app main.c (5 times, different offsets) /f/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccriYGpS.o(.text+0x298f9):main.c: undefined reference to `crypt' /f/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccriYGpS.o(.text+0x5d5ca):main.c: more undefined references to `crypt' follow collect2: ld returned 1 exit status I've tried gcc with and without -lcrypt... any ideas? Pls reply directly, not on the mailing list Thanks -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/