mchstigger04
2006-10-15 20:00:15 UTC
"
> make
g++ -Wall -c -g project2.cpp
g++ -Wall -c -g image.cpp
g++ -o project2.exe /user/cse232/Projects/P2Graphics/color.o\
/user/cse232/Projects/P2Graphics/functions.o image.o
Undefined first referenced
symbol in file
main /soft/sparc/gcc3.4.1/lib/gcc/sparc-sun-solaris2.9/3.4.1/crt1.o
ld: fatal: Symbol referencing errors. No output written to project2.exe
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `project2.exe'
"
i do have a main() function in project2.cpp. i checked it many times and dont know what could be wrong with it. is it something with my makefile? any help would be GREATLY appreciated.