C Linker error
1
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
2
Name:
Anonymous
2007-09-24 2:54
ID:Heaven
Write the damn function
3
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...
4
Name:
Anonymous
2007-09-24 6:11
ID:Heaven
that's why you should learn to name your functions. fag
5
Name:
Anonymous
2007-09-24 6:14
ID:xU20lZS7
>>3
This is why we can't have nice discussions.
6
Name:
Anonymous
2007-09-24 6:28
ID:U0o0qBva
Lol Cfags
7
Name:
Anonymous
2007-09-24 6:29
ID:NAfWBGzj
>>4
Name functions? But anonymous functions are such a powerful tool!
9
Name:
Anonymous
2012-06-25 22:35
效䍖㑃ጳ䌣瘒┈䀤䆅䘥ࠕ䌅榗䙙蜸鐢ᚘ᜔ر吤眖㠳祙ވ̰慓恔㊒猠刨锶鐳ţ栰☥၂ᡉ╔͘耂℁㕠㙈ᕂ塆҈兖⒐梓獤镣玀䜵䒓疓䅗妄锒卉䁘䥇㠅蝒祇蠙襨聨 ╂ࢄ捀㘂摐逆虢搥蕐鍩餷࠲酇琂艵捇楁聳塷镩≕㔣၆➂ኔ⎔᠇㔩瑃匧㘂䚆疁电饣刡⢙挆唑碕≃䍵焵䕠┳癶锴㤀㔃㞂ց㜲隒蚄䔣㌆堸㊕顩礃扖ၩ䄃眣䢕⦇頖គ扨攘慂䀡ንᝑ礗䒓㙨抅錢砃蝷➐栗䄥™ፗց男刷⡔坓㢉村蠥玐㈵♡睶⑶Тၤ͆础㝦螕刹瀴蘣ᐴ选ᒐ喂瘨ሀݘ攕冑荁ጥ捨禒㥙ٵ頠䘐荁ऀ饠⠰蕕理ぉւ榈獕夢杦Ņ䑲⍥㔢锱⢉㥇霴顑ࠀ၄耕᠓䁳≐㡒陁☔⚙摕牂ᔂ䍨P码ᙆ噐⑨礆䉆朰耦剷荇镠捨砵⤃琗☠㉡摱捅礁ᅆ鉈❕面㌦㡖㔉≉嘱镣てɷ㠣剤瀢̆技遃遅唳u鎙蜅ᖐ䑓腘㙷镹冘㍙猐嘅ᤈе砈礦兇㉇恶〥挢ሒ冖块蜐艷然脂䊁