crypt function undeclared!!!

2003-08-26 Thread Ivan Hernandez
hello, i'm trying to compile some anti-spamm SMTP reverse proxy that i have used on linux Debian on cygwin and it says that crypt function is undeclared. Someone must have found the same problem before, and would know the right action in order to make it work correctly. Please, give me more

Re: crypt function undeclared!!!

2003-08-26 Thread Igor Pechtchanski
On Tue, 26 Aug 2003, Ivan Hernandez wrote: hello, i'm trying to compile some anti-spamm SMTP reverse proxy that i have used on linux Debian on cygwin and it says that crypt function is undeclared. Someone must have found the same problem before, and would know the right action in order to

Re: crypt function undeclared!!!

2003-08-26 Thread Ivan Hernandez
Yes, i did, but i have not found a libcrypt package, i installed crypt package only. Igor Pechtchanski wrote: On Tue, 26 Aug 2003, Ivan Hernandez wrote: hello, i'm trying to compile some anti-spamm SMTP reverse proxy that i have used on linux Debian on cygwin and it says that crypt function

Re: crypt function undeclared!!!

2003-08-26 Thread Igor Pechtchanski
It's all in one package, see http://cygwin.com/cgi-bin2/package-cat.cgi?file=crypt/crypt-1.0-2. You are #including crypt.h, right? And linking with -lcrypt? Igor On Tue, 26 Aug 2003, Ivan Hernandez wrote: Yes, i did, but i have not found a libcrypt package, i installed crypt package

Re: crypt function undeclared!!!

2003-08-26 Thread Ivan Hernandez
Yes, but i will continue trying and will give the results if i have luck. Igor Pechtchanski wrote: It's all in one package, see http://cygwin.com/cgi-bin2/package-cat.cgi?file=crypt/crypt-1.0-2. You are #including crypt.h, right? And linking with -lcrypt? Igor On Tue, 26 Aug 2003, Ivan

Re: crypt function undeclared!!!

2003-08-26 Thread Igor Pechtchanski
One thing that might help is issuing the failing compile command with a -E gcc flag instead of -c to get the result of the preprocessor (on stdout). You can then see if the declaration of crypt() actually makes it into the preprocessed source. Igor On Tue, 26 Aug 2003, Ivan Hernandez