man gcc

---------------------------
George Shaw
Senior Software Engineer
Axway
a Sopra Group company
Tel: +44 (0) 7802 452186
Fax: +44 (0) 1454 299684
email: [EMAIL PROTECTED]
www.axway.com
---------------------------

Ce message est exclusivement destiné aux personnes dont le nom figure 
ci-dessus. Il peut contenir des informations confidentielles dont la 
divulgation est à ce titre rigoureusement interdite. Dans l'hypothèse où vous 
avez reçu ce message par erreur, merci de le renvoyer à l'adresse e-mail 
ci-dessus et de détruire toute copie.

This message may contain confidential and proprietary material for the sole use 
of the intended recipient. Any review or distribution by others is strictly 
prohibited. If you are not the intended recipient, please contact the sender 
and delete all copies.

  
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of alan alan
Sent: 01 December 2004 13:12
To: [EMAIL PROTECTED]
Subject: Re: how to use openssl's header file in my program?


I just solved it,the command is:
# gcc settime.c -lcrypto
Who can tell me why and explain it?thanks

Xuekun Hu <[EMAIL PROTECTED]> wrote:
If you complied with libssl.a, just like
gcc settime.c [path]libssl.a
If you complied with libssl.so, just like
gcc -L[path] -lssl settime.c 




On Wed, 1 Dec 2004 15:46:25 +0800 (CST), alan alan wrote:
> 
> First,thanks for your answer.Another,how to set the path for the openssl
> libraries in my compiler?
> I just compiled it like this:
> gcc settime.c
> I don't kown how to add path.Can you help me again?Thanks!
> 
> 
> 
> [EMAIL PROTECTED] wrote:
> 
> 
> 
> Do you have the correct path setup for the openssl libraries in your
> compiler ? e.g. -L/usr/local/ssl/lib 
> 
> Andrew. 
> 
> 
> 
> 
> 
> alan alan 
> Sent by: [EMAIL PROTECTED] 
> 
&g t; 01/12/2004 02:15 PM 
> 
> Please respond to
> [EMAIL PROTECTED]
> 
> 
> [EMAIL PROTECTED] 
> 
> cc
> 
> Subjecthow to use openssl's header file in my program?
> 
> 
> 
> 
> 
> 
> 
> hi, 
> when I write my program,for example,I want to use openssl's
> function:BIO_write. 
> And I write all openssl's header file in my program. 
> such as: 
> #include 
> #include 
> #include 
> #include 
> #include 
> but there is always wrong: 
> /tmp/ccrza3u0.o(.text+0x229): In function `ASN1_UTCTIME_2tm':
> : undefined reference to `BIO_write' 
> 
> who can help me.thanks for any assistance. 
> 
> alan. 
> 
> 
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]





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

Reply via email to