[xml] Unresolved externals with 2.9.0-rc1 on MSVC++ 2010
- From: Adam Nielsen <a nielsen shikadi net>
- To: xml gnome org
- Subject: [xml] Unresolved externals with 2.9.0-rc1 on MSVC++ 2010
- Date: Mon, 20 Aug 2012 10:04:03 +1000
Hi all,
I'm trying to port a program of mine to Windows, using MS Visual C++ 2010 Express.
I'm having a little trouble compiling libxml2 2.9.0-rc1 however. I can run
configure.js successfully and everything looks fine. I'm compiling without
iconv and zlib, as I don't need them for my program and I intend to do a
static link to libxml2.
Unfortunately when compiling per the instructions in win32/Readme.txt, I get a
bunch of unresolved externals:
Creating library bin.msvc\libxml2.lib and object bin.msvc\libxml2.exp
xmlreader.obj : error LNK2001: unresolved external symbol _xmlBufContent
xmlsave.obj : error LNK2001: unresolved external symbol _xmlBufContent
xpath.obj : error LNK2019: unresolved external symbol _xmlBufContent
referenced in function _xmlXPathDebugDumpStepOp
parser.obj : error LNK2001: unresolved external symbol _xmlBufContent
parserInternals.obj : error LNK2001: unresolved external symbol _xmlBufContent
xinclude.obj : error LNK2001: unresolved external symbol _xmlBufContent
xmlIO.obj : error LNK2001: unresolved external symbol _xmlBufContent
c14n.obj : error LNK2001: unresolved external symbol _xmlBufContent
encoding.obj : error LNK2001: unresolved external symbol _xmlBufContent
HTMLparser.obj : error LNK2001: unresolved external symbol _xmlBufContent
HTMLtree.obj : error LNK2001: unresolved external symbol _xmlBufContent
...
There are others with _xmlBufAdd, _xmlBufFree, etc. so it's not just that one
function.
Does anyone know what might cause this? I didn't get any other compiler
errors, after I applied the fix to dict.c which was committed a few days ago,
and I can't find anyone else who has had this same problem.
Configure output is below, if that helps. Any suggestions?
Many thanks,
Adam.
----
cscript configure.js compiler=msvc prefix=c:\opt include=c:\opt\include
lib=c:\opt\lib debug=no
Microsoft (R) Windows Script Host Version 5.7
Copyright (C) Microsoft Corporation. All rights reserved.
libxml2 version: 2.9.0
Created Makefile.
Created config.h.
XML processor configuration
---------------------------
Trio: no
Thread safety: native
FTP client: yes
HTTP client: yes
HTML processor: yes
C14N support: yes
Catalog support: yes
DocBook support: yes
XPath support: yes
XPointer support: yes
XInclude support: yes
iconv support: yes
icu support: no
iso8859x support: no
zlib support: no
lzma support: no
Debugging module: yes
Memory debugging: no
Runtime debugging: no
Regexp support: yes
Module support: yes
Tree support: yes
Reader support: yes
Writer support: yes
Walker support: yes
Pattern support: yes
Push support: yes
Validation support: yes
SAX1 support: yes
Legacy support: yes
Output support: yes
XML Schema support: yes
Schematron support: yes
Python bindings: no
Win32 build configuration
-------------------------
Compiler: msvc
C-Runtime option: /MD
Embed Manifest: no
Debug symbols: no
Static xmllint: no
Install prefix: c:\opt
Put tools in: $(PREFIX)\bin
Put headers in: $(PREFIX)\include
Put static libs in: $(PREFIX)\lib
Put shared libs in: $(PREFIX)\bin
Include path: c:\opt\include
Lib path: c:\opt\lib
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]