Inconsistency between crypto.h and cryptlib.c error

Posted on 2005-04-01
Medium Priority
Last Modified: 2013-12-16
I'm trying to install OpenSSL on my unix box (SCO Openserver 5.0.5) but when I use "make" I get the following:

# make
making all in crypto...
make[1]: Entering directory `/openssl-0.9.7b/crypto'
gcc -I. -I.. -I../include -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5 -O3 -fomi
t-frame-pointer -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o cryptlib.o cryptlib.c
cryptlib.c:109: #error "Inconsistency between crypto.h and cryptlib.c"
make[1]: *** [cryptlib.o] Error 1
make[1]: Leaving directory `/openssl-0.9.7b/crypto'
make: *** [sub_all] Error 1

What does it mean and how can I solve it?
Question by:drodalejo

Expert Comment

ID: 13689931

do you have another version of [OPEN]SSL already installed?

check for other versions of crypto.h already in your system :

   find /usr/include -name crypto.h

if so, go to the crypto.c file and replace <crypto.h> with "crypto.h", this way you are telling the complier to look for the local version before the system installed ones.

LVL 38

Accepted Solution

yuzh earned 2000 total points
ID: 13694272
Why not just simply download the binay package from:
    ( http://www.sco.com/skunkware/)
     and installed it

    If you still want to complie it from source, please read the README file comes with
the package and make sure that you install all the dependencies.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question