Mail Archives: djgpp/1998/06/05/19:31:43
At 08:42 6/3/1998 EDT, Kbwms AT aol DOT com wrote:
>A possible explanation is that the external generated by the compiler is
>"_main" whereas the undefined reference is to "main." I see that this is
>true for other programs that I have compiled but they don't use templates.
Oh! Yes, on closer inspection it looks like `crt0.o' is somehow trying to
reference `main' instead of `_main', which is wrong. Are you using the stock
crt0.o, or have you rebuilt it or something?
Post the output of `nm lib/crt0.o', and perhaps its size and date stamp as well.
Nate Eldredge
nate AT cartsys DOT com
- Raw text -