Page 1 of 1

Building Celestia-1.4.1 fails([libcelengine_a.all_cpp.o]

Posted: 17.05.2006, 15:02
by Pedja
I'm sorry that my first post here is possible bug report :)
First,I had a problem in configure stage,with 'library jpeg not found'.
I updated gtkglext to 1.2.0(latest),and it went away.
Now,make fails.Below is trimmed log,I have a whole log if needed.

Code: Select all

Making all in celengine
make[3]: Entering directory `/usr/pkgmk/work/celestia/src/celestia-1.4.1/src/celengine'
creating libcelengine_a.all_cpp.cpp ...
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/X11R6/include   -I/usr/include/cairo   -DCELX -I/usr/include  -MT libcelengine_a.all_cpp.o -MD -MP -MF ".deps/libcelengine_a.all_cpp.Tpo" \
  -c -o libcelengine_a.all_cpp.o `test -f 'libcelengine_a.all_cpp.cpp' || echo './'`libcelengine_a.all_cpp.cpp; \
then mv -f ".deps/libcelengine_a.all_cpp.Tpo" ".deps/libcelengine_a.all_cpp.Po"; \
else rm -f ".deps/libcelengine_a.all_cpp.Tpo"; exit 1; \
fi
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/backward/strstream:51,
                 from cmdparser.cpp:21,
                 from libcelengine_a.all_cpp.cpp:7:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from libcelengine_a.all_cpp.cpp:8:
../celengine/command.h: In constructor `RepeatCommand::RepeatCommand(CommandSequence*, int)':
../celengine/command.h:541: warning: `RepeatCommand::repeatCount' will be initialized after
../celengine/command.h:540: warning:   `double RepeatCommand::bodyDuration'
command.cpp:743: warning:   when initialized here
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/fstream:840,
                 from customorbit.cpp:12,
                 from libcelengine_a.all_cpp.cpp:11:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/fstream.tcc: In member function `virtual typename std::basic_filebuf<_CharT, _Traits>::int_type std::basic_filebuf<_CharT, _Traits>::underflow()':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/fstream.tcc:277: error: expected unqualified-id before '(' token
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/fstream.tcc: In member function `virtual std::streamsize std::basic_filebuf<_CharT, _Traits>::xsputn(const _CharT*, std::streamsize)':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/fstream.tcc:600: error: expected unqualified-id before '(' token
In file included from libcelengine_a.all_cpp.cpp:11:
customorbit.cpp: In member function `virtual Point3d RheaOrbit::computePosition(double) const':
customorbit.cpp:2149: warning: unused variable '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:2462: warning: `UranianSatelliteOrbit::zetaTerms' will be initialized after
customorbit.cpp:2457: warning:   `double*UranianSatelliteOrbit::L_k'
customorbit.cpp:2478: warning:   when initialized here
customorbit.cpp: In member function `virtual Point3d TritonOrbit::computePosition(double) const':
customorbit.cpp:2654: warning: unused variable 'e'
In file included from libcelengine_a.all_cpp.cpp:17:
dsooctree.cpp: At global scope:
dsooctree.cpp:76: error: specialization of void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = DeepSkyObject*, PREC = double] after instantiation
dsooctree.cpp:76: error: prototype for `void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = DeepSkyObject*, PREC = double]' does not match any in class `StaticOctree<DeepSkyObject*, double>'
../celengine/octree.h:108: error: candidate is: void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = DeepSkyObject*, PREC = double]
dsooctree.cpp:76: error: `void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = DeepSkyObject*, PREC = double]' and `void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = DeepSkyObject*, PREC = double]' cannot be overloaded
dsooctree.cpp:136: error: specialization of void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = DeepSkyObject*, PREC = double] after instantiation
dsooctree.cpp:136: error: prototype for `void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = DeepSkyObject*, PREC = double]' does not match any in class `StaticOctree<DeepSkyObject*, double>'
../celengine/octree.h:113: error: candidate is: void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = DeepSkyObject*, PREC = double]
dsooctree.cpp:136: error: `void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = DeepSkyObject*, PREC = double]' and `void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = DeepSkyObject*, PREC = double]' cannot be overloaded
In file included from libcelengine_a.all_cpp.cpp:21:
galaxy.cpp: In member function `virtual void Galaxy::renderGalaxyEllipsoid(const GLContext&, const Vec3f&, const Quatf&, float, float)':
galaxy.cpp:321: warning: unused variable 'e'
In file included from libcelengine_a.all_cpp.cpp:26:
jpleph.cpp: In member function `Point3d JPLEphemeris::getPlanetPosition(JPLEphemItem, double) const':
jpleph.cpp:106: warning: comparison between signed and unsigned integer expressions
jpleph.cpp:118: warning: comparison between signed and unsigned integer expressions
In file included from libcelengine_a.all_cpp.cpp:28:
lodspheremesh.cpp: In member function `void LODSphereMesh::render(const GLContext&, unsigned int, const Frustum&, float, Texture**, int)':
lodspheremesh.cpp:350: warning: unused variable 'reject'
lodspheremesh.cpp: In member function `void LODSphereMesh::renderSection(int, int, int, const LODSphereMesh::RenderInfo&)':
lodspheremesh.cpp:672: warning: unused variable 'n3'
lodspheremesh.cpp:673: warning: unused variable 'n2'
In file included from libcelengine_a.all_cpp.cpp:30:
mesh.cpp: In destructor `Mesh::~Mesh()':
mesh.cpp:192: warning: deleting `void*' is undefined
In file included from libcelengine_a.all_cpp.cpp:32:
model.cpp: At global scope:
model.cpp:31: error: redefinition of `size_t VertexAttributeFormatSizes[5]'
mesh.cpp:19: error: `size_t VertexAttributeFormatSizes[5]' previously defined here
In file included from libcelengine_a.all_cpp.cpp:33:
modelfile.cpp: In member function `char* AsciiModelLoader::loadVertices(const Mesh::VertexDescription&, uint32&)':
modelfile.cpp:525: warning: unused variable 'nBytes'
modelfile.cpp: In function `int32 readUint(std::istream&)':
modelfile.cpp:1072: error: redefinition of `int32 readUint(std::istream&)'
jpleph.cpp:37: error: `int32 readUint(std::istream&)' previously defined here
modelfile.cpp: In member function `char* BinaryModelLoader::loadVertices(const Mesh::VertexDescription&, uint32&)':
modelfile.cpp:1533: warning: unused variable 'readCount'
In file included from orbit.cpp:15,
                 from libcelengine_a.all_cpp.cpp:38:
../celmath/solve.h: At global scope:
../celmath/solve.h:19: error: redefinition of `template<class T, class F> std::pair<_ForwardIterator, _ForwardIterator> solve_bisection(F, T, T, T, int)'
../celmath/solve.h:19: error: `template<class T, class F> std::pair<_ForwardIterator, _ForwardIterator> solve_bisection(F, T, T, T, int)' previously declared here
../celmath/solve.h:45: error: redefinition of `template<class T, class F> std::pair<_ForwardIterator, _ForwardIterator> solve_iteration(F, T, T, int)'
../celmath/solve.h:45: error: `template<class T, class F> std::pair<_ForwardIterator, _ForwardIterator> solve_iteration(F, T, T, int)' previously declared here
../celmath/solve.h:65: error: redefinition of `template<class T, class F> std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int)'
../celmath/solve.h:65: error: `template<class T, class F> std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int)' previously declared here
In file included from libcelengine_a.all_cpp.cpp:38:
orbit.cpp: In member function `double EllipticalOrbit::eccentricAnomaly(double) const':
orbit.cpp:128: error: call of overloaded `solve_iteration_fixed(SolveKeplerFunc1, double&, int)' is ambiguous
../celmath/solve.h:65: note: candidates are: std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int) [with T = double, F = SolveKeplerFunc1]
../celmath/solve.h:65: note:                 std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int) [with T = double, F = SolveKeplerFunc1]
orbit.cpp:135: error: call of overloaded `solve_iteration_fixed(SolveKeplerFunc2, double&, int)' is ambiguous
../celmath/solve.h:65: note: candidates are: std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int) [with T = double, F = SolveKeplerFunc2]
../celmath/solve.h:65: note:                 std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int) [with T = double, F = SolveKeplerFunc2]
orbit.cpp:147: error: call of overloaded `solve_iteration_fixed(SolveKeplerLaguerreConway, double&, int)' is ambiguous
../celmath/solve.h:65: note: candidates are: std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int) [with T = double, F = SolveKeplerLaguerreConway]
../celmath/solve.h:65: note:                 std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int) [with T = double, F = SolveKeplerLaguerreConway]
orbit.cpp:160: error: call of overloaded `solve_iteration_fixed(SolveKeplerLaguerreConwayHyp, double&, int)' is ambiguous
../celmath/solve.h:65: note: candidates are: std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int) [with T = double, F = SolveKeplerLaguerreConwayHyp]
../celmath/solve.h:65: note:                 std::pair<_ForwardIterator, _ForwardIterator> solve_iteration_fixed(F, T, int) [with T = double, F = SolveKeplerLaguerreConwayHyp]
In file included from libcelengine_a.all_cpp.cpp:39:
overlay.cpp: In member function `void Overlay::printf(const char*, ...)':
overlay.cpp:182: warning: function might be possible candidate for `printf' format attribute
In file included from render.cpp:17,
                 from libcelengine_a.all_cpp.cpp:44:
