Redhat V8.0 compiler erroe in starbrowser

Report bugs, bug fixes and workarounds here.
Topic author
mike

Redhat V8.0 compiler erroe in starbrowser

Post #1by mike » 16.12.2002, 04:37

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.

Nemo

Post #2by Nemo » 20.12.2002, 00:06

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. :)

robpar

Installation under RH 8.0

Post #3by robpar » 23.12.2002, 19:31

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

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #4by selden » 23.12.2002, 20:29

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.
Selden

robpar

celestia and RH 8.0

Post #5by robpar » 23.12.2002, 22:02

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

noinfo

Post #6by noinfo » 28.12.2002, 17:12

I have the same problem. This I hope will be fixed soon. :(


Return to “Bugs”