title: Compiling C error - CS50 course - week 1 - Linux
body: <p>i'm trying to compile a simple code by following the steps that the professor made but I have this issue</p>
  <pre><code>cc     calculator.c   -o calculator
  /usr/bin/ld: /tmp/ccznJMZB.o: in function `main':
  calculator.c:(.text+0x19): undefined reference to `get_int'
  /usr/bin/ld: calculator.c:(.text+0x2d): undefined reference to `get_int'
  collect2: error: ld returned 1 exit status
  make: *** [&lt;builtin&gt;: calculator] Error 1
  </code></pre>
  <p>I'm using Linux mint btw, already had problems installing cs50 library but that's done. I'm happy to get a new error tho, but I need to fix it.
  Thanks!</p>