The top of my file I'm compiling looks like this:
#include <stdio.h>
#include <string.h>
int main(int argc, char* argv[])
When I compile this is my output:
$ gcc -o stage1 proj3.c
Undefined first referenced
symbol in file
getline...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.