title: undefined reference to `log'
body: <p>I am trying to compile the implementation of the RFC 3797 random selection algorithm by Donald Eastlake (code: <a href="http://kambing.ui.ac.id/minix/other/rfc3797/">http://kambing.ui.ac.id/minix/other/rfc3797/</a>). However, I am getting a linker error:</p>
  
  <pre><code>rfc3797.c:(.text+0xe7f): undefined reference to `log'
  </code></pre>
  
  <p>I am trying to make it with the provided Makefile, which explicitly links against the math libraray, but I still get the error:</p>
  
  <pre><code>cc -lm -o randomselection rfc3797.c MD5.c
  </code></pre>
  
  <p>How can I compile this program?</p>