Compiling error: help

General discussion about Celestia that doesn't fit into other forums.
Topic author
markavdh
Posts: 1
Joined: 19.02.2003
With us: 21 years 9 months

Compiling error: help

Post #1by markavdh » 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.

Christophe
Developer
Posts: 944
Joined: 18.07.2002
With us: 22 years 4 months
Location: Lyon (France)

Post #2by Christophe » 19.02.2003, 15:54

You need to run ./configure with either --with-kde or --with-gnome or --with-gtk

--with-kde is highly recommanded if you have KDE 3 installed.

See ./configure --help for more options.

Searching the forums for 'undefined reference to `main'' would have given you references to the three (!) other posts about this error.

As a reminder, RPMs for Suse and Mandrake are available on SourceForge.

--
Christophe


Return to “Celestia Users”