This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crypt function undeclared!!!


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 wrote:

> 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 Hernandez wrote:
> >
> >
> >
> >>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 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 indications, i searched google on "cygwin, crypt
> >>>>funcion undeclared" but i have found just some old garbage about
> >>>>obsoleted ports od postgresql.
> >>>>
> >>>>Thanks you for all!
> >>>>Ivan Hernandez, from Argentina
> >>>>
> >>>>
> >>>Ivan,
> >>>
> >>>Did you install the "crypt" package?
> >>>      Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]