Re: [xml] Problem with MSYS and MINGW: undefined reference to _imp__xmlFree
- From: Roumen Petrov <bugtrack roumenpetrov info>
- To: Friedrich Beckmann <friedrich beckmann gmx de>
- Cc: xml gnome org, igor zlatkovic com
- Subject: Re: [xml] Problem with MSYS and MINGW: undefined reference to _imp__xmlFree
- Date: Tue, 18 Nov 2008 22:58:50 +0200
Friedrich Beckmann wrote:
Hi,
if found a problem when using the libxml library to build
opensync on Windows with MSYS and MINGW. I get errors described
below. I found some email thread from 2004 which describes the
same problem. I changed the xmlexports.h include file and then
I can compile. (See the #if 0 part). I do not know too enought
about building the library, so I cannot provide a full patch.
I reported the bug in: http://bugzilla.gnome.org/show_bug.cgi?id=561340
===== Extract from modified xmlexports.h file ==========
[SNIP]
The change look incorrect.
Check project defines. Did the build system define IN_LIBXML ?
========= Problem description =========================
Linking C shared library libopensync.dll
Creating library file: libopensync.dll.a
CMakeFiles/opensync.dir/format/opensync_time.obj: In function
`osync_time_dstchange':
f:/opensync/opensync/format/opensync_time.c:1149: undefined reference to
`_imp__xmlFree'
[SNIP]
To link you need xml library to the list.
Roumen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]