[Mesa-users] undefined symbols in object file
tom fogal
tfogal at sci.utah.edu
Thu Jan 6 09:39:01 PST 2011
suma s <suma_s27 at yahoo.co.in> writes:
> correct me if iam wrong....as per i know..when ever any C file
> complies to an object file.. all the symbols in the object file has
> to be defined right ??...
no. in:
#include <stdio.h>
int main() { puts("hi!"); }
`puts' will be an undefined symbol in the .o. it gets resolved when you
link the .o into an executable.
-tom
More information about the mesa-users
mailing list