Source code errors (?)

Report bugs, bug fixes and workarounds here.
Topic author
Little_Tux
Posts: 4
Joined: 23.06.2002
With us: 18 years 4 months

Source code errors (?)

Post #1by Little_Tux » 23.06.2002, 21:57

Hi

I'm a linux begginer, but i think that there's a problem with celestia's source code.
I've executed './configure', but when i made 'make' this was the answer:

...

Code: Select all

make[3]: Entrando no diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/celengine'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -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   -c starbrowser.cpp
In file included from starbrowser.cpp:15:
starbrowser.h:32: syntax error before `*' token
starbrowser.cpp:93: syntax error before `*' token
starbrowser.cpp:94: type specifier omitted for parameter
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.)
starbrowser.cpp:96: parse error before `*' token
starbrowser.cpp:97: `nStars' undeclared (first use this function)
starbrowser.cpp:98: `finalStars' undeclared (first use this function)
starbrowser.cpp:102: `Pred' undeclared (first use this function)
starbrowser.cpp:102: ISO C++ forbids declaration of `multiset' with no type
starbrowser.cpp:102: template-id `multiset<const Star*, <expression error> >'
   used as a declarator
starbrowser.cpp:102: parse error before `;' token
starbrowser.cpp:103: `StarSet' undeclared (first use this function)
starbrowser.cpp:105: `stardb' undeclared (first use this function)
starbrowser.cpp:113: `firstStars' undeclared (first use this function)
starbrowser.cpp:122: `pred' undeclared (first use this function)
starbrowser.cpp:132: parse error before `::' token
starbrowser.cpp:133: `iter' undeclared (first use this function)
starbrowser.cpp: In member function `const Star* StarBrowser::nearestStar()':
starbrowser.cpp:147: parse error before `*' token
starbrowser.cpp:148: `stars' undeclared (first use this function)
starbrowser.cpp:144: warning: unused variable `Universe*univ'
starbrowser.cpp: At global scope:
starbrowser.cpp:154: syntax error before `*' token
starbrowser.cpp:163: syntax error before `.' token
starbrowser.cpp:164: syntax error before `.' token
starbrowser.cpp:182: syntax error before `.' token
starbrowser.cpp:183: syntax error before `.' token
starbrowser.cpp:193: syntax error before `.' token
make[3]: ** [starbrowser.o] Erro 1


I almost forgot: i've mandrake linux 8.2 and celestia 1.2.4

Bye and thanks,

Diogo Fernandes

P.S. - Sorry about my horrible english :roll:

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 6 months
Location: Hamburg, Germany

Post #2by t00fri » 23.06.2002, 22:23

You may be assured that this is not due to the source code. With high probability you did not install all packages that are needed.

So, for instance the compiler could not find the g++ systems header file 'vector' which in my Linux distribution should be in /usr/include/g++. I think you may not have installed the corresponding libgpp package at all...I can see from the include path in your output that a number of headers were not found....

Are you sure the ./configure run through /without/ warnings or ERRORS!


Have a close look again, typing first

make distclean, before you rerun ./configure.

Bye Fridger

Topic author
Little_Tux
Posts: 4
Joined: 23.06.2002
With us: 18 years 4 months

Post #3by Little_Tux » 24.06.2002, 00:14

Hmmm

This is the content of /usr/include/g++ :

algobase.h cmath deque iomanip multiset.h set stl_bvector.h stl_multimap.h stl_vector.h
algo.h complex deque.h iomanip.h numeric set.h stl_config.h stl_multiset.h streambuf.h
algorithm complex.h editbuf.h iosfwd ostream.h SFile.h stl_construct.h stl_numeric.h stream.h
alloc.h csetjmp fstream iostream pair.h slist stl_deque.h stl_pair.h strfile.h
bitset csignal fstream.h iostream.h parsestream.h slist.h stl_function.h stl_queue.h string
builtinbuf.h cstdarg functional istream.h pfstream.h sstream stl.h stl_raw_storage_iter.h strstream
bvector.h cstddef function.h iterator PlotFile.h stack stl_hash_fun.h stl_relops.h strstream.h
cassert cstdio hash_map iterator.h procbuf.h stack.h stl_hash_map.h stl_rope.h tempbuf.h
cctype cstdlib hash_map.h list pthread_alloc std/ stl_hash_set.h stl_set.h tree.h
cerrno cstring hash_set list.h pthread_alloc.h stdexcept stl_hashtable.h stl_slist.h type_traits.h
cfloat ctime hash_set.h map queue stdiostream.h stl_heap.h stl_stack.h utility
ciso646 cwchar hashtable.h map.h rope stl_algobase.h stl_iterator.h stl_tempbuf.h valarray
climits cwctype heap.h memory rope.h stl_algo.h stl_list.h stl_tree.h vector
clocale defalloc.h indstream.h multimap.h ropeimpl.h stl_alloc.h stl_map.h stl_uninitialized.h vector.h

Yes, ./configure show those warnigs:

Code: Select all

command.h:401: warning: member initializers for `int
   RepeatCommand::repeatCount'
