This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: crypt()
- From: Andrew Markebo <flognat at flognat dot myip dot org>
- To: <paul at msunix dot co dot uk>
- Cc: <cygwin-xfree at cygwin dot com>
- Date: 17 Jan 2002 20:14:26 +0100
- Subject: Re: crypt()
- References: <001001c19f7f$4d422cd0$7f6638d4@seraphina>
The wrong order, it should be
gcc -o file file.c -lcrypt
Basically, the library switch should be after the usage of functions
in it..
/Andy
| >
| > gcc -lcrypt file.c -o file
| >
| > unresolved linker error (crypt undefined?)
--
The eye of the beholder rests on the beauty!