OpenSSL BIGNUM lib

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kuratkull
    New Member
    • Jan 2007
    • 12

    OpenSSL BIGNUM lib

    Hello,
    I am using the OpenSSL BIGNUM lib for my program. I got rid of all the compiler errors/warnings about it's usage, and when I thought it would compile:

    Code:
    rabler.c:(.text+0x1a8): undefined reference to `BN_CTX_new'
    rabler.c:(.text+0x1cc): undefined reference to `BN_mod_exp'
    The file is there, and the compiler knows where it is.
    I guess I have to use some special GCC flags(like with math.h "-lm")?

    Tried to Google, but didn't succeed.

    Thanks in advance.
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    A compiler undefined reference usually means that you are missing a header file or that a preprocessor symbol has not been defined.

    Comment

    • kuratkull
      New Member
      • Jan 2007
      • 12

      #3
      I said I had the file, and the compiler detected it. It knows where it is and how to access it.
      Proof: It got the "BIGNUM" from the lib

      Comment

      Working...