From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12028 invoked by alias); 26 Aug 2003 17:28:32 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 12020 invoked from network); 26 Aug 2003 17:28:31 -0000 Received: from unknown (HELO slinky.cs.nyu.edu) (128.122.20.14) by sources.redhat.com with SMTP; 26 Aug 2003 17:28:31 -0000 Received: from slinky.cs.nyu.edu (localhost [127.0.0.1]) by slinky.cs.nyu.edu (8.12.9+Sun/8.12.9) with ESMTP id h7QHSVmL000892; Tue, 26 Aug 2003 13:28:31 -0400 (EDT) Received: from localhost (pechtcha@localhost) by slinky.cs.nyu.edu (8.12.9+Sun/8.12.2/Submit) with ESMTP id h7QHSUdF000888; Tue, 26 Aug 2003 13:28:31 -0400 (EDT) X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 26 Aug 2003 19:39:00 -0000 From: Igor Pechtchanski Reply-To: cygwin@cygwin.com To: Ivan Hernandez cc: cygwin@cygwin.com Subject: Re: crypt function undeclared!!! In-Reply-To: <3F4B94B1.70609@globalsis.com.ar> Message-ID: References: <3F4B4A04.2000804@globalsis.com.ar> <3F4B4F5D.2000106@globalsis.com.ar> <3F4B94B1.70609@globalsis.com.ar> Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2003-08/txt/msg01370.txt.bz2 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 > >. > >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/