Using ubuntu and fedora, compilation difference
Hey there!
I have a program (c++) which i compiled it successfully under Ubuntu operating system. Then I tried it also to compile (the same source code)under fedora but i got an error.
sample error i got:
main.cpp: (.text+0x622)undefined reference to 'ClassName::FunctionName()'
I'm just confused why is it undefined reference which i already included the header files in my main program.
Can somebody explain to me why i got this kind of error?
Thanks!
Last edited by go939; 12-04-2007 at 05:14 AM.
Reason: space in semi colon
|