Stefan,<br><br>Thank you very much for your reply. The articles you linked to me are an interesting read, however I don't feel like they solve my problem. Perhaps I'm a little bit confused on what the articles are suggesting. I'm still stuck on what to do to fix this problem. In fact, I don't even know what the problem is to begin with. I had a hard time relating my problems to the topics discussed in the linked articles. Any further assistance would be greatly appreciated. Thanks again for your reply.
<br><br><div><span class="gmail_quote">On 7/10/07, <b class="gmail_sendername">Stefan Behnel</b> <<a href="mailto:stefan_ml@behnel.de">stefan_ml@behnel.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>Robert Dailey wrote:<br>> I'm attempting to build LXML for windows. Below are details on the<br>> linker errors I'm getting (the compile works fine). Anyone that can help<br>> would be greatly appreciated. Thank you!
<br>[...]<br>> C:\IT\SDK\lxml>python setup.py build -c mingw32 --static<br>> Building lxml version 1.3.2<br>> C:\Python25\lib\distutils\dist.py:263: UserWarning: Unknown distribution<br>> option: 'zip_safe'
<br>> warnings.warn(msg)<br>> running build<br>> running build_py<br>> running build_ext<br>> building 'lxml.etree' extension<br>> writing build\temp.win32-2.5\Release\src\lxml\etree.def<br>> C:\mingw\bin\gcc.exe -mno-cygwin -shared -s
<br>> build\temp.win32-2.5\Release\src\lxml\etree.o build\temp<br>> .win32-2.5\Release\src\lxml\etree.def -L..\libxml2\lib -L..\libxslt\lib<br>> -L..\zlib\lib -L..\iconv\lib<br>> "-LC:\Program Files\Microsoft Visual Studio 8\VC\lib"
<br>> -LC:\Python25\libs -LC:\Python25\PCBuild -lli<br>> bxslt_a -llibexslt_a -llibxml2_a -liconv_a -lzlib -lWS2_32 -lpython25<br>> -lmsvcr71 -o build\lib.win32-2<br>> .5\lxml\etree.pyd<br>[...]<br>> ..\libxml2\lib\libxml2_a.lib(
int.a.msvc/xpointer.obj):..\xpointer.c:(.text[_xmlXPtrStringRangeFuncti<br>> on]+0x65): undefined reference to `_ftol2'<br>> ..\libxml2\lib\libxml2_a.lib(int.a.msvc/xmlschemastypes.obj):..\xmlschemastypes:(.text[_xmlSchemaVal
<br>> idateDuration]+0x21c): undefined reference to `_ftol2'<br>> ..\libxml2\lib\libxml2_a.lib(int.a.msvc/xmlschemastypes.obj):..\xmlschemastypes:(.text[_xmlSchemaVal<br>[...]<br>> idateDuration]+0x226): undefined reference to `_ftol2'
<br>> ..\iconv\lib\iconv_a.lib(iconv.obj):./iconv.c:(.text[_libiconvlist]+0x9):<br>> undefined reference to `_c<br>> hkstk'<br>> ..\zlib\lib\zlib.lib(gzio.obj):gzio.c:(.text[_gzprintf]+0x6): undefined<br>> reference to `_chkstk'
<br>> collect2: ld returned 1 exit status<br>> error: command 'gcc' failed with exit status 1<br><br>See these:<br><br><a href="http://mail.gnome.org/archives/xml/2005-April/msg00028.html">http://mail.gnome.org/archives/xml/2005-April/msg00028.html
</a><br><a href="http://mail.gnome.org/archives/xml/2005-April/msg00042.html">http://mail.gnome.org/archives/xml/2005-April/msg00042.html</a><br><br>Stefan<br></blockquote></div><br>