Common Coding Bugs
From enfascination
(→C++) |
|||
Line 1: | Line 1: | ||
==C++== | ==C++== | ||
− | /usr/libexec/gcc/ | + | /usr/libexec/gcc/PATH/4.0.1/ld: Undefined symbols: |
− | + | Something | |
− | collect2: ld returned 1 exit status | + | collect2: ld returned 1 exit status |
− | make: *** [ | + | make: *** [program] Error 1 |
*if it is for a whole class, it could mean that in an abstract class, I didn't set a function declaration to 0 | *if it is for a whole class, it could mean that in an abstract class, I didn't set a function declaration to 0 | ||
*if it is for a specific static field, it could mean that I forgot "ClassName::" on initializing it | *if it is for a specific static field, it could mean that I forgot "ClassName::" on initializing it |
Revision as of 15:08, 3 June 2009
C++
/usr/libexec/gcc/PATH/4.0.1/ld: Undefined symbols: Something collect2: ld returned 1 exit status make: *** [program] Error 1
- if it is for a whole class, it could mean that in an abstract class, I didn't set a function declaration to 0
- if it is for a specific static field, it could mean that I forgot "ClassName::" on initializing it