Hey, I'm new to using Openssl.  I'm trying to use the BN library.  For
some reason I can't use the functions defined in openssl/bn.h.  Can anyone
tell me what I'm missing?

I've tried this with openssl version 0.9.7d and a snapshot from a month
ago with identical results.

Here's a really simple piece of code that doesn't compile followed by
compiler errors.


#include <openssl/bn.h>

int main() {
  BIGNUM* random;
  random = BN_new();
  return 0;
}

/tmp/ccUES8tP.o(.text+0x11): In function `main':
: undefined reference to `BN_new'
collect2: ld returned 1 exit status
make: *** [foo.exe] Error 1


Thanks for any help,
                 Matt Raibert

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

Reply via email to