command.h:400: warning:   and `double RepeatCommand::bodyDuration'
command.cpp:509: warning:   will be re-ordered to match declaration order
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -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   -c constellation.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -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   -c customorbit.cpp
customorbit.cpp: In method `virtual Point3d RheaOrbit::computePosition(double)
   const':
customorbit.cpp:1823: warning: unused variable `double e1'
customorbit.cpp: In constructor
   `UranianSatelliteOrbit::UranianSatelliteOrbit(double, double, double,
   double, int, int, int, double*, double*, double*, double*, double*, double*,
   double*, double*, double*)':
customorbit.cpp:2136: warning: member initializers for `int
   UranianSatelliteOrbit::zetaTerms'
customorbit.cpp:2131: warning:   and `double*UranianSatelliteOrbit::L_k'
customorbit.cpp:2152: warning:   will be re-ordered to match declaration order
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -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   -c dds.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -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   -c dispmap.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -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   -c execution.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -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   -c galaxy.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -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   -c glext.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -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   -c lodspheremesh.cpp
lodspheremesh.cpp: In method `void LODSphereMesh::render(unsigned int, const
   Frustum&, float, Texture*)':
lodspheremesh.cpp:225: warning: unused variable `int reject'


I hope you find the solution ...
Thanks

Diogo

DragonSpirit

problems with "make" in linux

Post #4by DragonSpirit » 24.06.2002, 06:33

ok I have the same problem as Little_Tux, almost, I have the same exact messege during the make process of this program.

Code: Select all

c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c starbrowser.cpp
In file included from starbrowser.cpp:15:
starbrowser.h:32: syntax error before `*' token
starbrowser.cpp:93: syntax error before `*' token
starbrowser.cpp:94: type specifier omitted for parameter
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.)
starbrowser.cpp:96: parse error before `*' token
starbrowser.cpp:97: `nStars' undeclared (first use this function)
starbrowser.cpp:98: `finalStars' undeclared (first use this function)
starbrowser.cpp:102: `Pred' undeclared (first use this function)
starbrowser.cpp:102: ISO C++ forbids declaration of `multiset' with no type
starbrowser.cpp:102: template-id `multiset<const Star*, <expression error> >'
   used as a declarator
starbrowser.cpp:102: parse error before `;' token
starbrowser.cpp:103: `StarSet' undeclared (first use this function)
starbrowser.cpp:105: `stardb' undeclared (first use this function)
starbrowser.cpp:113: `firstStars' undeclared (first use this function)
starbrowser.cpp:122: `pred' undeclared (first use this function)
starbrowser.cpp:132: parse error before `::' token
starbrowser.cpp:133: `iter' undeclared (first use this function)
starbrowser.cpp: In member function `const Star* StarBrowser::nearestStar()':
starbrowser.cpp:147: parse error before `*' token
starbrowser.cpp:148: `stars' undeclared (first use this function)
starbrowser.cpp:144: warning: unused variable `Universe*univ'
starbrowser.cpp: At global scope:
starbrowser.cpp:154: syntax error before `*' token
starbrowser.cpp:163: syntax error before `.' token
starbrowser.cpp:164: syntax error before `.' token
starbrowser.cpp:182: syntax error before `.' token
starbrowser.cpp:183: syntax error before `.' token
starbrowser.cpp:193: syntax error before `.' token
make[3]: *** [starbrowser.o] Error 1
make[3]: Leaving directory `/misc/celestia-1.2.4/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/misc/celestia-1.2.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/misc/celestia-1.2.4'
make: *** [all-recursive-am] Error 2


I know that I have everything it needs, plus, different then it seems with Little_Tux my ./configure checks out fine. I am also running Mandrake Linux 8.2 and have intalled all known libaries I can imagine that this program could possibly depend on. Here is my ./configure :

