MegaGlest Forum
Archives (read only) => Vanilla Glest => Linux and other ports => Topic started by: demax on 30 April 2009, 18:16:56
-
Hello i downloade source code from https://forum.megaglest.org/index.php?topic=4254.0 bu on the end of compiling 2 errors has hapened
failed C++ ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o ...
...skipped glest for lack of <T!glest_game!>ai/ai_rule.o...
...failed updating 2 target(s)...
...skipped 2 target(s)...
Help? What to do next
-
Please post the full build log! You just skipped the important part.
-
Original log have half of mile data and compiled ok but just this last two targets are problematic
-
There should be lines that say, from a file in method and says the error. for an example check out this post (https://forum.megaglest.org/index.php?topic=4015.msg24560#msg24560).
-
This is log that i get this way "jam > jam.log"
...found 499 target(s)...
...using 44 temp target(s)...
...updating 4 target(s)...
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o
g++ -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.2.1" -DPACKAGE_STRING="glest 3.2.1" -DPACKAGE_BUGREPORT="matze@braunis.de" -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread -I/usr/include/lua5.1 -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -Ishared_lib/sources/../include/lua -O3 -DNDEBUG shared_lib/sources/xml/xml_parser.cpp
...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o ...
...skipped libglestlib.a for lack of libglestlib.a(xml_parser.o)...
C++ ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o
g++ -c -o ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.2.1" -DPACKAGE_STRING="glest 3.2.1" -DPACKAGE_BUGREPORT="matze@braunis.de" -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread -I/usr/include/lua5.1 -Iglest_game/../shared_lib/include/../include/platform/sdl -Iglest_game/../shared_lib/include/../include/platform/posix -Iglest_game/../shared_lib/include/../include/util -Iglest_game/../shared_lib/include/../include/graphics -Iglest_game/../shared_lib/include/../include/graphics/gl -Iglest_game/../shared_lib/include/../include/sound -Iglest_game/../shared_lib/include/../include/sound/openal -Iglest_game/../shared_lib/include/../include/xml -Iglest_game/../shared_lib/include/../include/glew -Iglest_game/../shared_lib/include/../include/lua -Iglest_game/. -Iglest_game/ai -Iglest_game/facilities -Iglest_game/game -Iglest_game/global -Iglest_game/graphics -Iglest_game/gui -Iglest_game/main -Iglest_game/menu -Iglest_game/network -Iglest_game/sound -Iglest_game/type_instances -Iglest_game/types -Iglest_game/world -O3 -DNDEBUG glest_game/ai/ai_rule.cpp
...failed C++ ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o ...
...skipped glest for lack of <T!glest_game!>ai/ai_rule.o...
...failed updating 2 target(s)...
...skipped 2 target(s)...
-
Your command just saves stdout, but the compiler writes the errors on stderr. So the important error messages are missing.
Please just run jam and copy the output of it from the shell!
(if you really want to log it in a file use: 'jam >log 2>&1'
you should not become any output in shell)
One guess because of failing xml_parser: Do you use libxerces-c 3.0? daniel.santos mentioned problems with it.
-
I did like you told me and this is result of new log and yes im using xerce3_0 but in synaptic I do not see upgrade what to do?????
...found 499 target(s)...
...using 44 temp target(s)...
...updating 4 target(s)...
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o
shared_lib/sources/xml/xml_parser.cpp: In member function ‘Shared::Xml::XmlNode* Shared::Xml::XmlIo::load(const std::string&)’:
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘DOMBuilder’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘parser’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘class xercesc_3_0::DOMImplementationLS’ has no member named ‘createDOMBuilder’
shared_lib/sources/xml/xml_parser.cpp:93: error: ‘fgDOMValidation’ is not a member of ‘xercesc_3_0::XMLUni’
shared_lib/sources/xml/xml_parser.cpp: In member function ‘void Shared::Xml::XmlIo::save(const std::string&, const Shared::Xml::XmlNode*)’:
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘DOMWriter’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘writer’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘class xercesc_3_0::DOMImplementation’ has no member named ‘createDOMWriter’
g++ -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.2.1" -DPACKAGE_STRING="glest 3.2.1" -DPACKAGE_BUGREPORT="matze@braunis.de" -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread -I/usr/include/lua5.1 -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -Ishared_lib/sources/../include/lua -O3 -DNDEBUG shared_lib/sources/xml/xml_parser.cpp
...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o ...
...skipped libglestlib.a for lack of libglestlib.a(xml_parser.o)...
C++ ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o
glest_game/ai/ai_rule.cpp: In member function ‘virtual bool Glest::Game::AiRuleMassiveAttack::test()’:
glest_game/ai/ai_rule.cpp:156: error: ‘INT_MAX’ was not declared in this scope
glest_game/ai/ai_rule.cpp: In member function ‘virtual bool Glest::Game::AiRuleExpand::test()’:
glest_game/ai/ai_rule.cpp:815: error: ‘INT_MAX’ was not declared in this scope
g++ -c -o ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.2.1" -DPACKAGE_STRING="glest 3.2.1" -DPACKAGE_BUGREPORT="matze@braunis.de" -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread -I/usr/include/lua5.1 -Iglest_game/../shared_lib/include/../include/platform/sdl -Iglest_game/../shared_lib/include/../include/platform/posix -Iglest_game/../shared_lib/include/../include/util -Iglest_game/../shared_lib/include/../include/graphics -Iglest_game/../shared_lib/include/../include/graphics/gl -Iglest_game/../shared_lib/include/../include/sound -Iglest_game/../shared_lib/include/../include/sound/openal -Iglest_game/../shared_lib/include/../include/xml -Iglest_game/../shared_lib/include/../include/glew -Iglest_game/../shared_lib/include/../include/lua -Iglest_game/. -Iglest_game/ai -Iglest_game/facilities -Iglest_game/game -Iglest_game/global -Iglest_game/graphics -Iglest_game/gui -Iglest_game/main -Iglest_game/menu -Iglest_game/network -Iglest_game/sound -Iglest_game/type_instances -Iglest_game/types -Iglest_game/world -O3 -DNDEBUG glest_game/ai/ai_rule.cpp
...failed C++ ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o ...
...skipped glest for lack of <T!glest_game!>ai/ai_rule.o...
...failed updating 2 target(s)...
...skipped 2 target(s)...
-
You actually need to downgrade. xerces 2.8 works. According to packages.debian.org there are packages: libxerces-c28 and libxerces-c2-dev.
-
now is worse
darko@debian:~/GLT/glest-source-3.2.1$ jam
...found 499 target(s)...
...using 44 temp target(s)...
...updating 4 target(s)...
C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o
In file included from shared_lib/sources/xml/xml_parser.cpp:12:
shared_lib/sources/../include/xml/xml_parser.h:18:39: error: xercesc/util/XercesDefs.hpp: No such file or directory
shared_lib/sources/xml/xml_parser.cpp:19:31: error: xercesc/dom/DOM.hpp: No such file or directory
shared_lib/sources/xml/xml_parser.cpp:20:42: error: xercesc/util/PlatformUtils.hpp: No such file or directory
shared_lib/sources/xml/xml_parser.cpp:21:55: error: xercesc/framework/LocalFileFormatTarget.hpp: No such file or directory
shared_lib/sources/xml/xml_parser.cpp:28: error: expected constructor, destructor, or type conversion before ‘using’
shared_lib/sources/xml/xml_parser.cpp:38: error: expected class-name before ‘{’ token
shared_lib/sources/xml/xml_parser.cpp:40: error: expected ‘,’ or ‘...’ before ‘&’ token
shared_lib/sources/xml/xml_parser.cpp:40: error: ISO C++ forbids declaration of ‘DOMError’ with no type
shared_lib/sources/xml/xml_parser.cpp: In member function ‘virtual bool Shared::Xml::ErrorHandler::handleError(int)’:
shared_lib/sources/xml/xml_parser.cpp:41: error: ‘domError’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:41: error: ‘DOMError’ is not a class or namespace
shared_lib/sources/xml/xml_parser.cpp:43: error: ‘XMLString’ has not been declared
shared_lib/sources/xml/xml_parser.cpp:44: error: ‘XMLString’ has not been declared
/usr/include/c++/4.3/stdexcept:108: error: argument dependent lookup finds ‘class std::runtime_error’
shared_lib/sources/xml/xml_parser.cpp:46: error: in call to ‘runtime_error’
shared_lib/sources/xml/xml_parser.cpp: In constructor ‘Shared::Xml::XmlIo::XmlIo()’:
shared_lib/sources/xml/xml_parser.cpp:60: error: ‘XMLPlatformUtils’ has not been declared
shared_lib/sources/xml/xml_parser.cpp:62: error: ISO C++ forbids declaration of ‘XMLException’ with no type
shared_lib/sources/xml/xml_parser.cpp:62: error: expected `)' before ‘&’ token
shared_lib/sources/xml/xml_parser.cpp:62: error: expected `{' before ‘&’ token
shared_lib/sources/xml/xml_parser.cpp:62: error: expected primary-expression before ‘)’ token
shared_lib/sources/xml/xml_parser.cpp:62: error: expected `;' before ‘)’ token
shared_lib/sources/xml/xml_parser.cpp:67: error: ‘XMLCh’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:67: error: expected `;' before ‘str’
shared_lib/sources/xml/xml_parser.cpp:68: error: ‘XMLString’ has not been declared
shared_lib/sources/xml/xml_parser.cpp:68: error: ‘str’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:70: error: ‘DOMImplementationRegistry’ has not been declared
shared_lib/sources/xml/xml_parser.cpp:72: error: ISO C++ forbids declaration of ‘DOMException’ with no type
shared_lib/sources/xml/xml_parser.cpp:73: error: ‘runtime_error’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp: In destructor ‘Shared::Xml::XmlIo::~XmlIo()’:
shared_lib/sources/xml/xml_parser.cpp:83: error: ‘XMLPlatformUtils’ has not been declared
shared_lib/sources/xml/xml_parser.cpp: In member function ‘Shared::Xml::XmlNode* Shared::Xml::XmlIo::load(const std::string&)’:
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘DOMBuilder’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘parser’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:90: error: expected type-specifier before ‘DOMImplementationLS’
shared_lib/sources/xml/xml_parser.cpp:90: error: expected `>' before ‘DOMImplementationLS’
shared_lib/sources/xml/xml_parser.cpp:90: error: expected `(' before ‘DOMImplementationLS’
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘DOMImplementationLS’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:90: error: expected primary-expression before ‘>’ token
shared_lib/sources/xml/xml_parser.cpp:90: error: ‘DOMImplementationLS’ is not a class or namespace
shared_lib/sources/xml/xml_parser.cpp:90: error: expected `)' before ‘;’ token
shared_lib/sources/xml/xml_parser.cpp:92: error: ‘XMLUni’ has not been declared
shared_lib/sources/xml/xml_parser.cpp:93: error: ‘XMLUni’ has not been declared
shared_lib/sources/xml/xml_parser.cpp:94: error: ‘DOMDocument’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:94: error: ‘document’ was not declared in this scope
/usr/include/c++/4.3/stdexcept:108: error: argument dependent lookup finds ‘class std::runtime_error’
shared_lib/sources/xml/xml_parser.cpp:97: error: in call to ‘runtime_error’
shared_lib/sources/xml/xml_parser.cpp:104: error: ISO C++ forbids declaration of ‘DOMException’ with no type
shared_lib/sources/xml/xml_parser.cpp:104: error: expected `)' before ‘&’ token
shared_lib/sources/xml/xml_parser.cpp:104: error: expected `{' before ‘&’ token
shared_lib/sources/xml/xml_parser.cpp:104: error: ‘e’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:104: error: expected `;' before ‘)’ token
shared_lib/sources/xml/xml_parser.cpp: In member function ‘void Shared::Xml::XmlIo::save(const std::string&, const Shared::Xml::XmlNode*)’:
shared_lib/sources/xml/xml_parser.cpp:111: error: ‘XMLCh’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:111: error: expected `;' before ‘str’
shared_lib/sources/xml/xml_parser.cpp:112: error: ‘XMLString’ has not been declared
shared_lib/sources/xml/xml_parser.cpp:112: error: ‘str’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:114: error: ‘DOMDocument’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:114: error: ‘document’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:114: error: invalid use of incomplete type ‘struct XERCES_CPP_NAMESPACE::DOMImplementation’
shared_lib/sources/../include/xml/xml_parser.h:24: error: forward declaration of ‘struct XERCES_CPP_NAMESPACE::DOMImplementation’
shared_lib/sources/xml/xml_parser.cpp:115: error: ‘DOMElement’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:115: error: ‘documentElement’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:121: error: ‘LocalFileFormatTarget’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:121: error: expected `;' before ‘file’
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘DOMWriter’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:122: error: ‘writer’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:122: error: invalid use of incomplete type ‘struct XERCES_CPP_NAMESPACE::DOMImplementation’
shared_lib/sources/../include/xml/xml_parser.h:24: error: forward declaration of ‘struct XERCES_CPP_NAMESPACE::DOMImplementation’
shared_lib/sources/xml/xml_parser.cpp:123: error: ‘XMLUni’ has not been declared
shared_lib/sources/xml/xml_parser.cpp:124: error: ‘file’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:127: error: ISO C++ forbids declaration of ‘DOMException’ with no type
shared_lib/sources/xml/xml_parser.cpp:127: error: expected `)' before ‘&’ token
shared_lib/sources/xml/xml_parser.cpp:127: error: expected `{' before ‘&’ token
shared_lib/sources/xml/xml_parser.cpp:127: error: ‘e’ was not declared in this scope
shared_lib/sources/xml/xml_parser.cpp:127: error: expected `;' before ‘)’ token
shared_lib/sources/xml/xml_parser.cpp: At global scope:
shared_lib/sources/xml/xml_parser.cpp:159: error: expected `)' before ‘*’ token
shared_lib/sources/xml/xml_parser.cpp:376: error: expected `}' at end of input
shared_lib/sources/xml/xml_parser.cpp:376: error: expected `}' at end of input
g++ -c -o ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.2.1" -DPACKAGE_STRING="glest 3.2.1" -DPACKAGE_BUGREPORT="matze@braunis.de" -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread -I/usr/include/lua5.1 -Ishared_lib/sources/../include/platform/sdl -Ishared_lib/sources/../include/platform/posix -Ishared_lib/sources/../include/util -Ishared_lib/sources/../include/graphics -Ishared_lib/sources/../include/graphics/gl -Ishared_lib/sources/../include/sound -Ishared_lib/sources/../include/sound/openal -Ishared_lib/sources/../include/xml -Ishared_lib/sources/../include/glew -Ishared_lib/sources/../include/lua -O3 -DNDEBUG shared_lib/sources/xml/xml_parser.cpp
...failed C++ ./build/i686-pc-linux-gnu/optimize/shared_lib/sources/xml/xml_parser.o ...
...skipped libglestlib.a for lack of libglestlib.a(xml_parser.o)...
C++ ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o
In file included from glest_game/types/skill_type.h:18,
from glest_game/ai/ai_rule.h:18,
from glest_game/ai/ai_rule.cpp:11:
glest_game/../shared_lib/include/../include/xml/xml_parser.h:18:39: error: xercesc/util/XercesDefs.hpp: No such file or directory
glest_game/ai/ai_rule.cpp: In member function ‘virtual bool Glest::Game::AiRuleMassiveAttack::test()’:
glest_game/ai/ai_rule.cpp:156: error: ‘INT_MAX’ was not declared in this scope
glest_game/ai/ai_rule.cpp: In member function ‘virtual bool Glest::Game::AiRuleExpand::test()’:
glest_game/ai/ai_rule.cpp:815: error: ‘INT_MAX’ was not declared in this scope
g++ -c -o ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o -DPACKAGE_NAME="glest" -DPACKAGE_TARNAME="glest" -DPACKAGE_VERSION="3.2.1" -DPACKAGE_STRING="glest 3.2.1" -DPACKAGE_BUGREPORT="matze@braunis.de" -DUSE_POSIX_SOCKETS= -DX11_AVAILABLE=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GLOB_H=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_SDL= -DHAVE_PTHREAD=1 -I. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread -pthread -I/usr/include/lua5.1 -Iglest_game/../shared_lib/include/../include/platform/sdl -Iglest_game/../shared_lib/include/../include/platform/posix -Iglest_game/../shared_lib/include/../include/util -Iglest_game/../shared_lib/include/../include/graphics -Iglest_game/../shared_lib/include/../include/graphics/gl -Iglest_game/../shared_lib/include/../include/sound -Iglest_game/../shared_lib/include/../include/sound/openal -Iglest_game/../shared_lib/include/../include/xml -Iglest_game/../shared_lib/include/../include/glew -Iglest_game/../shared_lib/include/../include/lua -Iglest_game/. -Iglest_game/ai -Iglest_game/facilities -Iglest_game/game -Iglest_game/global -Iglest_game/graphics -Iglest_game/gui -Iglest_game/main -Iglest_game/menu -Iglest_game/network -Iglest_game/sound -Iglest_game/type_instances -Iglest_game/types -Iglest_game/world -O3 -DNDEBUG glest_game/ai/ai_rule.cpp
...failed C++ ./build/i686-pc-linux-gnu/optimize/glest_game/ai/ai_rule.o ...
...skipped glest for lack of <T!glest_game!>ai/ai_rule.o...
...failed updating 2 target(s)...
...skipped 2 target(s)...
darko@debian:~/GLT/glest-source-3.2.1$
-
Did you run autogen and configure?
-
autogen works fine but config says that it nedd xcers-c and i have it instaled but 2.7
-
NP_LANG_PROGRAM([#include <xercesc/util/PlatformUtils.hpp>The configure file is expecting the includes to be in the above folder so check that it exists (maybe in /usr/include). I'm not sure if it's different depending on your system. There might be a version number on the end of xercesc that is messing it up.
-
I solve it i just reinstaled all xerces 2.7 packages thanks on help!!! ;)