[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Error in compilation with function crypt( )



use -lcrypt option with gcc.

amit
----- Original Message ----- 
From: "Santosh Singh" <sanhackin@xxxxxxxxx>
To: <linux-india-programmers@xxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, November 22, 2000 10:45 AM
Subject: [LIP] Error in compilation with function crypt( )


> Hi
>   anyone can help me when I tried to compile a program
> using function crypt(), encrypt() defined in unistd.h
> I am not getting it. As it is defined as extern
> function. I have also tried with gcc -O option but
> helpless. I have also included crypt.h but again same
> error. Using grep I found crypt( ) in unistd.h and
> crypt.h. Plz help me.
>  Santosh
> 
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
> 
> ---------------------------------------------
> The mailing list archives are available at
> http://lists.linux-india.org/cgi-bin/wilma/LIP
>