RE: [xml-bindings]Problem compiling Python bindings in Windows using Borland



> Ah, the snake :-)
>
> > libs    = ["xml2", "m", "z"]
>
> make it
>   libs    = ["xml2"]
> and se if that brings you any further.

Yes, I got further (farther?).  But not all the way...

running build
running build_py
not copying libxml2.py (output up-to-date)
not copying libxslt.py (output up-to-date)
running build_ext
building 'libxml2mod' extension
Error: Unresolved external '_xmlMemoryStrdup' referenced from
D:\DEV\TEMP\LIBXML
2-PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXML.OBJ
Error: Unresolved external '_xmlMemRealloc' referenced from
D:\DEV\TEMP\LIBXML2-
PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXML.OBJ
Error: Unresolved external '_xmlMemMalloc' referenced from
D:\DEV\TEMP\LIBXML2-P
YTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXML.OBJ
Error: Unresolved external '_xmlMemFree' referenced from
D:\DEV\TEMP\LIBXML2-PYT
HON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXML.OBJ
Error: Unresolved external '_xmlValidateNmtokensValue' referenced from
D:\DEV\TE
MP\LIBXML2-PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXML2-PY.OBJ
Error: Unresolved external '_xmlValidateNmtokenValue' referenced from
D:\DEV\TEM
P\LIBXML2-PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXML2-PY.OBJ
Error: Unresolved external '_xmlValidateNamesValue' referenced from
D:\DEV\TEMP\
LIBXML2-PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXML2-PY.OBJ
Error: Unresolved external '_xmlValidateNameValue' referenced from
D:\DEV\TEMP\L
IBXML2-PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXML2-PY.OBJ
Error: Unresolved external '_htmlParseElement' referenced from
D:\DEV\TEMP\LIBXM
L2-PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXML2-PY.OBJ
Error: Unresolved external '_xmlHashLookup2' referenced from
D:\DEV\TEMP\LIBXML2
-PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXSLT.OBJ
Error: Unresolved external '_xmlHashCreate' referenced from
D:\DEV\TEMP\LIBXML2-
PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXSLT.OBJ
Error: Unresolved external '_xmlHashFree' referenced from
D:\DEV\TEMP\LIBXML2-PY
THON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXSLT.OBJ
Error: Unresolved external '_xsltResolveStylesheetAttributeSet' referenced
from
D:\DEV\TEMP\LIBXML2-PYTHON-2.4.22\BUILD\TEMP.WIN32-2.2\RELEASE\LIBXSLT-PY.OB
J
skipping libxml2-py.c (build\temp.win32-2.2\Release\libxml2-py.obj
up-to-date)
skipping libxml.c (build\temp.win32-2.2\Release\libxml.obj up-to-date)
skipping types.c (build\temp.win32-2.2\Release\types.obj up-to-date)
skipping libxslt-py.c (build\temp.win32-2.2\Release\libxslt-py.obj
up-to-date)
skipping libxslt.c (build\temp.win32-2.2\Release\libxslt.obj up-to-date)
writing build\temp.win32-2.2\Release\libxml2mod.def
C:\BORLAND\BCC55\BIN\ilink32.exe /Tpd /Gn /q /x /LC:\PYTHON22\libs /L. c0d32
bui
ld\temp.win32-2.2\Release\libxml2-py.obj
build\temp.win32-2.2\Release\libxml.obj
 build\temp.win32-2.2\Release\types.obj
build\temp.win32-2.2\Release\libxslt-py.
obj build\temp.win32-2.2\Release\libxslt.obj ,
build\lib.win32-2.2\libxml2mod.py
d ,, xslt xml2 C:\PYTHON22\libs\python22_bcpp.lib import32 cw32mt ,
build\temp.w
in32-2.2\Release\libxml2mod.def ,


Anyone have a fix/easy answer/special chant?

Andrew Ittner
http://zip.to/tephyr




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]