Compile error
Posted: 14.01.2003, 10:56
1.2.4 compiled and ran fine. 1.2.5 configures and the build goes well until reaching:
Then I get the following line and errors
As you can see from the error I'm using gcc 2.96 on a RedHat system (7.3). Nothing else has given this error and, as I said, 1.2.4 compiled fine.
I've tried different options (and none at all) to configure and it makes no difference. Any ideas, anyone?
TWW
make[4]: Entering directory `/usr/src/celestia-1.2.5/src/celestia'
Then I get the following line and errors
/bin/sh ../../libtool --silent --mode=link g++ -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o celestia celestiacore.o configfile.o destination.o favorites.o imagecapture.o url.o ../celengine/libcelengine.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.a ../celutil/libcelutil.a -lpng -ljpeg -lglut -lGLU -lGL -lSM -lICE -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lGL -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11 -lm -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function `_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
As you can see from the error I'm using gcc 2.96 on a RedHat system (7.3). Nothing else has given this error and, as I said, 1.2.4 compiled fine.
I've tried different options (and none at all) to configure and it makes no difference. Any ideas, anyone?
TWW