In message <[EMAIL PROTECTED]> on Wed, 28 May 2003 01:41:38 -0800, "The Laser Jet" 
<[EMAIL PROTECTED]> said:

laserjet> hi guys,
laserjet> well.. i get this lame error.. hope u guys can pull out a novice :-)
laserjet> 
laserjet> when I do the following.. 
laserjet>  gcc -L. -lcrypto -lssl test.c
laserjet> 
laserjet> i get this linker error.. my libcrypto.a and libssl.a and ssl.h and bio.h
laserjet> are in the current directory.

Wrong order.  Try like this:

gcc -L. test.c -lssl -lcrypto

The basic principle to follow is that unresolved symbols will be
resolved with whatever comes next on the command line. 

-- 
Richard Levitte   \ Tunnlandsvägen 3  \ [EMAIL PROTECTED]
[EMAIL PROTECTED]  \ S-168 36  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to