[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] [Windows build] Compilation failure
From: |
Julien Catalano |
Subject: |
[Eliot-dev] [Windows build] Compilation failure |
Date: |
Mon, 15 Aug 2011 14:47:51 +0200 |
Hello,
I am trying to build eliot (latest CVS snapshot) for Windows using the INSTALL
instructions. Unfortunately it fails on several steps.
In reply to this email is a series of patches to fix the problems I
encountered. The patches are documented there, and target the extras/contrib
build. But this is not suffissant.
First, the gettext patch for win32 is not available on koders.com (or, the page
redirect infinitely), but I doubt this is the problem.
When building eliot itself, it fails when linking the object files to produce
eliottxt.exe. Below is the full linker log. It seems that there are some issues
with libarabica, but I can't say more.
Could anyone help?
i586-mingw32msvc-g++ -g -O2 -Wall -Wextra
-L/home/julien/test/eliot/extras/contrib/inst/lib -o eliottxt.exe game_io.o
eliottxt.o ../game/libgame.a ../dic/libdic.a ../intl/libintl.a
/home/julien/test/eliot/extras/contrib/inst/lib/libiconv.a
-L/home/julien/test/eliot/extras/contrib/inst/lib -lconfig++
-L/home/julien/test/eliot/extras/contrib/inst/lib -larabica -lws2_32
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:585:
undefined reference to `_XML_GetCurrentColumnNumber'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:579:
undefined reference to `_XML_GetCurrentLineNumber'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:380:
undefined reference to `_XML_SetUserData'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:381:
undefined reference to `_XML_SetCharacterDataHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:382:
undefined reference to `_XML_SetElementHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:383:
undefined reference to `_XML_SetElementDeclHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:384:
undefined reference to `_XML_SetAttlistDeclHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:385:
undefined reference to `_XML_SetEntityDeclHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:386:
undefined reference to `_XML_SetNotationDeclHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:387:
undefined reference to `_XML_SetDoctypeDeclHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:388:
undefined reference to `_XML_SetCdataSectionHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:389:
undefined reference to `_XML_SetCommentHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:390:
undefined reference to `_XML_SetExternalEntityRefHandler'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:391:
undefined reference to `_XML_SetProcessingInstructionHandler'
../game/libgame.a(xml_reader.o): In function `~expat_wrapper':
/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:374:
undefined reference to `_XML_ParserFree'
../game/libgame.a(xml_reader.o): In function `expat_wrapper':
/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:367:
undefined reference to `_XML_ParserCreate'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:607:
undefined reference to `_XML_GetCurrentColumnNumber'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:607:
undefined reference to `_XML_GetCurrentLineNumber'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:498:
undefined reference to `_XML_GetBuffer'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:506:
undefined reference to `_XML_ParseBuffer'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:509:
undefined reference to `_XML_GetErrorCode'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:509:
undefined reference to `_XML_ErrorString'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:1057:
undefined reference to `_XML_ExternalEntityParserCreate'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:1061:
undefined reference to `_XML_ParserFree'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:473:
undefined reference to `_XML_SetParamEntityParsing'
../game/libgame.a(xml_reader.o):/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:482:
undefined reference to `_XML_ParserReset'
../game/libgame.a(xml_reader.o): In function `~expat_wrapper':
/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:374:
undefined reference to `_XML_ParserFree'
/home/julien/test/eliot/extras/contrib/inst/include/arabica/SAX/wrappers/saxexpat.hpp:374:
undefined reference to `_XML_ParserFree'
collect2: ld a retourné 1 code d'état d'exécution
make[2]: *** [eliottxt.exe] Erreur 1
make[2]: quittant le répertoire « /home/julien/test/eliot/utils »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/julien/test/eliot »
make: *** [all] Erreur 2
Thanks, and keep up the good work with eliot!
Julien
- [Eliot-dev] [Windows build] Compilation failure,
Julien Catalano <=