../../config.h:117:1: warning: "HAVE_STDLIB_H" redefined
In file included from /usr/include/jpeglib.h:24,
                 from image.cpp:45,
                 from libcelengine_a.all_cpp.cpp:25:
/usr/include/jconfig.h:12:1: warning: this is the location of the previous definition
In file included from libcelengine_a.all_cpp.cpp:44:
render.cpp:1714:5: warning: "DEBUG_COALESCE" is not defined
render.cpp:1730:5: warning: "DEBUG_COALESCE" is not defined
In file included from libcelengine_a.all_cpp.cpp:44:
render.cpp: In member function `void Renderer::render(const Observer&, const Universe&, float, const Selection&)':
render.cpp:1700: warning: unused variable 'blah'
render.cpp: In function `void renderCompass(Point3f, const Quatf&, Vec3f, float)':
render.cpp:2727: warning: unused variable 'ellipDist'
render.cpp: In function `void renderClouds_GLSL(const RenderInfo&, const LightingState&, Texture*, float, RingSystem*, float, const Mat4f&, const Frustum&, const GLContext&)':
render.cpp:3947: warning: unused variable 'attributes'
render.cpp: In function `void renderRings(RingSystem&, RenderInfo&, float, float, unsigned int, bool, const GLContext&, unsigned int)':
render.cpp:4110: warning: unused variable 'angle'
render.cpp: In function `void renderRings_GLSL(RingSystem&, RenderInfo&, const LightingState&, float, float, unsigned int, bool, unsigned int)':
render.cpp:4318: warning: unused variable 'angle'
render.cpp:4350: warning: unused variable 'scale'
render.cpp: In function `void ProcessCometTailVertex(const CometTailVertex&, const Point3f&, float, float)':
render.cpp:5839: warning: unused variable 'u0'
render.cpp: In member function `void Renderer::renderCometTail(const Body&, Point3f, float, float, double, Quatf, const std::vector<Renderer::LightSource, std::allocator<Renderer::LightSource> >&, float, float)':
render.cpp:5878: warning: unused variable 'f'
render.cpp:5880: warning: unused variable 'dt'
render.cpp:5933: warning: unused variable 'comaRadius'
In file included from libcelengine_a.all_cpp.cpp:47:
shadermanager.cpp: In member function `void CelestiaGLProgram::initParameters(const ShaderProperties&)':
shadermanager.cpp:250: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:251: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:252: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:253: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:255: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:256: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp: In function `std::string DirectionalLight(unsigned int, const ShaderProperties&)':
shadermanager.cpp:447: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:451: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:468: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:480: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp: In member function `GLVertexShader* ShaderManager::buildVertexShader(const ShaderProperties&)':
shadermanager.cpp:663: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:664: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:665: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:701: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:703: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp: In member function `GLFragmentShader* ShaderManager::buildFragmentShader(const ShaderProperties&)':
shadermanager.cpp:755: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:759: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:868: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:874: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:886: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:891: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp: In member function `GLVertexShader* ShaderManager::buildRingsVertexShader(const ShaderProperties&)':
shadermanager.cpp:973: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:991: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp: In member function `GLFragmentShader* ShaderManager::buildRingsFragmentShader(const ShaderProperties&)':
shadermanager.cpp:1022: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:1066: warning: deprecated conversion from string constant to `char*'
shadermanager.cpp:1071: warning: deprecated conversion from string constant to `char*'
In file included from libcelengine_a.all_cpp.cpp:51:
star.cpp: At global scope:
star.cpp:344: warning: deprecated conversion from string constant to `char*'
star.cpp:344: warning: deprecated conversion from string constant to `char*'
star.cpp:344: warning: deprecated conversion from string constant to `char*'
star.cpp:344: warning: deprecated conversion from string constant to `char*'
star.cpp:344: warning: deprecated conversion from string constant to `char*'
star.cpp:344: warning: deprecated conversion from string constant to `char*'
star.cpp:344: warning: deprecated conversion from string constant to `char*'
star.cpp:344: warning: deprecated conversion from string constant to `char*'
star.cpp:344: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:348: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:353: warning: deprecated conversion from string constant to `char*'
star.cpp:357: warning: deprecated conversion from string constant to `char*'
star.cpp:357: warning: deprecated conversion from string constant to `char*'
star.cpp:357: warning: deprecated conversion from string constant to `char*'
star.cpp:357: warning: deprecated conversion from string constant to `char*'
star.cpp:357: warning: deprecated conversion from string constant to `char*'
star.cpp:357: warning: deprecated conversion from string constant to `char*'
star.cpp:357: warning: deprecated conversion from string constant to `char*'
star.cpp:357: warning: deprecated conversion from string constant to `char*'
In file included from libcelengine_a.all_cpp.cpp:54:
stardb.cpp:76: error: redefinition of `struct PtrCatalogNumberOrderingPredicate'
dsodb.cpp:48: error: previous definition of `struct PtrCatalogNumberOrderingPredicate'
stardb.cpp: In function `bool parseCelestiaCatalogNumber(const std::string&, uint32*)':
stardb.cpp:155: warning: char format, different type arg (arg 4)
stardb.cpp: In function `void errorMessagePrelude(const Tokenizer&)':
stardb.cpp:815: error: redefinition of `void errorMessagePrelude(const Tokenizer&)'
solarsys.cpp:79: error: `void errorMessagePrelude(const Tokenizer&)' previously defined here
stardb.cpp: In member function `Star* StarDatabase::createStar(uint32, Hash*, const std::string&, bool)':
stardb.cpp:837: warning: unused variable 'magnitude'
In file included from libcelengine_a.all_cpp.cpp:56:
staroctree.cpp: At global scope:
staroctree.cpp:83: error: specialization of void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = Star, PREC = float] after instantiation
staroctree.cpp:83: error: prototype for `void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = Star, PREC = float]' does not match any in class `StaticOctree<Star, float>'
../celengine/octree.h:108: error: candidate is: void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = Star, PREC = float]
staroctree.cpp:83: error: `void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = Star, PREC = float]' and `void StaticOctree<OBJ, PREC>::processVisibleObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, const Plane<float>*, float, PREC) const [with OBJ = Star, PREC = float]' cannot be overloaded
staroctree.cpp:141: error: specialization of void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = Star, PREC = float] after instantiation
staroctree.cpp:141: error: prototype for `void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = Star, PREC = float]' does not match any in class `StaticOctree<Star, float>'
../celengine/octree.h:113: error: candidate is: void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = Star, PREC = float]
staroctree.cpp:141: error: `void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = Star, PREC = float]' and `void StaticOctree<OBJ, PREC>::processCloseObjects(OctreeProcessor<OBJ, PREC>&, const Point3<PREC>&, PREC, PREC) const [with OBJ = Star, PREC = float]' cannot be overloaded
In file included from libcelengine_a.all_cpp.cpp:59:
../celengine/texture.h: In constructor `Texture::Texture(int, int, int)':
../celengine/texture.h:95: warning: `Texture::depth' will be initialized after
../celengine/texture.h:90: warning:   `bool Texture::alpha'
texture.cpp:344: warning:   when initialized here
In file included from libcelengine_a.all_cpp.cpp:63:
../celengine/universe.h: In constructor `Universe::Universe()':
../celengine/universe.h:120: warning: `Universe::solarSystemCatalog' will be initialized after
../celengine/universe.h:119: warning:   `DSODatabase*Universe::dsoCatalog'
universe.cpp:34: warning:   when initialized here
In file included from libcelengine_a.all_cpp.cpp:65:
vertexprog.cpp: In function `std::string* ReadTextFromFile(const std::string&)':
vertexprog.cpp:90: error: redefinition of `std::string* ReadTextFromFile(const std::string&)'
fragmentprog.cpp:58: error: `std::string* ReadTextFromFile(const std::string&)' previously defined here
In file included from libcelengine_a.all_cpp.cpp:66:
virtualtex.cpp: In function `bool isPow2(int)':
virtualtex.cpp:39: error: redefinition of `bool isPow2(int)'
texture.cpp:949: error: `bool isPow2(int)' previously defined here
virtualtex.h: In constructor `VirtualTexture::VirtualTexture(const std::string&, unsigned int, unsigned int, const std::string&, const std::string&)':
virtualtex.h:72: warning: `VirtualTexture::baseSplit' will be initialized after
virtualtex.h:71: warning:   `std::string VirtualTexture::tilePrefix'
virtualtex.cpp:66: warning:   when initialized here
In file included from libcelengine_a.all_cpp.cpp:67:
vsop87.cpp: In function `double yearToJD(int)':
vsop87.cpp:17587: error: redefinition of `double yearToJD(int)'
customorbit.cpp:2759: error: `double yearToJD(int)' previously defined here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h: In function `_ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = Star**, _Tp = Star*, _Compare = PtrCatalogNumberOrderingPredicate]':
stardb.cpp:209:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2685: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star*&, Star* const&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h: In function `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2506:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = Star**, _Size = int, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2589:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
stardb.cpp:1219:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2317: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star*&, Star*&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h: In function `const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&, _Compare) [with _Tp = Star*, _Compare = PtrCatalogNumberOrderingPredicate]':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2519:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = Star**, _Size = int, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2589:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
stardb.cpp:1219:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:124: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star* const&, Star* const&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:125: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star* const&, Star* const&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:127: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star* const&, Star* const&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:131: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star* const&, Star* const&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:133: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star* const&, Star* const&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h: In function `_RandomAccessIterator std::__unguarded_partition(_RandomAccessIterator, _RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = Star**, _Tp = Star*, _Compare = PtrCatalogNumberOrderingPredicate]':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2519:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = Star**, _Size = int, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2589:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
stardb.cpp:1219:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2039: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star*&, Star*&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2042: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star*&, Star*&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h: In function `void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2218:   instantiated from `void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2591:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
stardb.cpp:1219:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2143: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star*&, Star*&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h: In function `void std::__unguarded_linear_insert(_RandomAccessIterator, _Tp, _Compare) [with _RandomAccessIterator = Star**, _Tp = Star*, _Compare = PtrCatalogNumberOrderingPredicate]':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2149:   instantiated from `void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2218:   instantiated from `void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2591:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
stardb.cpp:1219:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2091: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star*&, Star*&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_heap.h: In function `void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = Star**, _Distance = int, _Tp = Star*, _Compare = PtrCatalogNumberOrderingPredicate]':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_heap.h:404:   instantiated from `void std::make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2315:   instantiated from `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2506:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = Star**, _Size = int, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2589:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
stardb.cpp:1219:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_heap.h:279: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star*&, Star*&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_heap.h: In function `void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = Star**, _Distance = int, _Tp = Star*, _Compare = PtrCatalogNumberOrderingPredicate]':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_heap.h:291:   instantiated from `void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = Star**, _Distance = int, _Tp = Star*, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_heap.h:404:   instantiated from `void std::make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2315:   instantiated from `void std::partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2506:   instantiated from `void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = Star**, _Size = int, _Compare = PtrCatalogNumberOrderingPredicate]'
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_algo.h:2589:   instantiated from `void std::sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = Star**, _Compare = PtrCatalogNumberOrderingPredicate]'
stardb.cpp:1219:   instantiated from here
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../include/c++/3.4.5/bits/stl_heap.h:166: error: no match for call to `(PtrCatalogNumberOrderingPredicate) (Star*&, Star*&)'
dsodb.cpp:54: note: candidates are: bool PtrCatalogNumberOrderingPredicate::operator()(const DeepSkyObject* const&, const DeepSkyObject* const&) const
../celengine/execenv.h: At global scope:
../celengine/execenv.h:24: warning: inline function `virtual Simulation* ExecutionEnvironment::getSimulation() const' used but never defined
../celengine/execenv.h:26: warning: inline function `virtual CelestiaCore* ExecutionEnvironment::getCelestiaCore() const' used but never defined
../celengine/execenv.h:25: warning: inline function `virtual Renderer* ExecutionEnvironment::getRenderer() const' used but never defined
../celengine/command.h:39: warning: unused parameter 't'
../celengine/command.h:39: warning: unused parameter 'dt'
universe.cpp:812: warning: unused parameter 'appMag'
universe.cpp:799: warning: unused parameter 'angle'
universe.cpp:799: warning: unused parameter 'angle'
universe.cpp:747: warning: unused parameter 'distance'
universe.cpp:747: warning: unused parameter 'appMag'
universe.cpp:615: warning: unused parameter 'appMag'
universe.cpp:532: warning: unused parameter 'distance'
universe.cpp:532: warning: unused parameter 'appMag'
universe.cpp:430: warning: unused parameter 'faintestMag'
universe.cpp:285: warning: unused parameter 'appMag'
universe.cpp:256: warning: unused parameter 'appMag'
staroctree.cpp:29: warning: unused parameter 'absMag'
samporbit.cpp:231: warning: unused parameter 'nSamples'
render.cpp:6751: warning: unused parameter 'starDB'
render.cpp:5872: warning: unused parameter 'distance'
render.cpp:5872: warning: unused parameter 'appMag'
render.cpp:5872: warning: unused parameter 'orientation'
render.cpp:5872: warning: unused parameter 'nearPlaneDistance'
render.cpp:5872: warning: unused parameter 'farPlaneDistance'
render.cpp:4651: warning: unused parameter 'model'
render.cpp:4651: warning: unused parameter 'sunDir'
render.cpp:4651: warning: unused parameter 'oblateness'
render.cpp:4651: warning: unused parameter 'planetMat'
render.cpp:2413: warning: unused parameter 'ambientColor'
render.cpp:240: warning: unused parameter 'v'
render.cpp:240: warning: unused parameter 'w'
render.cpp:222: warning: unused parameter 'w'
render.cpp:208: warning: unused parameter 'w'
render.cpp:191: warning: unused parameter 'w'
render.cpp:297: warning: unused parameter 'v'
render.cpp:297: warning: unused parameter 'w'
render.cpp:262: warning: unused parameter 'w'
rendcontext.cpp:558: warning: unused parameter 'desc'
rendcontext.cpp:558: warning: unused parameter 'vertexData'
rendcontext.cpp:372: warning: unused parameter 'm'
rendcontext.cpp:363: warning: unused parameter 'material'
rendcontext.cpp:363: warning: unused parameter 'material'
regcombine.cpp:229: warning: unused parameter 'bumpTexture'
orbit.cpp:224: warning: unused parameter 'start'
opencluster.cpp:62: warning: unused parameter 'offset'
opencluster.cpp:62: warning: unused parameter 'viewerOrientation'
opencluster.cpp:62: warning: unused parameter 'brightness'
opencluster.cpp:62: warning: unused parameter 'pixelSize'
opencluster.cpp:43: warning: unused parameter 'bufLength'
opencluster.cpp:38: warning: unused parameter 'typeStr'
observer.cpp:1033: warning: unused parameter 'startInter'
observer.cpp:1033: warning: unused parameter 'endInter'
nebula.cpp:81: warning: unused parameter 'offset'
nebula.cpp:81: warning: unused parameter 'viewerOrientation'
nebula.cpp:81: warning: unused parameter 'brightness'
nebula.cpp:81: warning: unused parameter 'pixelSize'
nebula.cpp:45: warning: unused parameter 'bufLength'
nebula.cpp:40: warning: unused parameter 'typeStr'
meshmanager.cpp:407: warning: unused parameter 'texPath'
image.cpp:411: warning: unused parameter 'channels'
glext.cpp:355: warning: unused parameter 'szFormat'
galaxy.cpp:310: warning: unused parameter 'viewerOrientation'
galaxy.cpp:310: warning: unused parameter 'brightness'
galaxy.cpp:200: warning: unused parameter 'context'
galaxy.cpp:74: warning: unused parameter 'w'
galaxy.cpp:155: warning: unused parameter 'bufLength'
fragmentprog.cpp:249: warning: unused parameter 'param'
fragmentprog.cpp:249: warning: unused parameter 'fv'
fragmentprog.cpp:244: warning: unused parameter 'param'
fragmentprog.cpp:244: warning: unused parameter 'x'
fragmentprog.cpp:244: warning: unused parameter 'y'
fragmentprog.cpp:244: warning: unused parameter 'z'
fragmentprog.cpp:244: warning: unused parameter 'w'
fragmentprog.cpp:238: warning: unused parameter 'prog'
dsooctree.cpp:28: warning: unused parameter 'absMag'
dsodb.cpp:355: warning: unused parameter 'in'
deepskyobj.cpp:111: warning: unused parameter 'resPath'
command.cpp:691: warning: unused parameter 'env'
command.cpp:412: warning: unused parameter 't'
command.cpp:394: warning: unused parameter 't'
command.cpp:376: warning: unused parameter 't'
command.cpp:361: warning: unused parameter 't'
command.cpp:320: warning: unused parameter 'env'
command.cpp:308: warning: unused parameter 'env'
command.cpp:34: warning: unused parameter 'env'
command.cpp:34: warning: unused parameter 't'
command.cpp:34: warning: unused parameter 'dt'
astro.cpp:177: warning: unused parameter 'spherePos'
astro.cpp:177: warning: unused parameter 'viewerPos'
stellarclass.cpp: In member function `char* StellarClass::str(char*, unsigned int) const':
stellarclass.cpp:119: warning: enumeration value `Lum_Unknown' not handled in switch
stellarclass.cpp:119: warning: enumeration value `Lum_Count' not handled in switch
star.cpp: In static member function `static StarDetails* StarDetails::GetNormalStarDetails(StellarClass::SpectralClass, unsigned int, StellarClass::LuminosityClass)':
star.cpp:466: warning: enumeration value `Lum_Count' not handled in switch
star.cpp:517: warning: enumeration value `Spectral_DA' not handled in switch
star.cpp:517: warning: enumeration value `Spectral_DB' not handled in switch
star.cpp:517: warning: enumeration value `Spectral_DC' not handled in switch
star.cpp:517: warning: enumeration value `Spectral_DO' not handled in switch
star.cpp:517: warning: enumeration value `Spectral_DQ' not handled in switch
star.cpp:517: warning: enumeration value `Spectral_DZ' not handled in switch
star.cpp:517: warning: enumeration value `Spectral_D' not handled in switch
star.cpp:517: warning: enumeration value `Spectral_DX' not handled in switch
star.cpp:517: warning: enumeration value `Spectral_Count' not handled in switch
star.cpp:578: warning: enumeration value `Spectral_DA' not handled in switch
star.cpp:578: warning: enumeration value `Spectral_DB' not handled in switch
star.cpp:578: warning: enumeration value `Spectral_DC' not handled in switch
star.cpp:578: warning: enumeration value `Spectral_DO' not handled in switch
star.cpp:578: warning: enumeration value `Spectral_DQ' not handled in switch
star.cpp:578: warning: enumeration value `Spectral_DZ' not handled in switch
star.cpp:578: warning: enumeration value `Spectral_D' not handled in switch
star.cpp:578: warning: enumeration value `Spectral_DX' not handled in switch
star.cpp:578: warning: enumeration value `Spectral_Count' not handled in switch
tokenizer.cpp: In member function `Tokenizer::TokenType Tokenizer::nextToken()':
tokenizer.cpp:336: warning: enumeration value `ErrorState' not handled in switch
fragmentprog.cpp: At global scope:
fragmentprog.cpp:74: warning: 'int findLineNumber(const std::string&, unsigned int)' defined but not used
rendcontext.cpp:79: warning: 'void setVertexArrays(const Mesh::VertexDescription&)' defined but not used
render.cpp:2817: warning: 'void setupBumpTexenvAmbient(Color)' defined but not used
render.cpp:3110: warning: 'void renderModel_GLSL(Model*, const LightingState&, float, const Mat4f&)' defined but not used
render.cpp:5806: warning: 'void ProcessCometTailVertex(const CometTailVertex&, const Point3f&)' defined but not used
render.cpp:5819: warning: 'void ProcessCometTailVertex(const CometTailVertex&, const Point3f&, float, float)' defined but not used
shadermanager.cpp:220: warning: 'std::string IndexedParameter(const char*, unsigned int)' defined but not used
vsop87.cpp:379: warning: 'mercury_R5' defined but not used
vsop87.cpp:595: warning: 'venus_R5' defined but not used
vsop87.cpp:781: warning: 'earth_B3' defined but not used
vsop87.cpp:788: warning: 'earth_B4' defined but not used
vsop87.cpp:793: warning: 'earth_B5' defined but not used
make[3]: *** [libcelengine_a.all_cpp.o] Error 1
make[3]: Leaving directory `/usr/pkgmk/work/celestia/src/celestia-1.4.1/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/pkgmk/work/celestia/src/celestia-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/pkgmk/work/celestia/src/celestia-1.4.1'
make: *** [all] Error 2


gcc-3.4.5
gtk-2.8.17
cairo-1.1.6
pango-1.12.1
glib-2.10.2
celestia-1.4.1
gtkglext-1.2.0

configure flags:

Code: Select all

/configure --prefix=/usr --disable-nls --with-gtk --enable-final --disable-schemas-install --with-gnu-ld --with-lua=/usr


Sorry for such a long post.
If you need more info,ask,I really like Celestia,it is fantastic.

Pedja

Posted: 17.05.2006, 19:04
by t00fri
Wow,

that's certainly not a bug ;-) . Do you really believe
that we would have released the official 1.4.1 version if it would produce such a mess? The developers compile the gtk+ version at a daily rate without the slightest problems...

For sure you forgot some header package or some lib.

Here is my ldd account for the gtk+ version so you may check whether you got all required libraries and the corresponding headers installed.

Code: Select all

 ldd celestia-gtk
        libpng.so.3 => /usr/lib/libpng.so.3 (0x4003e000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4006c000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4008d000)
        libgtkglext-x11-1.0.so.0 => /opt/gnome/lib/libgtkglext-x11-1.0.so.0 (0x40095000)
        libgdkglext-x11-1.0.so.0 => /opt/gnome/lib/libgdkglext-x11-1.0.so.0 (0x40098000)
        libpangoxft-1.0.so.0 => /opt/gnome/lib/libpangoxft-1.0.so.0 (0x400ea000)
        libpangox-1.0.so.0 => /opt/gnome/lib/libpangox-1.0.so.0 (0x400f1000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x400fc000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40178000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x401fe000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40214000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40268000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40271000)
        libgtk-x11-2.0.so.0 => /opt/gnome/lib/libgtk-x11-2.0.so.0 (0x4028a000)
        libgdk-x11-2.0.so.0 => /opt/gnome/lib/libgdk-x11-2.0.so.0 (0x40587000)
        libatk-1.0.so.0 => /opt/gnome/lib/libatk-1.0.so.0 (0x40608000)
        libgdk_pixbuf-2.0.so.0 => /opt/gnome/lib/libgdk_pixbuf-2.0.so.0 (0x40621000)
        libpangocairo-1.0.so.0 => /opt/gnome/lib/libpangocairo-1.0.so.0 (0x40637000)
        libpangoft2-1.0.so.0 => /opt/gnome/lib/libpangoft2-1.0.so.0 (0x4063e000)
        libpango-1.0.so.0 => /opt/gnome/lib/libpango-1.0.so.0 (0x40663000)
        libgobject-2.0.so.0 => /opt/gnome/lib/libgobject-2.0.so.0 (0x4069a000)
        libgmodule-2.0.so.0 => /opt/gnome/lib/libgmodule-2.0.so.0 (0x406d3000)
        libdl.so.2 => /lib/libdl.so.2 (0x406d7000)
        libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0x406da000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x40762000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x407b0000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x407df000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40851000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40871000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4087a000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40978000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40986000)
        libz.so.1 => /lib/libz.so.1 (0x409b4000)
        libglitz.so.1 => /usr/lib/libglitz.so.1 (0x409c4000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x409ea000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40aaa000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40acd000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40ad5000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40c09000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40c1c000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x413dd000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x413df000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x413e3000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x413e7000)
        libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x413f0000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


Bye Fridger

Posted: 17.05.2006, 21:48
by Pedja
t00fri wrote:Wow,

that's certainly not a bug ;-) . Do you really believe
that we would have released the official 1.4.1 version if it would produce such a mess? The developers compile the gtk+ version at a daily rate without the slightest problems...

Heh,I didn't think so :)

For sure you forgot some header package or some lib.
I don't think so,since Crux(distro I use)installs both headers and libs,
there are no -dev packages.It is either missing dependency altogether,
or something seriously broke when I updated gtk.

Here is my ldd account for the gtk+ version so you may check whether you got all required libraries and the corresponding headers installed.

Code: Select all

 ldd celestia-gtk
        libpng.so.3 => /usr/lib/libpng.so.3 (0x4003e000)
        libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4006c000)
        libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x4008d000)
        libgtkglext-x11-1.0.so.0 => /opt/gnome/lib/libgtkglext-x11-1.0.so.0 (0x40095000)
        libgdkglext-x11-1.0.so.0 => /opt/gnome/lib/libgdkglext-x11-1.0.so.0 (0x40098000)
        libpangoxft-1.0.so.0 => /opt/gnome/lib/libpangoxft-1.0.so.0 (0x400ea000)
        libpangox-1.0.so.0 => /opt/gnome/lib/libpangox-1.0.so.0 (0x400f1000)
        libGLU.so.1 => /usr/lib/libGLU.so.1 (0x400fc000)
        libGL.so.1 => /usr/lib/libGL.so.1 (0x40178000)
        libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x401fe000)
        libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40214000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40268000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40271000)
        libgtk-x11-2.0.so.0 => /opt/gnome/lib/libgtk-x11-2.0.so.0 (0x4028a000)
        libgdk-x11-2.0.so.0 => /opt/gnome/lib/libgdk-x11-2.0.so.0 (0x40587000)
        libatk-1.0.so.0 => /opt/gnome/lib/libatk-1.0.so.0 (0x40608000)
        libgdk_pixbuf-2.0.so.0 => /opt/gnome/lib/libgdk_pixbuf-2.0.so.0 (0x40621000)
        libpangocairo-1.0.so.0 => /opt/gnome/lib/libpangocairo-1.0.so.0 (0x40637000)
        libpangoft2-1.0.so.0 => /opt/gnome/lib/libpangoft2-1.0.so.0 (0x4063e000)
        libpango-1.0.so.0 => /opt/gnome/lib/libpango-1.0.so.0 (0x40663000)
        libgobject-2.0.so.0 => /opt/gnome/lib/libgobject-2.0.so.0 (0x4069a000)
        libgmodule-2.0.so.0 => /opt/gnome/lib/libgmodule-2.0.so.0 (0x406d3000)
        libdl.so.2 => /lib/libdl.so.2 (0x406d7000)
        libglib-2.0.so.0 => /opt/gnome/lib/libglib-2.0.so.0 (0x406da000)
        libcairo.so.2 => /usr/lib/libcairo.so.2 (0x40762000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x407b0000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x407df000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x40851000)
        libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40871000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4087a000)
        libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40978000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40986000)
        libz.so.1 => /lib/libz.so.1 (0x409b4000)
        libglitz.so.1 => /usr/lib/libglitz.so.1 (0x409c4000)
        libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x409ea000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40aaa000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x40acd000)
        libc.so.6 => /lib/i686/libc.so.6 (0x40ad5000)
        libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40c09000)
        libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40c1c000)
        libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0x413dd000)
        libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x413df000)
        libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x413e3000)
        libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0x413e7000)
        libXfixes.so.3 => /usr/X11R6/lib/libXfixes.so.3 (0x413f0000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

OK,let me check.

Code: Select all

prt-get depends celestia
-- dependencies ([i] = installed)
[i] zlib
[i] expat
[i] ncurses
[i] gettext
[i] pkgconfig
[i] libjpeg
[i] hicolor-icon-theme
[i] lua
[i] libpng
[i] freetype
[i] glib
[i] libtiff
[i] fontconfig
[i] atk
[i] x11
[i] libglut
[i] glitz
[i] cairo
[i] pango
[i] gtk
[i] gtkglext
[ ] celestia


Did I miss something?Would you please post which versions of
glib,glitz,cairo,pango,gtk,gtkglext are you using?
Since that's what I updated recently,and I suspect some of them are causing this mess.

Bye
Fridger


Bye,and thanks for reply.
Pedja

Posted: 17.05.2006, 21:58
by t00fri
Pedja wrote:Did I miss something?Would you please post which versions of
glib,glitz,cairo,pango,gtk,gtkglext are you using?
Since that's what I updated recently,and I suspect some of them are causing this mess.

Bye
Fridger

Bye,and thanks for reply.
Pedja


Sorry but I havn't got that much time. Also different people use different lib versions and no-one has found such a mess as you did. Believe me, it just works if you use correct libraries and a well-proven gcc version. The latter are not Celestia's responsabilities. The displayed errors in your compile simply SMELL of unknown headers etc. or a too young compiler version. Bugs just look different.

Also there are errors that claim redefinition of certain variables. This is often a signature that during upgrading old headers were not completely deleted and the compiler tries to use old headers with upgraded libs.

Didn't you upgrade recently??

Also I have never heard of your distro before ...
There will soon be more Linux distros than Linux programs ;-)

Do you have a current pkg-config installed?


Bye Fridger

Posted: 18.05.2006, 13:18
by Pedja
t00fri wrote:Sorry but I havn't got that much time. Also different people use different lib versions and no-one has found such a mess as you did. Believe me, it just works if you use correct libraries and a well-proven gcc version. The latter are not Celestia's responsabilities. The displayed errors in your compile simply SMELL of unknown headers etc. or a too young compiler version. Bugs just look different.

Also there are errors that claim redefinition of certain variables. This is often a signature that during upgrading old headers were not completely deleted and the compiler tries to use old headers with upgraded libs.

In the moment of sudden inspiration,I removed --enable-final as a
configure flag.
Celestia configures,builds,installs and runs like a charm.
WTF? :)

Didn't you upgrade recently??
Yes,but now it works as expected.
Also I have never heard of your distro before ...
There will soon be more Linux distros than Linux programs ;-)

Check http://www.crux.nu
if you are curious.Basically,it's source based,with BSD-inspired ports system,but much more elegant,and with KISS as main principle.
But I'm biased :)
It is good,IMHO,that there are so many distros,everyone can find
what they like best,and freedom and variety of choice is GoodThing[tm]

BTW,is there any functional difference between GTK+ and KDE GUI for
Celestia,or are they basically the same,but different toolkits used?
Deps for KDE GUI are kdelibs and kdebase,right?
I might check it out...
BTW,new Celestia is absolutely awesome :)

Pedja