delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/26/13:28:51

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 26 Aug 2003 13:28:30 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Ivan Hernandez <ivan DOT hernandez AT globalsis DOT com DOT ar>
cc: cygwin AT cygwin DOT com
Subject: Re: crypt function undeclared!!!
In-Reply-To: <3F4B94B1.70609@globalsis.com.ar>
Message-ID: <Pine.GSO.4.56.0308261326020.601@slinky.cs.nyu.edu>
References: <3F4B4A04 DOT 2000804 AT globalsis DOT com DOT ar> <Pine DOT GSO DOT 4 DOT 56 DOT 0308260805540 DOT 601 AT slinky DOT cs DOT nyu DOT edu>
<3F4B4F5D DOT 2000106 AT globalsis DOT com DOT ar> <Pine DOT GSO DOT 4 DOT 56 DOT 0308260820510 DOT 601 AT slinky DOT cs DOT nyu DOT edu>
<3F4B94B1 DOT 70609 AT globalsis DOT com DOT ar>
Importance: Normal
MIME-Version: 1.0

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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019