On Mon, 23 Apr 2001, Schoenwaelder Oliver wrote:
> Hi,
>
> for use with openssh I tried to build openssl. It fails due to undefined
> symbol problems, but not the ones listed in README.
> I made "make clean ; ./Configure unixware-2.1 ; ./Configure gcc ; make"
> What's wrong?
>
Did you try "make clean ; ./config ; make" ?
There is no gcc target for UnixWare 2.1
The cc targets work just fine.
> Thx,
>
> Oliver
>
> OpenSSL self-test report:
>
> OpenSSL version: 0.9.6a
> Last change: Fix a couple of memory leaks in PKCS7_dataDecode()...
> OS (uname): UNIX_SV eks-svr 4.2MP 2.1.3 i386 x86at
> OS (config): i386-whatever-unixware213
> Target (default): unixware-2.1
> Target: gcc
> Compiler: gcc version 2.7.2.2
>
> Failure!
> ----------------------------------------------------------------------------
> -
> + rm -f libcrypto
> + rm -f libssl
> making all in crypto...
> making all in crypto/md2...
> making all in crypto/md4...
[snip]
> making all in ssl...
> making all in rsaref...
> making all in apps...
> rm -f openssl
> gcc -o openssl -DMONOLITH -I../include -O3 openssl.o verify.o
> asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o gendh.o errstr.o ca.o
> pkcs7.o crl2p7.o crl.o rsa.o rsautl.o dsa.o dsaparam.o x509.o genrsa.o
> gendsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o
> app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o pkcs8.o spkac.o
> smime.o rand.o -L.. -lssl -L.. -lcrypto
You are missing the socket and nsl libraries (-lsocket -lnsl)
Fix your Makefile
> Undefined first referenced
> symbol in file
> accept s_socket.o
> socket s_socket.o
[snip]
>
--
Tim Rice Multitalents (707) 887-1469
[EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]