title: undefined reference to `yywrap`
body: <p>I have my lex file here.</p>
  
  <pre><code>%{
  #include &lt;stdio.h&gt;
  %}
  
  %%
  stop    printf("Stop command received\n");
  start   printf("Start command received\n");
  %%
  </code></pre>
  
  <p>I compiled it using <code>flex</code>. But there's an error when I compile the <code>lex.yy.c</code> using <code>gcc</code>.
  It says..</p>
  
  <p><code>: undefined reference to yywrap</code></p>
  
  <p>I used <code>gcc lex.yy.c -lfl</code> but there's still an error.
  It says..</p>
  
  <pre><code>ld.exe: cannot find -lfl
  </code></pre>
  
  <p>Please help me to compile my <code>lex.yy.c</code> file.
  Thank you so much. </p>