Compiling error: help
Posted: 19.02.2003, 14:22
When I try to compile Celestia under RH8 it keeps giving me this error.
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/home/mark/celestia-1.2.5/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mark/celestia-1.2.5/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mark/celestia-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mark/celestia-1.2.5'
make: *** [all] Error 2
I have been trying to fix this for about 2hrs and can't figure it out. If sombody would be able to help that would be great. thanks.
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/home/mark/celestia-1.2.5/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mark/celestia-1.2.5/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mark/celestia-1.2.5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mark/celestia-1.2.5'
make: *** [all] Error 2
I have been trying to fix this for about 2hrs and can't figure it out. If sombody would be able to help that would be great. thanks.