title: "First defined here" error in Eclipse with C
body: <p>I'm trying to compile a C program using libxml2 in Eclipse.  It seems like my code doesn't have problems, but there are errors when I build my project.</p>
  
  <p>The error output is in this screenshot: <a href="https://drive.google.com/file/d/0BwV-0_2diIaaQlZHM2Fwa2R0LWc/edit" rel="nofollow">https://drive.google.com/file/d/0BwV-0_2diIaaQlZHM2Fwa2R0LWc/edit</a></p>
  
  <p>Before this error, I had an “Undefined reference to” error, but it was because I forgot to link the library libxml2.  Now it's the problem in the screenshot.  I don't what to do.</p>
  
  <p>[EDITED]
  I solved my problem I just need to put <code>-nostartfiles</code> in the linker flags.</p>