crypt 1.0-1 - Errors linking a C program

Ben Stewart ben@whsc.vic.edu.au
Sat Feb 2 03:52:00 GMT 2002


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/



More information about the Cygwin mailing list