Using openssl-0.9.8a or openssl-0.9.8-stable-SNAP-20051013, and the
configuration "./Configure BSD-x86-elf 386 no-shared no-ssl2" on
FreeBSD 5.3 or a similar command line on Solaris 8, the make fails:
( :; LIBDEPS="${LIBDEPS:--L.. -lssl -L.. -lcrypto }";
LDCMD="${LDCMD:-gcc}"; LDFLAGS="${LDFLAGS:--DOPENSSL_THREADS -pthread
-D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIOS -O3
-fomit-frame-pointer -Wall -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM
-DRMD160_ASM -DAES_ASM}"; LIBPATH=`for x in $LIBDEPS; do if echo $x | grep '^
*-L' > /dev/null 2>&1; then echo $x | sed -e 's/^ *-L//'; fi; done | uniq`;
LIBPATH=`echo $LIBPATH | sed -e 's/ /:/g'`;
LD_LIBRARY_PATH=$LIBPATH:$LD_LIBRARY_PATH ${LDCMD} ${LDFLAGS} -o
${APPNAME:=ssltest} ssltest.o ${LIBDEPS} )
ssltest.o(.text+0x2ad4): In function `main':
: undefined reference to `SSLv2_method'
*** Error code 1
Stop in /var/tmp/x/openssl-0.9.8-stable-SNAP-20051013/test.
*** Error code 1
Stop in /var/tmp/x/openssl-0.9.8-stable-SNAP-20051013/test.
*** Error code 1
Stop in /var/tmp/x/openssl-0.9.8-stable-SNAP-20051013.
The problem is that not all the references to SSLv2_method
are protected by OPENSSL_NO_SSL2. There may be similar
problems with no-ssl3.
"make report" also fails:
aalp02% make report
syntax error at util/selftest.pl line 87, near "err;"
syntax error at util/selftest.pl line 93, near "err;"
syntax error at util/selftest.pl line 110, near "err;"
syntax error at util/selftest.pl line 130, near "err;"
Execution of util/selftest.pl aborted due to compilation errors.
*** Error code 255
Stop in /var/tmp/x/openssl-0.9.8-stable-SNAP-20051013.
aalp02%
A patch to fix the compilation (and later use) of OpenSSL is attached.
--
Peter Jeremy
This email may contain privileged/confidential information. You may not copy or
disclose this email to anyone without the written permission of the sender. If
you have received this email in error please kindly delete this message and
notify the sender. Opinions expressed in this email are those of the sender
and not necessarily the opinions of the employer.
This email and any attached files should be scanned to detect viruses. No
liability will be accepted by the employer for loss or damage (whether caused
by negligence or not) as a result of email transmission.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]