Cannot build on suse 10.2 64 bits

General discussion about Celestia that doesn't fit into other forums.
Topic author
RGB
Posts: 4
Joined: 15.07.2006
With us: 18 years 4 months

Cannot build on suse 10.2 64 bits

Post #1by RGB » 26.02.2007, 14:34

I tried to build Celestia 1.4.1 on suse 10.2 64 bits in the same way I successfully built it in suse 10:

./configure --with-kde --with-qt-dir=/usr/lib/qt3 --with-qt-includes=/usr/lib/qt3/include/ --with-qt-libraries=/usr/lib/qt3/lib64/ --libdir=/opt/kde3/lib64/ CXXFLAGS=-fno-strict-aliasing

Configure gives no errors, but make fails with errors 1 and 2:

make all-recursive
make[1]: se ingresa al directorio `/home/lxuser/installs/st/celestia-1.4.1'
Making all in src
make[2]: se ingresa al directorio `/home/lxuser/installs/st/celestia-1.4.1/src'
Making all in celutil
make[3]: se ingresa al directorio `/home/lxuser/installs/st/celestia-1.4.1/src/celutil'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT bigfix.o -MD -MP -MF ".deps/bigfix.Tpo" \
-c -o bigfix.o `test -f 'bigfix.cpp' || echo './'`bigfix.cpp; \
then mv -f ".deps/bigfix.Tpo" ".deps/bigfix.Po"; \
else rm -f ".deps/bigfix.Tpo"; exit 1; \
fi
bigfix.cpp:147: warning: unused parameter ?€?a?€™
bigfix.cpp:147: warning: unused parameter ?€?b?€™
bigfix.cpp: In constructor ?€?BigFix::BigFix(const std::string&)?€™:
bigfix.cpp:196: warning: unused variable ?€?errors?€™
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT color.o -MD -MP -MF ".deps/color.Tpo" \
-c -o color.o `test -f 'color.cpp' || echo './'`color.cpp; \
then mv -f ".deps/color.Tpo" ".deps/color.Po"; \
else rm -f ".deps/color.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT debug.o -MD -MP -MF ".deps/debug.Tpo" \
-c -o debug.o `test -f 'debug.cpp' || echo './'`debug.cpp; \
then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; \
else rm -f ".deps/debug.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT directory.o -MD -MP -MF ".deps/directory.Tpo" \
-c -o directory.o `test -f 'directory.cpp' || echo './'`directory.cpp; \
then mv -f ".deps/directory.Tpo" ".deps/directory.Po"; \
else rm -f ".deps/directory.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT filetype.o -MD -MP -MF ".deps/filetype.Tpo" \
-c -o filetype.o `test -f 'filetype.cpp' || echo './'`filetype.cpp; \
then mv -f ".deps/filetype.Tpo" ".deps/filetype.Po"; \
else rm -f ".deps/filetype.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT formatnum.o -MD -MP -MF ".deps/formatnum.Tpo" \
-c -o formatnum.o `test -f 'formatnum.cpp' || echo './'`formatnum.cpp; \
then mv -f ".deps/formatnum.Tpo" ".deps/formatnum.Po"; \
else rm -f ".deps/formatnum.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT utf8.o -MD -MP -MF ".deps/utf8.Tpo" \
-c -o utf8.o `test -f 'utf8.cpp' || echo './'`utf8.cpp; \
then mv -f ".deps/utf8.Tpo" ".deps/utf8.Po"; \
else rm -f ".deps/utf8.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT util.o -MD -MP -MF ".deps/util.Tpo" \
-c -o util.o `test -f 'util.cpp' || echo './'`util.cpp; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; \
else rm -f ".deps/util.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT unixdirectory.o -MD -MP -MF ".deps/unixdirectory.Tpo" \
-c -o unixdirectory.o `test -f 'unixdirectory.cpp' || echo './'`unixdirectory.cpp; \
then mv -f ".deps/unixdirectory.Tpo" ".deps/unixdirectory.Po"; \
else rm -f ".deps/unixdirectory.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT unixtimer.o -MD -MP -MF ".deps/unixtimer.Tpo" \
-c -o unixtimer.o `test -f 'unixtimer.cpp' || echo './'`unixtimer.cpp; \
then mv -f ".deps/unixtimer.Tpo" ".deps/unixtimer.Po"; \
else rm -f ".deps/unixtimer.Tpo"; exit 1; \
fi
rm -f libcelutil.a
ar cru libcelutil.a bigfix.o color.o debug.o directory.o filetype.o formatnum.o utf8.o util.o unixdirectory.o unixtimer.o
ranlib libcelutil.a
make[3]: se sale del directorio `/home/lxuser/installs/st/celestia-1.4.1/src/celutil'
Making all in celmath
make[3]: se ingresa al directorio `/home/lxuser/installs/st/celestia-1.4.1/src/celmath'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT frustum.o -MD -MP -MF ".deps/frustum.Tpo" \
-c -o frustum.o `test -f 'frustum.cpp' || echo './'`frustum.cpp; \
then mv -f ".deps/frustum.Tpo" ".deps/frustum.Po"; \
else rm -f ".deps/frustum.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT perlin.o -MD -MP -MF ".deps/perlin.Tpo" \
-c -o perlin.o `test -f 'perlin.cpp' || echo './'`perlin.cpp; \
then mv -f ".deps/perlin.Tpo" ".deps/perlin.Po"; \
else rm -f ".deps/perlin.Tpo"; exit 1; \
fi
rm -f libcelmath.a
ar cru libcelmath.a frustum.o perlin.o
ranlib libcelmath.a
make[3]: se sale del directorio `/home/lxuser/installs/st/celestia-1.4.1/src/celmath'
Making all in cel3ds
make[3]: se ingresa al directorio `/home/lxuser/installs/st/celestia-1.4.1/src/cel3ds'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT 3dsmodel.o -MD -MP -MF ".deps/3dsmodel.Tpo" \
-c -o 3dsmodel.o `test -f '3dsmodel.cpp' || echo './'`3dsmodel.cpp; \
then mv -f ".deps/3dsmodel.Tpo" ".deps/3dsmodel.Po"; \
else rm -f ".deps/3dsmodel.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT 3dsread.o -MD -MP -MF ".deps/3dsread.Tpo" \
-c -o 3dsread.o `test -f '3dsread.cpp' || echo './'`3dsread.cpp; \
then mv -f ".deps/3dsread.Tpo" ".deps/3dsread.Po"; \
else rm -f ".deps/3dsread.Tpo"; exit 1; \
fi
3dsread.cpp:118: warning: unused parameter ?€?chunkSize?€™
3dsread.cpp:251: warning: unused parameter ?€?nBytes?€™
3dsread.cpp:263: warning: unused parameter ?€?nBytes?€™
3dsread.cpp:275: warning: unused parameter ?€?nBytes?€™
3dsread.cpp:307: warning: unused parameter ?€?in?€™
3dsread.cpp:307: warning: unused parameter ?€?chunkType?€™
3dsread.cpp:307: warning: unused parameter ?€?contentSize?€™
3dsread.cpp:307: warning: unused parameter ?€?obj?€™
3dsread.cpp:343: warning: unused parameter ?€?contentSize?€™
3dsread.cpp:489: warning: unused parameter ?€?contentSize?€™
3dsread.cpp:513: warning: unused parameter ?€?contentSize?€™
rm -f libcel3ds.a
ar cru libcel3ds.a 3dsmodel.o 3dsread.o
ranlib libcel3ds.a
make[3]: se sale del directorio `/home/lxuser/installs/st/celestia-1.4.1/src/cel3ds'
Making all in celtxf
make[3]: se ingresa al directorio `/home/lxuser/installs/st/celestia-1.4.1/src/celtxf'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT texturefont.o -MD -MP -MF ".deps/texturefont.Tpo" \
-c -o texturefont.o `test -f 'texturefont.cpp' || echo './'`texturefont.cpp; \
then mv -f ".deps/texturefont.Tpo" ".deps/texturefont.Po"; \
else rm -f ".deps/texturefont.Tpo"; exit 1; \
fi
rm -f libceltxf.a
ar cru libceltxf.a texturefont.o
ranlib libceltxf.a
make[3]: se sale del directorio `/home/lxuser/installs/st/celestia-1.4.1/src/celtxf'
Making all in celengine
make[3]: se ingresa al directorio `/home/lxuser/installs/st/celestia-1.4.1/src/celengine'
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.. -DQT_THREAD_SUPPORT -D_REENTRANT -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 -fno-strict-aliasing -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -O2 -Wall -ffast-math -fexpensive-optimizations -fomit-frame-pointer -MT asterism.o -MD -MP -MF ".deps/asterism.Tpo" \
-c -o asterism.o `test -f 'asterism.cpp' || echo './'`asterism.cpp; \
then mv -f ".deps/asterism.Tpo" ".deps/asterism.Po"; \
else rm -f ".deps/asterism.Tpo"; exit 1; \
fi
../celengine/star.h:33: error: extra qualification ?€?StarDetails::?€™ on member ?€?StarDetails?€™
../celengine/orbit.h:19: warning: ?€?class Orbit?€™ has virtual functions but non-virtual destructor
../celengine/orbit.h:35: warning: ?€?class EllipticalOrbit?€™ has virtual functions but non-virtual destructor
../celengine/orbit.h:62: warning: ?€?class OrbitSampleProc?€™ has virtual functions but non-virtual destructor
../celengine/orbit.h:77: warning: ?€?class CachingOrbit?€™ has virtual functions but non-virtual destructor
make[3]: *** [asterism.o] Error 1
make[3]: se sale del directorio `/home/lxuser/installs/st/celestia-1.4.1/src/celengine'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/home/lxuser/installs/st/celestia-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/home/lxuser/installs/st/celestia-1.4.1'
make: *** [all] Error 2

Any idea?
Thanks

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

Post #2by t00fri » 26.02.2007, 17:46

Try to compile the actual 1.5.0pre... version from CVS. It has so many nice improvements and is completely stable. Also a number of code adaptations to gcc 4.x and to 64 bit have been implemented, if I remember correctly. It's really worth it.

Just have a look to the ChangeLog!

Bye Fridger
Image

Topic author
RGB
Posts: 4
Joined: 15.07.2006
With us: 18 years 4 months

Post #3by RGB » 27.02.2007, 09:39

OK, I'll try (first I need to understand how cvs works, though...).
By the way, the option CXXFLAGS=-fno-strict-aliasing is still necessary? Without it, 1.4.1 cannot display some moons on a 64 bits machine.
Thanks again!!


Return to “Celestia Users”