Trouble compilig Celestia on Linux, help needed
Posted: 08.06.2010, 16:56
Hi guys,
just wanted to compile Celestia on Fedora 11 and rann into an error. And being the programming noob that I am, I don't really understand, what make is throwing here at me.
The svn checkout is a totally fresh directory from just 5 minutes ago
CSpice was downloaded from here ftp://naif.jpl.nasa.gov/pub/naif/toolkit//C/PC_Linux_GCC_32bit/packages/ and imported as described.
I ran configure with
then came "make" and that threw the following at me:
Can someone help me out and tell me where the error lies and what I can do to get around it?
Regards,
Guckytos
BTW: I was able to compile Celestia 1.6.1 (without spice) on the same machine without problems some days ago.
just wanted to compile Celestia on Fedora 11 and rann into an error. And being the programming noob that I am, I don't really understand, what make is throwing here at me.
The svn checkout is a totally fresh directory from just 5 minutes ago
CSpice was downloaded from here ftp://naif.jpl.nasa.gov/pub/naif/toolkit//C/PC_Linux_GCC_32bit/packages/ and imported as described.
I ran configure with
Code: Select all
./configure --with-gnome --with-cspice-dir=/usr/local/cspice
then came "make" and that threw the following at me:
Code: Select all
Front-End: Gnome
Use Cairo: yes
Use Lua: yes
Use Theora: yes
[celestia]$ make
make all-recursive
make[1]: Entering directory `/home/trunk/celestia'
Making all in src
make[2]: Entering directory `/home//trunk/celestia/src'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DGLEW_STATIC -DUSE_SPICE -DEIGEN_NO_DEBUG -DEIGEN_NO_DEBUG -DNDEBUG -DNO_DEBUG -DCELX -DLUA_VER=0x050100 -DQT_NO_DEBUG -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/qt/mkspecs/linux-g++ -I. -I/usr/local/Trolltech/qt/include/QtCore -I/usr/local/Trolltech/qt/include/QtGui -I/usr/local/Trolltech/qt/include/QtOpenGL -I/usr/local/Trolltech/qt/include/QtXml -I/usr/local/Trolltech/qt/include -I.. -I../.. -I. -I../thirdparty/glew/include -I../thirdparty/Eigen -I../thirdparty/curveplot/include -I/usr/local/cspice/include -I/usr/X11R6/include -I. -Icelestia/qt/ui -o modelfile.o celmodel/modelfile.cpp
In file included from /usr/lib/gcc/i586-redhat-linux/4.4.1/../../../../include/c++/4.4.1/cstdio:46,
from celmodel/modelfile.cpp:18:
/usr/include/stdio.h:367: Fehler: Deklaration von »int snprintf(char*, size_t, const char*, ...) throw ()« wirft andere Ausnahmen
../config.h:264: Fehler: von vorheriger Deklaration »int snprintf(char*, size_t, const char*, ...)«
/usr/include/stdio.h:371: Fehler: Deklaration von »int vsnprintf(char*, size_t, const char*, char*) throw ()« wirft andere Ausnahmen
../config.h:260: Fehler: von vorheriger Deklaration »int vsnprintf(char*, size_t, const char*, char*)«
make[2]: *** [modelfile.o] Fehler 1
make[2]: Leaving directory `/home//trunk/celestia/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home//trunk/celestia'
make: *** [all] Fehler 2
Can someone help me out and tell me where the error lies and what I can do to get around it?
Regards,
Guckytos
BTW: I was able to compile Celestia 1.6.1 (without spice) on the same machine without problems some days ago.