title: undefined reference to md5
body: <pre><code>#include &lt;openssl/md5.h&gt;
  void mMD5(unsigned char * packet, int size) {
  
      unsigned char* res;
  
      MD5((unsigned char*)&amp;packet, size, (unsigned char*)&amp;res);
  
      for(int i=0; i&lt;MD5_DIGEST_LENGTH; i++) {
          printf("%02x", res[i]);
      }
  }
  </code></pre>
  
  <p>I get the error: undefined reference to <code>MD5</code></p>
  
  <p>Can anyone help me?</p>