Mail Archives: djgpp/1995/07/29/21:09:42
Well, I found out it wasn't argc or argv in the main argument list.
Thanks to Matt H. for the reply. It doesn't like my main() period. No
matter how I have it I get the error:
fake(.text+0xe2): undefined reference to 'main'
I compile with the line:
gcc -g problem1.cc -o problem1 -lgpp
I have another program that compiles fine with that line and it has a main().
I have more .h files included than I care to mention since I thought maybe
that was the problem, but in the one that works it only has iostream.h.
What's going on??
Thanks,
Skip Egley
- Raw text -