Hi Peter,

I think this has something to do with not including the appropriate
libraries for sockets.

try including the following libraries
-lsocket -lresolv -lnsl

thanks,
Vignesh



                                                                                       
                                   
                    "Peter Kassies"                                                    
                                   
                    <[EMAIL PROTECTED]       To:     <[EMAIL PROTECTED]>    
                                   
                    >                           cc:                                    
                                   
                    Sent by:                    Subject:     unable to compile openssl 
on solaris v8 64 bit               
                    owner-openssl-users@o                                              
                                   
                    penssl.org                                                         
                                   
                                                                                       
                                   
                                                                                       
                                   
                    05/28/02 02:42 PM                                                  
                                   
                    Please respond to                                                  
                                   
                    openssl-users                                                      
                                   
                                                                                       
                                   
                                                                                       
                                   




Hello all,

I'm using the openssl-0.9.6d (not engine) source.
My profile:
PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/ccs/bin:/distr/php/4.0.6/bin
export PATH
LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
export LD_LIBRARY_PATH


./Configure --prefix=/distr/openssl/0.9.6d --openssldir=/distr
/openssl/0.9.6d  os/compiler:gcc

At make the compilation fails.
<snip>
gcc -DMONOLITH -I../include -DTHREADS  -c  pkcs8.c
gcc -DMONOLITH -I../include -DTHREADS  -c  spkac.c
gcc -DMONOLITH -I../include -DTHREADS  -c  smime.c
gcc -DMONOLITH -I../include -DTHREADS  -c  rand.c
gcc -DMONOLITH -I../include -DTHREADS  -c  openssl.c
rm -f openssl
gcc -o openssl -DMONOLITH -I../include -DTHREADS openssl.o verify.o
asn1pars.o req.o dgst.o d
h.o dhparam.o enc.o passwd.o gendh.o errstr.o  ca.o pkcs7.o crl2p7.o crl.o
rsa.o rsautl.o ds
a.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
Undefined                       first referenced
 symbol                             in file
socket                              s_socket.o
gethostbyname                       s_socket.o
accept                              s_socket.o
bind                                s_socket.o
setsockopt                          s_socket.o
getservbyname                       s_socket.o
gethostbyaddr                       s_socket.o
getsockopt                          ../libcrypto.a(b_sock.o)
shutdown                            s_server.o
listen                              s_socket.o
connect                             s_socket.o
ld: fatal: Symbol referencing errors. No output written to openssl
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `openssl'
Current working directory /export/home/configuration/openssl-0.9.6b/apps
*** Error code 1
make: Fatal error: Command failed for target `sub_all'

Any pointers into the right direction??
Many thanks,

Peter Kassies

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]




______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to