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 wrote

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 . 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
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 > packag

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
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-1.0-2.tar.bz2: Old files ?

2003-08-16 Thread Corinna Vinschen
On Fri, Aug 15, 2003 at 10:18:52PM -0300, Fr?d?ric L. W. Meunier wrote: > According to http://sources.redhat.com/ml/cygwin-apps/2003-08/msg00151.html > > crypt and irc were updated and repackaged to .bz2, but > apparently only irc was recompiled. crypt.exe and libcrypt.a > (and all other files) ha

Re: crypt command

2002-04-13 Thread Sam Edge
> Its very easy to knock your self up a crypt. Perl has a crypt function so it > should be very easy to create a crypt that takes the plain text password on > stdin. It would also very easy to do in 'C' (although it appears that mcrypt > will do the job). mcrypt has (old) crypt compatibility but

Re: crypt command

2002-04-04 Thread Corinna Vinschen
On Wed, Apr 03, 2002 at 01:00:09PM -0800, Gupta, Sanjay wrote: > Copy ctype.h and _mingw.h to /usr/include direcctory DON'T DO THIS! MingW headers have no business in /usr/include. And it's *especially* not the right way to port a package. Corinna -- Corinna Vinschen Please

RE: crypt command

2002-04-03 Thread Gupta, Sanjay
Richard, I was able to compile mhash library on cygwin. Copy ctype.h and _mingw.h to /usr/include direcctory and I have changed the following line configure file. CFLAGS="${CFLAGS} " #CFLAGS="${CFLAGS} -mno-cygwin" I was able to compile mhash and libmcrypt but still I am getting error in mcrypt

RE: crypt command

2002-04-03 Thread Richard Campbell
>If the Cygwin build ends up trying to pull in Mingw header files, the >configuration of the package is wrong. That could be a package problem >though. I expect it's just an indicator of a configuration issue. The >segv would be another. The mhash package is definitely intended to be built

RE: crypt command

2002-04-03 Thread Larry Hall (RFK Partners, Inc)
At 11:09 AM 4/3/2002, Richard Campbell wrote: > >Perhaps you'd be better off building this with Cygwin (i.e. sans >-mno-cygwin)? > >I tried that. mhash uses some functions that are defined in that >ctype.h file. Things start going downhill from that point. I suspect my >replacement >of the fun

RE: crypt command

2002-04-03 Thread Richard Campbell
>Perhaps you'd be better off building this with Cygwin (i.e. sans -mno-cygwin)? I tried that. mhash uses some functions that are defined in that ctype.h file. Things start going downhill from that point. I suspect my replacement of the functions was flawed. I eventually got it to build, but

Re: crypt command

2002-04-03 Thread Larry Hall (RFK Partners, Inc)
At 06:02 PM 4/2/2002, Gupta, Sanjay wrote: >Since the crypt command in cygwin does not work same as crypt command in >Unix, so somebody suggesed use mcrypt command >(http://mcrypt.hellug.gr/mcrypt/index.html) , I was able to download mcrypt >source and there required library files Libmhash and Lib

RE: crypt command

2002-04-03 Thread Richard Campbell
Yeah, I got this same problem. I posted a question over on the mingw mailing list, but got no responses. Might be worth reposting this over there. [EMAIL PROTECTED] -Richard Campbell. -Original Message- From: Gupta, Sanjay [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 02, 2002 6:03

Re: crypt command

2002-03-25 Thread Mark Himsley
On Mon, 25 Mar 2002 09:22:28 -0500 you wrote: >I looked at it. The crypt that comes with cygwin appears to do something >different than [I, Sanjay] expected, at least on at least Sanjay's system >and mine. [snip] >I conclude that this crypt is designed to only print out a key for a given >salt

RE: crypt command

2002-03-25 Thread Richard Campbell
I looked at it. The crypt that comes with cygwin appears to do something different than [I, Sanjay] expected, at least on at least Sanjay's system and mine. Output from crypt seems to stop at 14 bytes: bash-2.05a$ man apropos >out bash-2.05a$ crypt mypass encryptedout bash-2.05a$ ls -la total

Re: crypt command

2002-03-24 Thread Mark Himsley
It appears that the `crypt` from your unix is different from the `crypt` package in cygwin and they are both different from the `crypt` in the Linux installs I have. Why not try to find the source from your version and compile it your self, or even write your own version? On Fri, 22 Mar 2002 13:

RE: crypt command

2002-03-22 Thread Gupta, Sanjay
ame > encryptedfilename where filename is the name of file you want to encrypt. -Original Message- From: Richard Campbell [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:40 PM To: Gupta, Sanjay Subject: RE: crypt command Specifically, crypt is in the "crypt" package, under the

RE: Crypt Command

2002-03-20 Thread Gupta, Sanjay
The encryption and decryption has to be done inside a shell script, so I can't use vi -x filename. Is there any other way ? Thanks you culd use vi -x file name then it asks you for a key next time you view the file you have to enter the crypth key >Mailing-List: contact [EMAIL PROTECTED]; run

Re: crypt 1.0-1 - Errors linking a C program

2002-02-02 Thread Jon Foster
Hi Ben, > $ gcc -lcrypt -o app main.c > undefined reference to `crypt' > I've tried gcc with and without -lcrypt... any ideas? Try: $ gcc -o app main.c -lcrypt >From http://cygwin.com/faq/faq_4.html#SEC93 : : gcc processes the files listed on the command line in : sequence and will only resol

Re: crypt()

2002-01-16 Thread Corinna Vinschen
On Wed, Jan 16, 2002 at 11:33:10PM -, [EMAIL PROTECTED] wrote: > > hiya, > > > > ive included #include > > > > and am using crypt() - why can't i compile? > > > > gcc -lcrypt file.c -o file > > > > unresolved linker error (crypt undefined?) Off-topic since that's just wrong usage of gcc