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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> > Sent by: [EMAIL PROTECTED] > > 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 <openssl/bio.h> > #include <openssl/err.h> > #include <openssl/x509.h> > #include <openssl/x509v3.h> > #include <openssl/pem.h> > 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. > > > ________________________________ > Do You Yahoo!? > æåäçäæåèçéèåèçé > > > Please consider our environment before printing this email. WARNING - This > email and any attachments may be confidential. If received in error, please > delete and inform us by return email. Because emails and attachments may be > interfered with, may contain computer viruses or other defects and may not > be successfully replicated on other systems, you must be cautious. Westpac > cannot guarantee that what you receive is what we sent. If you have any > doubts about the authenticity of an email by Westpac, please contact us > immediately. It is also important to check for viruses and defects before > opening or using attachments. Westpac's liability is limited to resupplying > any affected attachments. > This email and its attachments are not intended to constitute any form of > financial advice or recommendation of, or an offer to buy or offer to sell, > any security. We recommend that you seek your own independent legal or > financial advice before proceeding with any investment decision. Westpac > Institutional Bank is a division of Westpac Banking Corporation and is a > company registered in New South Wales in Australia under the Corporations > Act 2001 (Cth). Westpac is authorised and regulated in the United Kingdom by > the Financial Services Authority and is registered at Cardiff in the United > Kingdom as Branch No. BR 106. Westpac operates in the United States of > America as a federally chartered branch, regulated by the Office of the > Comptroller of the Currency. Westpac Banking Corporation ABN 33 007 457 > 141. > > > > > ________________________________ > Do You Yahoo!? > æåäçäæåèçéèåèçé > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]