Code: Select all

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether to include debugging code... no
checking whether to be pedantic... no
checking whether to do profiling... no
checking whether to disable GTK.... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gdk_gl_query in -lgtkgl... yes
checking for gnome-config... /usr/bin/gnome-config
checking if /usr/bin/gnome-config works... yes
checking for orbit-config... /usr/bin/orbit-config
checking for orbit-idl... /usr/bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking what warning flags to pass to the C compiler... -Wall -Wunused
checking what language compliance flags to pass to the C compiler...
checking for pthread_create in -lpthread... yes
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking for X11/SM/SMlib.h... yes
checking for XpmFreeXpmImage in -lXpm... yes
checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... yes
checking for GL/glut.h... yes
checking for glutKeyboardUpFunc in -lglut... yes
checking for jpeg_start_decompress in -ljpeg... yes
checking for png_create_info_struct in -lpng... yes
checking for ANSI C header files... yes
checking for byteswap.h... yes
checking whether byte ordering is bigendian... no
checking whether we can create a new star database... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/celutil/Makefile
creating src/celmath/Makefile
creating src/cel3ds/Makefile
creating src/celtxf/Makefile
creating src/celengine/Makefile
creating src/celestia/Makefile
creating data/Makefile
creating extras/Makefile
creating textures/Makefile
creating textures/lores/Makefile
creating textures/medres/Makefile
creating textures/hires/Makefile
creating models/Makefile
creating shaders/Makefile
creating fonts/Makefile
creating src/celestia/res/Makefile
creating macros/Makefile
creating manual/Makefile
creating config.h


********************************************************************
*** Celestia configuration complete. Now do a 'make' followed    ***
*** by 'make install'                                            ***
********************************************************************


As you can see it goes right through and doesn't err in any way I can see. I don't mean to be to much trouble but I had seen this program and I thought I might enjoy it, and show my father it but I have been trying to get it to work for a while now and any help in any way would make my day. Thank you for your time and knowledge.

Dragon

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 6 months
Location: Hamburg, Germany

Post #5by t00fri » 24.06.2002, 08:57

Little_Tux & DragonSpirit
---------------------------------

In general, it cannot be the purpose of this Celestia forum to fix people's messed-up Linux installations (within 2 days I am currently dealing with 3 such cases simultaneously...). You should always test your installation FIRST, by trying to compile a very simple C++ program like "Hello World". Moreover, you should make sure beforehand that your openGL 3d hardware support is working properly (I bet this will be the next problem)...

If you inspect your compiler output, you will notice that in both cases, the first "syntax" error is claimed in line 32 of starbrowser.h and line 93 of starbrowser.cpp. Looking the lines up with an editor will reveal that your gcc compiler did not recognize /standard/ objects of the C++ language: 'class' and 'template', respectively. This means
that you did NOT install your compiler's /C++ development library
package/. Besides the libraries, it includes many headers, starting with /capital letters/ in /usr/lib/g++, as well as a subdirectory 'gen' with further such headers. Indeed, in Little_Tux's display of
/usr/include/g++, they are all missing! I do not know how this missing package is called in Mandrake-8.2, but I am sure, other Mandrake users who successfully compiled Celestia, can help out here. In my SuSE installation, the package is called 'libgpp-2.95.3'.

Little_Tux:
-------------

While DragonSpirit has a number of further necessary development libs
& headers already installed, you are missing most, as I can see from
your compiler output. For example, the include paths

-I/usr/include/orbit-1.0
-I/usr/include/gnome-1.0

are missing in your compiler output, i.e. the configure script did not
find the respective headers! You need to install the /development/
packages not just the runtime libs, if you want to compile programs.


Moreover, what you displayed was NOT the ./configure output but rather
some part of the compiler output...


Good luck

Bye Fridger

DragonSpirit

Mandrake 8.2 compilation problems

Post #6by DragonSpirit » 24.06.2002, 18:51

well, I do have all the development libraries installed as well. I am fully capable of doing a compile on most any program I run across. This is one of the very few that have given me any trouble. I also do not know if these are any help either but I also got warnings in the process of make along with that final error I already posted.
================================================================================

Code: Select all

/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c customorbit.cpp
customorbit.cpp: In method `virtual Point3d RheaOrbit::computePosition(double)
   const':
customorbit.cpp:1823: warning: unused variable `double e1'
customorbit.cpp: In constructor
   `UranianSatelliteOrbit::UranianSatelliteOrbit(double, double, double,
   double, int, int, int, double*, double*, double*, double*, double*, double*,
   double*, double*, double*)':
customorbit.cpp:2136: warning: member initializers for `int
   UranianSatelliteOrbit::zetaTerms'
customorbit.cpp:2131: warning:   and `double*UranianSatelliteOrbit::L_k'
customorbit.cpp:2152: warning:   will be re-ordered to match declaration order
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c dds.cpp

================================================================================

Code: Select all

/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c lodspheremesh.cpp
lodspheremesh.cpp: In method `void LODSphereMesh::render(unsigned int, const
   Frustum&, float, Texture*)':
