Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C Linker error

Name: Anonymous 2007-09-24 2:38 ID:pAHJEra9

Fun little linker error I can't seem to fix.  any suggestions?


/tmp/ccyc6Jxc.o: In function `main':lab1.c:(.text+0xd8): undefined reference to `get_next_line'
:lab1.c:(.text+0x130): undefined reference to `get_next_line'
collect2: ld returned 1 exit status

Name: Anonymous 2007-09-24 3:08 ID:Heaven

the prototype:
char *get_next_line(FILE *fpntr);

The references the errors are to:
checkMe = get_next_line(fpntr);

the function w/o its meat:
char *get_new_line(FILE *fpntr)
{}

oh wait.... FUCK ME!!!! GOD DAMN I'm a dumbass...

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List