Latest build error with Celestia SVN

Report bugs, bug fixes and workarounds here.
Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Latest build error with Celestia SVN

Post #1by NIGHTCAST2000 » 06.02.2010, 00:46

Hi everyone,
I downloaded the latest updates for Celestia SVN tonight.I did a make distclean,then autorronf -iv,then ./configure --prefix=/usr --with-gtk,and lastly make.I got an error,the error message will be at the bottom of this post.I'm currently using Fedora Rawhide(Fc13),I use the latest Nouveau drivers for my Nvidia 6,800 GT Graphics Card.
Regards,
NIGHTCAST2000

Code: Select all

make[4]: Entering directory `/opt/svncelestia/celestia/src/celestia'                                                                                                                                                                                         
/bin/sh ../../libtool --tag=CXX   --mode=link g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -pthread -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12      -DLUA_VER=0x050100 -DCELX   -o celestia celestiacore.o configfile.o destination.o eclipsefinder.o favorites.o imagecapture.o url.o celx.o celx_celestia.o celx_frame.o celx_gl.o celx_object.o celx_observer.o celx_phase.o celx_position.o celx_rotation.o celx_vector.o    gtk/libgtkgui.a ../celengine/libcelengine.a ../celephem/libcelephem.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.a ../celutil/libcelutil.a  -lpng -ljpeg -lGLU -lGL -lz  -lSM -lICE  -lm   -lXmu -lXi -lXext -lX11 -lm -lz  -lGL -pthread -Wl,--export-dynamic -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lcairo   -llua -lm -ldl                                                                                                                         
libtool: link: g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -pthread -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -DLUA_VER=0x050100 -DCELX -o celestia celestiacore.o configfile.o destination.o eclipsefinder.o favorites.o imagecapture.o url.o celx.o celx_celestia.o celx_frame.o celx_gl.o celx_object.o celx_observer.o celx_phase.o celx_position.o celx_rotation.o celx_vector.o -pthread -Wl,--export-dynamic  gtk/libgtkgui.a ../celengine/libcelengine.a ../celephem/libcelephem.a ../celtxf/libceltxf.a ../cel3ds/libcel3ds.a ../celmath/libcelmath.a ../celutil/libcelutil.a -lpng -ljpeg -lXi -lXext -lz -lgtkglext-x11-1.0 -lgdkglext-x11-1.0 -lGLU -lGL -lXmu -lXt -lSM -lICE -lgtk-x11-2.0 -lpangox-1.0 -lX11 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lcairo -llua -lm -ldl -pthread                                                                                                                                                                                                                                 
../celengine/libcelengine.a(meshmanager.o): In function `Convert3DSModel(M3DScene const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':                                                                                   
meshmanager.cpp:(.text+0x7ac): undefined reference to `cmod::Model::Model()'                                                                                                                                                                                 
meshmanager.cpp:(.text+0x7c9): undefined reference to `cmod::Model::addMaterial(cmod::Material const*)'                                                                                                                                                     
meshmanager.cpp:(.text+0x816): undefined reference to `cmod::Material::Material()'                                                                                                                                                                           
meshmanager.cpp:(.text+0x16c9): undefined reference to `cmod::Mesh::Mesh()'                                                                                                                                                                                 
meshmanager.cpp:(.text+0x16f9): undefined reference to `cmod::Mesh::VertexDescription::VertexDescription(unsigned int, unsigned int, cmod::Mesh::VertexAttribute*)'                                                                                         
meshmanager.cpp:(.text+0x1709): undefined reference to `cmod::Mesh::setVertexDescription(cmod::Mesh::VertexDescription const&)'                                                                                                                             
meshmanager.cpp:(.text+0x1711): undefined reference to `cmod::Mesh::VertexDescription::~VertexDescription()'                                                                                                                                                 
meshmanager.cpp:(.text+0x1733): undefined reference to `cmod::Mesh::setVertices(unsigned int, void*)'                                                                                                                                                       
meshmanager.cpp:(.text+0x18a6): undefined reference to `cmod::Mesh::addGroup(cmod::Mesh::PrimitiveGroupType, unsigned int, unsigned int, unsigned int*)'                                                                                                     
meshmanager.cpp:(.text+0x19a5): undefined reference to `cmod::Model::addMesh(cmod::Mesh*)'                                                                                                                                                                   
../celengine/libcelengine.a(meshmanager.o): In function `GeometryInfo::load(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':                                                                                                 
meshmanager.cpp:(.text+0x1edb): undefined reference to `cmod::Model::normalize(Eigen::Matrix<float, 3, 1, 2, 3, 1> const&)'                                                                                                                                 
meshmanager.cpp:(.text+0x1f02): undefined reference to `cmod::Model::getMaterialCount() const'                                                                                                                                                               
meshmanager.cpp:(.text+0x1f0e): undefined reference to `cmod::Model::uniquifyMaterials()'                                                                                                                                                                   
meshmanager.cpp:(.text+0x1f16): undefined reference to `cmod::Model::OpacityComparator::OpacityComparator()'                                                                                                                                                 
meshmanager.cpp:(.text+0x1f22): undefined reference to `cmod::Model::sortMeshes(cmod::Model::MeshComparator const&)'                                                                                                                                         
meshmanager.cpp:(.text+0x1f35): undefined reference to `cmod::Model::determineOpacity()'                                                                                                                                                                     
meshmanager.cpp:(.text+0x1f4d): undefined reference to `cmod::Model::getMaterialCount() const'                                                                                                                                                               
meshmanager.cpp:(.text+0x1f75): undefined reference to `cmod::Model::getPrimitiveCount() const'                                                                                                                                                             
meshmanager.cpp:(.text+0x1f8f): undefined reference to `cmod::Model::getVertexCount() const'                                                                                                                                                                 
meshmanager.cpp:(.text+0x2452): undefined reference to `cmod::Model::normalize(Eigen::Matrix<float, 3, 1, 2, 3, 1> const&)'                                                                                                                                 
meshmanager.cpp:(.text+0x2542): undefined reference to `cmod::Model::transform(Eigen::Matrix<float, 3, 1, 2, 3, 1> const&, float)'                                                                                                                           
meshmanager.cpp:(.text+0x25a2): undefined reference to `cmod::Model::transform(Eigen::Matrix<float, 3, 1, 2, 3, 1> const&, float)'                                                                                                                           
meshmanager.cpp:(.text+0x26a7): undefined reference to `cmod::LoadModel(std::basic_istream<char, std::char_traits<char> >&, cmod::TextureLoader*)'                                                                                                           
meshmanager.cpp:(.text+0x26c2): undefined reference to `cmod::Model::normalize(Eigen::Matrix<float, 3, 1, 2, 3, 1> const&)'
meshmanager.cpp:(.text+0x26f2): undefined reference to `cmod::Model::transform(Eigen::Matrix<float, 3, 1, 2, 3, 1> const&, float)'
meshmanager.cpp:(.text+0x2a8d): undefined reference to `cmod::Model::Model()'
meshmanager.cpp:(.text+0x2b11): undefined reference to `cmod::Model::addMesh(cmod::Mesh*)'
../celengine/libcelengine.a(modelgeometry.o): In function `ModelGeometry::pick(Ray3<double> const&, double&) const':
modelgeometry.cpp:(.text+0x1b5): undefined reference to `cmod::Model::pick(Eigen::Matrix<double, 3, 1, 2, 3, 1> const&, Eigen::Matrix<double, 3, 1, 2, 3, 1> const&, double&) const'
../celengine/libcelengine.a(modelgeometry.o): In function `ModelGeometry::~ModelGeometry()':
modelgeometry.cpp:(.text+0x1dc): undefined reference to `cmod::Model::~Model()'
../celengine/libcelengine.a(modelgeometry.o): In function `ModelGeometry::render(RenderContext&, double)':
modelgeometry.cpp:(.text+0x2ee): undefined reference to `cmod::Model::getMeshCount() const'
modelgeometry.cpp:(.text+0x305): undefined reference to `cmod::Model::getMesh(unsigned int) const'
modelgeometry.cpp:(.text+0x30f): undefined reference to `cmod::Mesh::getVertexDescription() const'
modelgeometry.cpp:(.text+0x3c1): undefined reference to `cmod::Model::getMaterialCount() const'
modelgeometry.cpp:(.text+0x3e3): undefined reference to `cmod::Model::getMeshCount() const'
modelgeometry.cpp:(.text+0x404): undefined reference to `cmod::Model::getMesh(unsigned int) const'
modelgeometry.cpp:(.text+0x45a): undefined reference to `cmod::Mesh::getVertexDescription() const'
modelgeometry.cpp:(.text+0x48c): undefined reference to `cmod::Model::getMaterial(unsigned int) const'
modelgeometry.cpp:(.text+0x4af): undefined reference to `cmod::Mesh::getGroupCount() const'
modelgeometry.cpp:(.text+0x4bf): undefined reference to `cmod::Mesh::getGroup(unsigned int) const'
modelgeometry.cpp:(.text+0x4ff): undefined reference to `cmod::Mesh::getVertexDescription() const'
../celengine/libcelengine.a(rendcontext.o): In function `global constructors keyed to _ZN13RenderContextC2Ev':
rendcontext.cpp:(.text+0x313): undefined reference to `cmod::Material::Material()'
rendcontext.cpp:(.text+0x32a): undefined reference to `cmod::Material::~Material()'
../celengine/libcelengine.a(render.o): In function `Renderer::renderObject(Eigen::Matrix<float, 3, 1, 2, 3, 1> const&, float, double, Eigen::Quaternion<float> const&, float, float, Renderer::RenderProperties&, LightingState const&)':
render.cpp:(.text+0x19c6a): undefined reference to `cmod::Material::Material()'
render.cpp:(.text+0x19f5b): undefined reference to `cmod::Material::~Material()'
../celengine/libcelengine.a(renderglsl.o): In function `renderGeometry_GLSL_Unlit(Geometry*, RenderInfo const&, int, float, int, Eigen::Quaternion<float> const&, double)':
renderglsl.cpp:(.text+0x104c): undefined reference to `cmod::Material::Material()'
renderglsl.cpp:(.text+0x114a): undefined reference to `cmod::Material::~Material()'
../celengine/libcelengine.a(renderglsl.o): In function `renderGeometry_GLSL(Geometry*, RenderInfo const&, int, LightingState const&, Atmosphere const*, float, int, Eigen::Quaternion<float> const&, double)':
renderglsl.cpp:(.text+0x1259): undefined reference to `cmod::Material::Material()'
renderglsl.cpp:(.text+0x1357): undefined reference to `cmod::Material::~Material()'
../celengine/libcelengine.a(spheremesh.o): In function `SphereMesh::convertToMesh() const':
spheremesh.cpp:(.text+0x2ec): undefined reference to `cmod::Mesh::Mesh()'
spheremesh.cpp:(.text+0x30f): undefined reference to `cmod::Mesh::VertexDescription::VertexDescription(unsigned int, unsigned int, cmod::Mesh::VertexAttribute*)'
spheremesh.cpp:(.text+0x31f): undefined reference to `cmod::Mesh::setVertexDescription(cmod::Mesh::VertexDescription const&)'
spheremesh.cpp:(.text+0x327): undefined reference to `cmod::Mesh::VertexDescription::~VertexDescription()'
spheremesh.cpp:(.text+0x3c0): undefined reference to `cmod::Mesh::setVertices(unsigned int, void*)'
spheremesh.cpp:(.text+0x444): undefined reference to `cmod::Mesh::addGroup(cmod::Mesh::PrimitiveGroupType, unsigned int, unsigned int, unsigned int*)'
collect2: ld returned 1 exit status
make[4]: *** [celestia] Error 1
make[4]: Leaving directory `/opt/svncelestia/celestia/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/svncelestia/celestia/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/svncelestia/celestia/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/svncelestia/celestia'
make: *** [all] Error 2
Motherboard:Asus Sabretooth 990FX
Processor: AMD Athlon II X3 46
Memory: 4 Gb DDR3 SDRAM
Graphics Card: Nvidia 560 GTX 1Gb
SoundCard: Asus onboard
Hardrive:Seagate Barracuda 1TB GB 7200rpm SATA 23Mb Cache

ajtribick
Developer
Posts: 1855
Joined: 11.08.2003
With us: 21 years 3 months

Re: Latest build error with Celestia SVN

Post #2by ajtribick » 06.02.2010, 19:13

Could you at least state the SVN revision number when posting this kind of problem? There have been some fairly frequent commits lately, don't force people to guess when it was you last updated.

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Re: Latest build error with Celestia SVN

Post #3by NIGHTCAST2000 » 06.02.2010, 20:11

Hi Ajbribick,
I'm sorry about that and to everybody else for the mistake I made.
The SVN revision number I'm have the problem is revision 4965

Regards,
NIGHTCAST2000
Motherboard:Asus Sabretooth 990FX
Processor: AMD Athlon II X3 46
Memory: 4 Gb DDR3 SDRAM
Graphics Card: Nvidia 560 GTX 1Gb
SoundCard: Asus onboard
Hardrive:Seagate Barracuda 1TB GB 7200rpm SATA 23Mb Cache

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Latest build error with Celestia SVN

Post #4by chris » 16.02.2010, 07:10

I've added a missing library file to the automake files. This should fix the reported link errors.

--Chris

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Latest build error with Celestia SVN

Post #5by John Van Vliet » 16.02.2010, 07:30

good timing chris i just found a workaround for libpng14 error and know i have the SAME error as above

from svn 4971

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Re: Latest build error with Celestia SVN

Post #6by NIGHTCAST2000 » 16.02.2010, 12:13

Hi all,
I've downloaded the latest commits to Celestia SVN(Revision 4972).Thank you very much Chris,Celesrtia from SVN builds much better,but I think it needs a final tweak to build properly.
After I ran make distclean,autoreconf -iv,./configure --prefix=/usr --with-gtk,then make,I ended up with this error:

Code: Select all

mv -f .deps/celx_rotation.Tpo .deps/celx_rotation.Po
g++ -DCONFIG_DATA_DIR='"/usr/share/celestia"' -DLOCALEDIR='"/usr/share/locale"' -DHAVE_CONFIG_H -I. -I../.. -I.. -I../../thirdparty/Eigen -I../../thirdparty/glew/include    -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -pthread -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/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include   -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12      -DLUA_VER=0x050100 -DCELX -MT celx_vector.o -MD -MP -MF .deps/celx_vector.Tpo -c -o celx_vector.o celx_vector.cpp
mv -f .deps/celx_vector.Tpo .deps/celx_vector.Po
make[4]: *** No rule to make target `../celmodel/libcelmodel.a', needed by `celestia'.  Stop.
make[4]: Leaving directory `/opt/svncelestia/celestia/src/celestia'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/svncelestia/celestia/src/celestia'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/svncelestia/celestia/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/svncelestia/celestia'
make: *** [all] Error 2
[root@mernivia celestia]# svn update
At revision 4972.

I;m sure it's an easy thing to sort out.
Regards,
NIGHTCAST2000
Motherboard:Asus Sabretooth 990FX
Processor: AMD Athlon II X3 46
Memory: 4 Gb DDR3 SDRAM
Graphics Card: Nvidia 560 GTX 1Gb
SoundCard: Asus onboard
Hardrive:Seagate Barracuda 1TB GB 7200rpm SATA 23Mb Cache

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Latest build error with Celestia SVN

Post #7by John Van Vliet » 17.02.2010, 00:20

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:12, edited 1 time in total.

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Latest build error with Celestia SVN

Post #8by chris » 17.02.2010, 01:22

OK... Now it's really fixed. SVN revision 4975. Sorry about the inconvenience--I don't have a machine to test the automake build on, so adding new directories has been causing some headaches.

--Chris

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Latest build error with Celestia SVN

Post #9by John Van Vliet » 17.02.2010, 01:58

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:12, edited 1 time in total.

Topic author
NIGHTCAST2000
Posts: 146
Joined: 09.10.2006
With us: 18 years 1 month

Re: Latest build error with Celestia SVN

Post #10by NIGHTCAST2000 » 17.02.2010, 03:15

Hi Chris and John,
I've updated Celestia SVN to revision 4975,and ran make distclean.The troulbe now is that Celestia won't clean itself completely,it ends with this error:

Code: Select all

make[3]: Entering directory `/opt/svncelestia/celestia/src/celestia'
 rm -f celestia
test -z "../../celestia" || rm -f ../../celestia
rm -rf .libs _libs
rm -f *.o
rm -f *.lo
rm -f *.tab.c
test -z "" || rm -f
test . = "." || test -z "" || rm -f
rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
make[3]: Leaving directory `/opt/svncelestia/celestia/src/celestia'
rm -rf ./.deps
rm -f Makefile
make[2]: Leaving directory `/opt/svncelestia/celestia/src/celestia'
Making distclean in celmodel
make[2]: Entering directory `/opt/svncelestia/celestia/src/celmodel'
make[2]: *** No rule to make target `distclean'.  Stop.
make[2]: Leaving directory `/opt/svncelestia/celestia/src/celmodel'
make[1]: *** [distclean-recursive] Error 1
make[1]: Leaving directory `/opt/svncelestia/celestia/src'
make: *** [distclean-recursive] Error 1

Can I ask if you're experiencing this as well John?

Regards,
NIGHTCAST2000
Motherboard:Asus Sabretooth 990FX
Processor: AMD Athlon II X3 46
Memory: 4 Gb DDR3 SDRAM
Graphics Card: Nvidia 560 GTX 1Gb
SoundCard: Asus onboard
Hardrive:Seagate Barracuda 1TB GB 7200rpm SATA 23Mb Cache

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 2 months

Re: Latest build error with Celestia SVN

Post #11by John Van Vliet » 17.02.2010, 03:49

--- edit ---
Last edited by John Van Vliet on 20.10.2013, 08:11, edited 1 time in total.

chris
Site Admin
Posts: 4211
Joined: 28.01.2002
With us: 22 years 9 months
Location: Seattle, Washington, USA

Re: Latest build error with Celestia SVN

Post #12by chris » 19.02.2010, 19:02

Fridger has fixed the problem with the automake files and verified that the Linux version builds cleanly now.

--Chris


Return to “Bugs”