Page 1 of 1

Redhat V8.0 compiler erroe in starbrowser

Posted: 16.12.2002, 04:37
by mike
I am trying to compile celestia-1.2.4 under Redhat V8.0. the configure script runs without erroes, but the make stops with the error that follows. Any ideas? Is my system missing something or is this a code bug? My system is a Dual P3-866 with an Nvidia Quadro2 Pro.

Thanks for the help

Compiler output listing:

In file included from starbrowser.cpp:15:
starbrowser.h: At global scope:
starbrowser.h:32: syntax error before `*' token
starbrowser.cpp:93: syntax error before `*' token
starbrowser.cpp:94: type specifier omitted for parameter `Pred'
starbrowser.cpp:94: parse error before `,' token
starbrowser.cpp:95: ISO C++ forbids declaration of `findStars' with no type
starbrowser.cpp: In function `int* findStars(...)':
starbrowser.cpp:96: `vector' undeclared (first use this function)
starbrowser.cpp:96: (Each undeclared identifier is reported only once for each
function it appears in.)

.. there are more errors, but I think the first one is causing the rest.

Posted: 20.12.2002, 00:06
by Nemo
I get the same error in Mandrake 8.2 using gcc 3.1 . I get slightly different errors for the same file useing gcc 2.95.3 and gcc 2.96. I would try it with 3.0.4 but my installation of it is broken. Yes, I really do have a use for 4 different compiler versions: situations like this. :)

Installation under RH 8.0

Posted: 23.12.2002, 19:31
by robpar
I get the same errors trying to do the make thing.
Did you find a solution?

My system:

Nvida Geforce 3 32 MB
Anthalon 1.0 Ghz
256 MB Ram
Red Hat 8.0

Posted: 23.12.2002, 20:29
by selden
Before you spend much time trying to fix the problem, you should make sure you've downloaded the current source files from SourceForge. They've probably been fixed in preparation for the 1.2.5 release.

celestia and RH 8.0

Posted: 23.12.2002, 22:02
by robpar
I tried the latest version of 1.2.4 same problem.
I then went back to 1.2.2 same problem.
The configure file works but the make file chokes.

Bob Parry

Posted: 28.12.2002, 17:12
by noinfo
I have the same problem. This I hope will be fixed soon. :(