This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
crypt 1.0-1 - Errors linking a C program
- From: "Ben Stewart" <ben at whsc dot vic dot edu dot au>
- To: <cygwin at cygwin dot com>
- Date: Sat, 2 Feb 2002 22:56:00 +1100
- Subject: crypt 1.0-1 - Errors linking a C program
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/