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 /var/tmp//ccyGAN2k.o
ld: fatal: Symbol referencing errors. No output written to stage1
collect2: ld returned 1 exit status
Any ideas what could be causing 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 /var/tmp//ccyGAN2k.o
ld: fatal: Symbol referencing errors. No output written to stage1
collect2: ld returned 1 exit status
Any ideas what could be causing this?