This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem with crypt function
- To: help-gcc at gnu dot org
- Subject: Problem with crypt function
- From: "Alex Shi" <chpshi at connection dot com>
- Date: Thu, 26 Aug 1999 14:48:38 -0400
- Newsgroups: gnu.gcc.help
- Xref: wodc7nx0 gnu.gcc.help:714
Hello all,
I need to call crypt(char*key, char*salt) function in my program, but
the compiler tells: "undefined reference to crypt". I have checked the
unistd.h file, the prototype of crypt is do defined in it, and man(ual)
also has an clear entry for the function. I have tried two different
unix compiler, the problem is just the same.
Thanks for in advance for all the help and answers!