lodspheremesh.cpp:225: warning: unused variable `int reject'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c meshmanager.cpp

================================================================================

All of my Opengl libraries and development libraries for it are installed, I have every known dependency for this program loaded on this machine. I have compiled a few window mangers and rebuilt a few source rpms so I am sure that my gcc version 3.0.4 compiler works along with its g++ libraries and development libraries. If anyone else out there has had problems under similer instances and were able to fix it I would be happy to know how. Thank you for your time.

Dragon

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 6 months
Location: Hamburg, Germany

Post #7by t00fri » 24.06.2002, 20:15

Dragon & Little_Tux:
---------------------

Could you please type

locate ACG.h
locate libg++.a

and tell me the result.

Moreover, how many fps are you getting when calling

glxgears

What is the result of

glxinfo|grep render


Dragon, you are sure that your compilation experience /includes/ C++ programs, not just C code!?

Bye Fridger

Topic author
Little_Tux
Posts: 4
Joined: 23.06.2002
With us: 18 years 4 months

Post #8by Little_Tux » 24.06.2002, 21:40

Well, i've installed almost every package i found related to C and C++ development and OpenGL (libMesaGL1; ...............).
Now i'm using gcc 3.0.4 (do you think that 3.1.1 is better?).

./configure doesn't show any warnings at all

Code: Select all

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... c++ -E
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking whether to include debugging code... no
checking whether to be pedantic... no
checking whether to do profiling... no
checking whether to disable GTK.... no
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for gdk_gl_query in -lgtkgl... yes
checking for gnome-config... /usr/bin/gnome-config
checking if /usr/bin/gnome-config works... yes
checking for orbit-config... /usr/bin/orbit-config
checking for orbit-idl... /usr/bin/orbit-idl
checking for working ORBit environment... yes
checking for gnorba libraries... yes
checking what warning flags to pass to the C compiler... -Wall -Wunused
checking what language compliance flags to pass to the C compiler...
checking for pthread_create in -lpthread... yes
checking for gtk-config... (cached) /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking for X11/SM/SMlib.h... yes
checking for XpmFreeXpmImage in -lXpm... no
checking for GL/gl.h... yes
checking for glNewList in -lGL... yes
checking for GL/glu.h... yes
checking for gluLookAt in -lGLU... yes
checking for GL/glut.h... yes
checking for glutKeyboardUpFunc in -lglut... yes
checking for jpeg_start_decompress in -ljpeg... yes
checking for png_create_info_struct in -lpng... yes
checking for ANSI C header files... yes
checking for byteswap.h... yes
checking whether byte ordering is bigendian... no
checking whether we can create a new star database... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating src/celutil/Makefile
creating src/celmath/Makefile
creating src/cel3ds/Makefile
creating src/celtxf/Makefile
creating src/celengine/Makefile
creating src/celestia/Makefile
creating data/Makefile
creating extras/Makefile
creating textures/Makefile
creating textures/lores/Makefile
creating textures/medres/Makefile
creating textures/hires/Makefile
creating models/Makefile
creating shaders/Makefile
creating fonts/Makefile
creating src/celestia/res/Makefile
creating macros/Makefile
creating manual/Makefile
creating config.h


********************************************************************
*** Celestia configuration complete. Now do a 'make' followed    ***
*** by 'make install'                                            ***
*******************************************************************


I think now my make's result is similar to Dragon's

Code: Select all

make  all-recursive
make[1]: Entrando no diret?rio `/home/diogo/Tarballs/celestia-1.2.4'
Making all in src
make[2]: Entrando no diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src'
Making all in celutil
make[3]: Entrando no diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/celutil'
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c bigfix.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c color.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c debug.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c filetype.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c util.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c unixdirectory.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c unixtimer.cpp
rm -f libcelutil.a
ar cru libcelutil.a bigfix.o color.o debug.o filetype.o util.o unixdirectory.o unixtimer.o
ranlib libcelutil.a
make[3]: Saindo do diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/celutil'
Making all in celmath
make[3]: Entrando no diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/celmath'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c frustum.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c perlin.cpp
rm -f libcelmath.a
ar cru libcelmath.a frustum.o perlin.o
ranlib libcelmath.a
make[3]: Saindo do diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/celmath'
Making all in cel3ds
make[3]: Entrando no diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/cel3ds'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c 3dsmodel.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c 3dsread.cpp
rm -f libcel3ds.a
ar cru libcel3ds.a 3dsmodel.o 3dsread.o
ranlib libcel3ds.a
make[3]: Saindo do diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/cel3ds'
Making all in celtxf
make[3]: Entrando no diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/celtxf'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c texturefont.cpp
rm -f libceltxf.a
ar cru libceltxf.a texturefont.o
ranlib libceltxf.a
make[3]: Saindo do diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/celtxf'
Making all in celengine
make[3]: Entrando no diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/celengine'
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c 3dsmesh.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c asterism.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c astro.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c body.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c catalogxref.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c cmdparser.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c command.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c constellation.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c customorbit.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c dds.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c dispmap.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c execution.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c galaxy.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c glext.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c lodspheremesh.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c meshmanager.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c multitexture.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c observer.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c octree.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c orbit.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c overlay.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c parser.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c regcombine.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c render.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c samporbit.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c selection.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c simulation.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c solarsys.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c spheremesh.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c star.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..  -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include  -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  -I/usr/include/gnome-1.0 -DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -I/usr/X11R6/include -c starbrowser.cpp
make[3]: Saindo do diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src/celengine'
make[2]: Saindo do diret?rio `/home/diogo/Tarballs/celestia-1.2.4/src'
make[1]: Saindo do diret?rio `/home/diogo/Tarballs/celestia-1.2.4


