Menu

#1 make error

open
nobody
None
5
2007-08-15
2007-08-15
Anonymous
No

Hello there,

I'm trying to compile latest CVS-version of "Fuzzy Adventure" on Mandriva Linux 2007.0 with no luck:

While ./configure seems to result in no errors, I have the following output of "make":

$ make
make all-recursive
make[1]: Entering directory `/home/madmax/Test/fuzzy-cvs-20070813'
Making all in src
make[2]: Entering directory `/home/madmax/Test/fuzzy-cvs-20070813/src'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -g -O2 -c botzor.cpp
In file included from /usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/../../../../include/c++/4.1.1/backward/iostream.h:31,
from sprite.h:6,
from botzor.h:3,
from botzor.cpp:17:
/usr/lib/gcc/i586-mandriva-linux-gnu/4.1.1/../../../../include/c++/4.1.1/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 botzor.h:6,
from botzor.cpp:17:
XMLWrapper.h:8:27: error: libxml/parser.h: Datei oder Verzeichnis nicht gefunden
XMLWrapper.h:9:25: error: libxml/tree.h: Datei oder Verzeichnis nicht gefunden
particle.h: In member function ‘bool Particle::update(long int)’:
particle.h:19: warning: minimum/maximum operators are deprecated
player.h: In member function ‘void Player::addMessage(std::string)’:
player.h:73: warning: passing ‘float’ for argument 3 to ‘void GameStringManager::addString(std::string, int, int)’
XMLWrapper.h: At global scope:
XMLWrapper.h:216: error: ‘xmlDocPtr’ has not been declared
XMLWrapper.h:217: error: ‘xmlDocPtr’ has not been declared
XMLWrapper.h:218: error: ‘xmlDocPtr’ has not been declared
XMLWrapper.h:219: error: ‘xmlDocPtr’ has not been declared
XMLWrapper.h:220: error: ‘xmlDocPtr’ has not been declared
XMLWrapper.h:221: error: expected ‘;’ before ‘(’ token
XMLWrapper.h:222: error: ‘xmlNodePtr’ does not name a type
XMLWrapper.h:223: error: expected ‘;’ before ‘(’ token
backgroundgenerator.h: In member function ‘int BackgroundGenerator::clamp(int)’:
backgroundgenerator.h:27: warning: minimum/maximum operators are deprecated
backgroundgenerator.h:27: warning: minimum/maximum operators are deprecated
make[2]: *** [botzor.o] Fehler 1
make[2]: Leaving directory `/home/madmax/Test/fuzzy-cvs-20070813/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/madmax/Test/fuzzy-cvs-20070813'
make: *** [all-recursive-am] Fehler 2

Could you please help me to find out what's going wrong here?

Discussion

  • Magnus Lundstedt

    Logged In: YES
    user_id=1566010
    Originator: NO

    It seems you either do not have the correct libraries installed, or they are not correctly included in the Makefile (?).

    I have made the "dirty" solution of having the -l and -I flag in kdevelop configure-build options dialogue. But they should be added using the automake tools, so they are always included at buildtime.

    I will have to change that in the SVN.

     
  • Magnus Lundstedt

    Logged In: YES
    user_id=1566010
    Originator: NO

    Btw. Meanwhile you can probably compile it fine by using kdevelop in linux, just open the .kdevelop project file!

     
  • MaxiPunkt

    MaxiPunkt - 2007-11-01

    Logged In: YES
    user_id=1336936
    Originator: NO

    Thank you - this bug seem's to be fixed now with fuzzy 0.5

     

Log in to post a comment.

MongoDB Logo MongoDB