Help,
I am getting an error when running "make" for OpenSSL on a Solaris 2.6 Sun
machine here. I have successfully installed OpenSSL on other Sun machines
here, and I am only having problems on this one machine. I am somewhat new
to compiling software and do not know what to do to resolve this problem.
Here is some more info:
=========================================================================
% ./config -t
Operating system: sun4u-sun-solaris2
Configuring for solaris-sparcv9-gcc
/usr/local/bin/perl ./Configure solaris-sparcv9-gcc
=========================================================================
% make
making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo " /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */";
\
echo " #define CFLAGS \"gcc -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM\"";
\
echo " #define PLATFORM \"solaris-sparcv9-gcc\""; \
echo " #define DATE \"`date`\""; \
echo "#endif" ) >buildinf.h
gcc -I. -I../include -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
cryptlib.c
gcc -I. -I../include -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
mem.c
gcc -I. -I../include -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
mem_dbg.c
gcc -I. -I../include -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
cversion.c
gcc -I. -I../include -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
ex_data.c
gcc -I. -I../include -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
tmdiff.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/limits.h:117,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/syslimits.h:7,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/limits.h:11,
from tmdiff.c:94:
/usr/include/limits.h:116: No include path in which to find limits.h
*** Error code 1
make: Fatal error: Command failed for target `tmdiff.o'
Current working directory /var/tmp/openssl-0.9.5a/crypto
*** Error code 1
make: Fatal error: Command failed for target `all'
=========================================================================
% make report
Checking compiler...
ar: creating cctest.a
Running make...
making all in crypto...
gcc -I. -I../include -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
tmdiff.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/limits.h:117,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/syslimits.h:7,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/limits.h:11,
from tmdiff.c:94:
/usr/include/limits.h:116: No include path in which to find limits.h
*** Error code 1
make: Fatal error: Command failed for target `tmdiff.o'
Current working directory /var/tmp/openssl-0.9.5a/crypto
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /var/tmp/openssl-0.9.5a
Running make test...
c_rehash: rehashing skipped ('openssl' program not available)
touch rehash.time
testing...
gcc -I../include -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
bntest.c
(cd ../crypto; make -f Makefile.ssl)
making all in crypto...
gcc -I. -I../include -DTHREADS -D_REENTRANT -mcpu=ultrasparc -O3
-fomit-frame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -c
tmdiff.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/limits.h:117,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/syslimits.h:7,
from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.95.2/include/limits.h:11,
from tmdiff.c:94:
/usr/include/limits.h:116: No include path in which to find limits.h
*** Error code 1
make: Fatal error: Command failed for target `tmdiff.o'
Current working directory /var/tmp/openssl-0.9.5a/crypto
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /var/tmp/openssl-0.9.5a
*** Error code 1
make: Fatal error: Command failed for target `top'
Current working directory /var/tmp/openssl-0.9.5a/crypto
*** Error code 1
make: Fatal error: Command failed for target `../libcrypto.a'
Current working directory /var/tmp/openssl-0.9.5a/test
*** Error code 1
make: Fatal error: Command failed for target `tests'
Current working directory /var/tmp/openssl-0.9.5a
OpenSSL self-test report:
OpenSSL version: 0.9.5a
Last change: Make sure _lrotl and _lrotr are only used with MSVC....
OS (uname): SunOS cpfs72 5.6 Generic_105181-20 sun4u sparc
SUNW,Ultra-250
OS (config): sun4u-sun-solaris2
Target (default): solaris-sparcv9-gcc
Target: solaris-sparcv9-gcc
Compiler: gcc version 2.95.2 19991024 (release)
Failure!
[...]
Test report in file testlog
=========================================================================
If you have any suggestions, please email me back!
Thanks!
Jeff Koenig
[EMAIL PROTECTED]
Systems Administrator - Develepment Group
Telenisus - http://www.telenisus.com/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]