delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/29/03:56:48

From: ron_w AT efn DOT org (Ron Williams)
Newsgroups: comp.os.msdos.djgpp
Subject: Problems compiling Cryptolib
Date: 29 Jul 1999 02:18:16 -0500
Organization: The Compleat Computer
Message-ID: <37a0f9c4.39846043@news3.newscene.com>
X-Newsreader: Forte Agent 1.5/32.452
MIME-Version: 1.0
Lines: 45
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Greetings, all.

The latest version of the Cryptlib encrytion library
(http://www.cs.auckland.ac.nz/~pgut001/cryptlib/) contains a make file
specifically for djgpp v2. I have been trying unsucessfully to get the
library compiled. I keep getting the following error, after which gcc
aborts:

No command name seen
make.exe: *** [libcrypt.a] Error -1

As a rank beginner with C (I come from a database programming
background), I am having trouble finding the error(s). Actually, there
shouldn't BE any errors as this make file and the cryptlib routines
are from the same package.

I noticed that if I deleted the #if 0/#endif directives along with the
code between them, I can get further and further down the compile
sequence, but since I can't seem to find a way of outputting a source
listing with errors marked, I'm stumped.

My installation of djgpp is plain vanilla; I have the djgpp and path
environment settings in my autoexec.bat file; I have the proper
versions of all the utility routines as outlined in Cryptlib's djgpp
make file; but, I just can't get Cryptlib to create the libcrypt.a
library file.

Has anyone gotten Cryptlib to compile? Can anyone suggest any source
code modifications that need to be made in order for it to compile
properly?

My whole purpose with this is to try and duplicate some of the DES
challenges put out by RSA and, at the same time, learn a bit about C.
Once I can create libcrypt.a, I assume I can just put it in /lib along
with des.h in /include and compile the RSA challenge program (it has
an "#include des.h" statement in it).

Thanks for your patience in wading through this. If anyone needs more
info, just let me know.

Best regards, Ron


Best regards, Ron
tamerlane AT poboxes DOT com

- Raw text -


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