The errors showed by make are the same

Code: Select all

command.h: In constructor `RepeatCommand::RepeatCommand(CommandSequence*,
   int)':
command.h:401: warning: member initializers for `int
   RepeatCommand::repeatCount'
command.h:400: warning:   and `double RepeatCommand::bodyDuration'
command.cpp:509: warning:   will be re-ordered to match declaration order
customorbit.cpp: In method `virtual Point3d RheaOrbit::computePosition(double)
   const':
customorbit.cpp:1823: warning: unused variable `double e1'
customorbit.cpp: In constructor
   `UranianSatelliteOrbit::UranianSatelliteOrbit(double, double, double,
   double, int, int, int, double*, double*, double*, double*, double*, double*,
   double*, double*, double*)':
customorbit.cpp:2136: warning: member initializers for `int
   UranianSatelliteOrbit::zetaTerms'
customorbit.cpp:2131: warning:   and `double*UranianSatelliteOrbit::L_k'
customorbit.cpp:2152: warning:   will be re-ordered to match declaration order
lodspheremesh.cpp: In method `void LODSphereMesh::render(unsigned int, const
   Frustum&, float, Texture*)':
lodspheremesh.cpp:225: warning: unused variable `int reject'
In file included from starbrowser.cpp:15:
starbrowser.h:32: syntax error before `*' token
starbrowser.cpp:93: syntax error before `*' token
starbrowser.cpp:94: type specifier omitted for parameter
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.)
starbrowser.cpp:96: parse error before `*' token
starbrowser.cpp:97: `nStars' undeclared (first use this function)
starbrowser.cpp:98: `finalStars' undeclared (first use this function)
starbrowser.cpp:102: `Pred' undeclared (first use this function)
starbrowser.cpp:102: ISO C++ forbids declaration of `multiset' with no type
starbrowser.cpp:102: template-id `multiset<const Star*, <expression error> >'
   used as a declarator
