Crt1.o : undefined reference

Hi,
I used SDL in my littel software project with Red Hat Linux. I’m compiling it
but the problem is:

crt1.o : in function ‘-start’ undefined reference to ‘main’.

How do I compile my programs?

Could someone help me, please?

Thanks. Rona.

Hello !

Is your main function like this ? :

int main (int argc, char *argv [])

CU> Hi,

I used SDL in my littel software project with Red Hat Linux. I’m compiling
it
but the problem is:

crt1.o : in function ‘-start’ undefined reference to ‘main’.

How do I compile my programs?

Could someone help me, please?

Thanks. Rona.


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl

Torsten Giebl <wizard syntheticsw.com> writes:

Hello !

Is your main function like this ? :

int main (int argc, char *argv [])

Yes, it is.
Rona.