starbrowser.cpp:102: parse error before `;' token
starbrowser.cpp:103: `StarSet' undeclared (first use this function)
starbrowser.cpp:105: `stardb' undeclared (first use this function)
starbrowser.cpp:113: `firstStars' undeclared (first use this function)
starbrowser.cpp:122: `pred' undeclared (first use this function)
starbrowser.cpp:132: parse error before `::' token
starbrowser.cpp:133: `iter' undeclared (first use this function)
starbrowser.cpp: In member function `const Star* StarBrowser::nearestStar()':
starbrowser.cpp:147: parse error before `*' token
starbrowser.cpp:148: `stars' undeclared (first use this function)
starbrowser.cpp:144: warning: unused variable `Universe*univ'
starbrowser.cpp: At global scope:
starbrowser.cpp:154: syntax error before `*' token
starbrowser.cpp:163: syntax error before `.' token
starbrowser.cpp:164: syntax error before `.' token
starbrowser.cpp:182: syntax error before `.' token
starbrowser.cpp:183: syntax error before `.' token
starbrowser.cpp:193: syntax error before `.' token
make[3]: ** [starbrowser.o] Erro 1
make[2]: ** [all-recursive] Erro 1
make[1]: ** [all-recursive] Erro 1
make: ** [all-recursive-am] Erro


I agree with you. The compiler doesn't "understand" classes.
Do you know which files are neaded to make gcc compile classes?
Hello World works fine in C and C++ (it hasn't classes ...)

locate: command not found
how do you type the same thing (locate AGC.h / locate libg++.a) but with "find"?

---------------

glxgears

Code: Select all

Loading required GL library /usr/X11R6/lib/libGL.so.1.3.401
343 frames in 5.0 seconds = 68.600 FPS
416 frames in 5.0 seconds = 83.200 FPS
417 frames in 5.0 seconds = 83.400 FPS
417 frames in 5.0 seconds = 83.400 FPS
416 frames in 5.0 seconds = 83.200 FPS
417 frames in 5.0 seconds = 83.400 FPS
417 frames in 5.0 seconds = 83.400 FPS
417 frames in 5.0 seconds = 83.400 FPS
417 frames in 5.0 seconds = 83.400 FPS
417 frames in 5.0 seconds = 83.400 FPS
393 frames in 5.0 seconds = 78.600 FPS


--------------

glxinfo

Code: Select all

Loading required GL library /usr/X11R6/lib/libGL.so.1.3.401
direct rendering: No
OpenGL renderer string: Mesa X11


-----------

Thank you very much for your attention,

Diogo

P.S - My english is still poor ....

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 6 months
Location: Hamburg, Germany

Post #9by t00fri » 24.06.2002, 22:03

This is really hard to understand, since you apparently have compiled successfully a large number of routines. Just in order to make sure that your routines have not been damaged (e.g. by a Windows editor), gzip starbrowser.cpp and starbrowser.h and send them to my email address which you find below.

At least your ./configure output looks very good /now/.

What is quite horrible is that your graphics installation is also not working, just as I have suspected. You do not have direct rendering enabled, i.e NO 3d hardware support of your card. Celestia will not work properly even if your compilation would work...You made the usual mistake that you installed both the software openGL lib (Mesa) and possibly your hardware support. Both interfere and things do not work if you do not know how to set the symbolic links...

Your framerate is much too low. I get 2592 fps, for example!

You must /carefully/ study the installation instructions for your card with your distribution.

If you do not have locate, type

cd /
find . -name ACG.h -print
find . -name libg++.a -print

Bye Fridger

DragonSpirit

System Information etc...

Post #10by DragonSpirit » 24.06.2002, 23:37

Mandrake 8.2
Kernel 2.4.18-6mdk
Video card is a Voodoo3

/usr/include/g++-3/ACG.h

Code: Select all

name of display: :0.0
Loading required GL library /usr/X11R6/lib/libGL.so.1.2
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: VA Linux Systems, Inc.
OpenGL renderer string: Mesa DRI Voodoo3 20010501
OpenGL version string: 1.2 Mesa 3.4.2
OpenGL extensions:
    GL_ARB_multitexture, GL_ARB_transpose_matrix, GL_EXT_abgr,
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_histogram,
    GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_polygon_offset,
    GL_EXT_rescale_normal, GL_EXT_stencil_wrap, GL_EXT_texture3D,
    GL_EXT_texture_env_add, GL_EXT_texture_object, GL_EXT_texture_lod_bias,
    GL_EXT_vertex_array, GL_HP_occlusion_test, GL_MESA_window_pos,
    GL_MESA_resize_buffers, GL_NV_texge
n_reflection, GL_PGI_misc_hints,
    GL_SGI_color_matrix, GL_SGI_color_table, GL_SGIS_pixel_texture,
    GL_SGIS_texture_edge_clamp, GL_SGIX_pixel_texture
glu version: 1.3
glu extensions:
 GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x24 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  8  0  0  0  0  0 0 Slow
0x25 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x26 16 tc  0 16  0 r  .  .  5  6  5  0  0  0  8 16 16 16  0  0 0 Slow
0x27 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x28 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x29 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x2a 16 tc  0 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x2b 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x2c 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  8  0  0  0  0  0 0 Slow
0x2d 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x2e 16 tc  0 16  0 r  y  .  5  6  5  0  0  0  8 16 16 16  0  0 0 Slow
0x2f 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x30 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x31 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x32 16 tc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x33 16 dc  0 16  0 r  .  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x34 16 dc  0 16  0 r  .  .  5  6  5  0  0  0  8  0  0  0  0  0 0 Slow
0x35 16 dc  0 16  0 r  .  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x36 16 dc  0 16  0 r  .  .  5  6  5  0  0  0  8 16 16 16  0  0 0 Slow
0x37 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x38 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x39 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x3a 16 dc  0 16  0 r  .  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow
0x3b 16 dc  0 16  0 r  y  .  5  6  5  0  0  0  0  0  0  0  0  0 0 None
0x3c 16 dc  0 16  0 r  y  .  5  6  5  0  0  0  8  0  0  0  0  0 0 Slow
0x3d 16 dc  0 16  0 r  y  .  5  6  5  0  0  0  0 16 16 16  0  0 0 Slow
0x3e 16 dc  0 16  0 r  y  .  5  6  5  0  0  0  8 16 16 16  0  0 0 Slow
0x3f 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0  0  0  0  0  0 0 None
0x40 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8  0  0  0  0  0 0 Slow
0x41 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  0 16 16 16  0  0 0 Slow
0x42 16 dc  0 16  0 r  y  .  5  6  5  0  0 16  8 16 16 16  0  0 0 Slow


Code: Select all

Loading required GL library /usr/X11R6/lib/libGL.so.1.2
586 frames in 5.0 seconds = 117.200 FPS
718 frames in 5.0 seconds = 143.600 FPS
712 frames in 5.0 seconds = 142.400 FPS
722 frames in 5.0 seconds = 144.400 FPS
717 frames in 5.0 seconds = 143.400 FPS
723 frames in 5.0 seconds = 144.600 FPS
721 frames in 5.0 seconds = 144.200 FPS
722 frames in 5.0 seconds = 144.400 FPS


Appearantly libg++.a does not come with mandrake 8.2, instead the package libstdc++ I beleave is the one that comes with it, although libg++.a according to what I gather tends to make for large executables. I will use it if nessessary but so far I cannot seem to get my hands on it.[/code]

DragonSpirit

this may be part of the problem... and also a solution

Post #11by DragonSpirit » 25.06.2002, 02:53

It's not valid C++ - it's broken. You need to use gcc-2.96. Specifically - it's not using namespaces correctly. gcc 3.x requires ISO C++ compliance, which requires using namespaces right. Thanks to all in the official mandrake irc channel. To get past that first set of errors you put "using namespace std:" near the top of the "starbrowser.h" file. More errors pop up after you get past that due to illegal type conversions, but simple casts can fix them.
thanks go to Grimau in #mandrake on irc.opensource.net for helping me learn and understand things and for guiding me through this.

I have made an RPM that works on 8.2, I did this by downloading the celestia-1.2.4-3mdk.src.rpm Mandrake cooker source package from rpmfind.net if anyone wishes to do this you can do it by doign this after downloading it:
su
<password>
cd /whatever/directory/
rpmbuild --rebuild celestia-1.2.4-3mdk.src.rpm
(wait for it to finish)
rpm -U /usr/src/RPM/RPMS/i586/celestia-1.2.4-3mdk.i586.rpm
then type: celestia
you should be able to do this with all the proper libs and development libs installed off the 3 cds in the standered mandrake package

As for Little_Tux, please post what type of graphics card you have and I may be able to help you get it to support the direct renduring capabilities. Can't make a promise I can but I will try.
Thank you all,

Dragon

drjoe

Patches in sourceforge

Post #12by drjoe » 25.06.2002, 05:13

I had the same problems with my Mandrake installation. I posted some patched
onto the sourceforge site for celestia to fix some of the non-ISO problems.

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 6 months
Location: Hamburg, Germany

Post #13by t00fri » 25.06.2002, 11:54

Dragon & Drjoe
--------------------

Great you solved that tricky problem that from a Non-Mandrake (gcc 2.96) perspective really looked sort of "crazy". Before you found the solution, I was trying to recall some warnings in the net concerning respective pecularities of gcc 3.x relative to 2.96, but unfortunately, I lost track of this issue somehow too early;-).

Dragon:
-------------

I have no concrete idea of the performance of Vodoo3 cards, but the performance you quoted seems to be incredibly low with the DRI drivers. This is about the same rate as one gets from software rendering (Mesa).

To me it still looks as if there is something wrong in your installation, despite the correct direct rendering statements you are getting.

As a comparison, I have a
ATI Rage 128/32MB card in my PIII 750MHZ office machine that also runs with DRI. glxgears gives about a factor 5 speed increase due to the hardware support, i.e. 500-600 fps. This is still bad, of course, in an absolute sense since my oldish GeForce 2 GTS gives 2592 fps with a PIII 1GHz.

I remember that DRI is sort of picky as to permissions. It may jump out of hardware support without notice in case of user login, rather than root, if the permissions are not correctly set!

Did you take those low rates as root or as user?

Good Luck Fridger

Dragon

Hardware

Post #14by Dragon » 25.06.2002, 16:23

Yes from what I gather it is normal, maybe it will speed it up if I dust the cobwebs off my hardware. It's only a 233 mhz machine 256 megs of Ram and with a 16 meg Voodoo3 2000. Yes I ran it as root as well and it is identical in performance. I imagine I could improve the performance if I lowered the resolution. Yes, "for comparision" I imagine your's blows mine away. But also for comparison, its old hardware. I do also have many other machines that make this thing and many named on here look like nothing. I just happen to like this machine because its the first one I put linux on back in about 1995 or so, and also had it most of the teen years of mine. So basically its like an old friend to me. So really, comparing a machine with a gforce and a pentium III really even isn't fair when it comes to that. Point is, it works, I am happy, and maybe now Celestia can work for more mandrake users, seeing as mandrake does not come with libg++.a which is no longer being worked on and has been replaced by libstdc++.

Ignatz

hmmmm.....

Post #15by Ignatz » 25.06.2002, 16:58

:lol: t00fri... are you sure youre not bullshitting just a little?

an ati rage 128 based card isnt exactly a powerhouse

and i find it a little hard to believe that the machine you described gets those framerates in glxgears... have any screenshots to back up your claims?

Avatar
t00fri
Developer
Posts: 8772
Joined: 29.03.2002
Age: 18
With us: 18 years 6 months
Location: Hamburg, Germany

Hardware

Post #16by t00fri » 25.06.2002, 17:21

Dragon wrote:Yes from what I gather it is normal, maybe it will speed it up if I dust the cobwebs off my hardware. It's only a 233 mhz machine 256 megs of Ram and with a 16 meg Voodoo3 2000. Yes I ran it as root as well and it is identical in performance. I imagine I could improve the performance if I lowered the resolution. Yes, "for comparision" I imagine your's blows mine away. But also for comparison, its old hardware. I do also have many other machines that make this thing and many named on here look like nothing. I just happen to like this machine because its the first one I put linux on back in about 1995 or so, and also had it most of the teen years of mine. So basically its like an old friend to me. So really, comparing a machine with a gforce and a pentium III really even isn't fair when it comes to that. Point is, it works, I am happy, and maybe now Celestia can work for more mandrake users, seeing as mandrake does not come with libg++.a which is no longer being worked on and has been replaced by libstdc++.


Well, I have great sympathies for this kind of "old friend". I had one like this also for many years. But you did not tell me about your hardware before, so I had to assume that it corresponds somehow to nowaday's average. I also did not specify my fps rates to you in order to "blow your's away", but rather to provide some sort of reasonable uptodate reference value ( GeForce3,4 cards are much higher of course).

Bye Fridger

Guest

hmmmm.....

Post #17by Guest » 25.06.2002, 17:35

Ignatz wrote::lol: t00fri... are you sure youre not bullshitting just a little?

an ati rage 128 based card isnt exactly a powerhouse

and i find it a little hard to believe that the machine you described gets those framerates in glxgears... have any screenshots to back up your claims?


First of all, I am NEVER bullshitting! This is beyond my English vocabulary that I can understand...

Where are you from?...

550 fps is really slow for nowadays typical hardware performance its 1/5th of my old GeForce 2 card. What do you want? If you find this fast then you probably own a Matrox card;-). I have not bought that machine, it is my office machine and not meant for 3d. Here is the relevant part of my XF86Config

Section "Device"
BoardName "Rage 128 Pro AGP 4x (TMDS)"
BusID "1:0:0"
Driver "r128"
Identifier "Device[0]"
Screen 0
VideoRam 32768
VendorName "ATI"
Option "AGPMode" "4"
Option "UseCCEFor2D" "false"
EndSection

The brand name is ATI Rage 128 2000PRO, 32 MB. It sells for 70$ or so.

I am sure other's can confirm this sort of rate, I do not see any reason why I should have to "prove" anything to you. If you do not believe it, ask in the net.


Bye Fridger

Ignatz

8)

Post #18by Ignatz » 25.06.2002, 17:45

8)


sounds EXACTLY like bullshit to me....


sorry but i used to have a rage 128 myself

got rid of it cause it sucked

got a geforce 4 mx


and i dont think thats a fast number... just fast for the machine you claimed to have it on :P

Ignatz

how quaint :)

Post #19by Ignatz » 25.06.2002, 17:49

and you moved UP from a geforce 2 to a rage 128?


what kind of drugs are you smoking? :?

Ignatz

Post #20by Ignatz » 25.06.2002, 17:53

altho the rage 128 was a nice toy for its time... i'd sell you my old one for $5 but i would feel guilty for ripping you off :wink:


Return to “Bugs”

Who is online