[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Nel] [newbies] using libxml2
From: |
Martin Schlingmann |
Subject: |
RE: [Nel] [newbies] using libxml2 |
Date: |
Mon, 21 Jun 2004 11:22:00 +0200 |
It's because libXML uses the native network library.
You probably have your "No default lib's" or something option marked in
VC.
So you have to include the network lib.
/martin
-----Original Message-----
From: address@hidden
[mailto:address@hidden On
Behalf Of Alban Lecocq
Sent: den 16 juni 2004 15:25
To: Developer's list for the NeL platform
Subject: Re: [Nel] [newbies] using libxml2
Hi,
I suppose you are using windows and visual c++ 6.
I have the same problem, I just have to add ws2_32.lib to the link
param.(WSAStartup, connect and so on are winsock2 stuff that are used in
libxml (don't know why).
Skeet
Heri RAKOTOMALALA wrote:
>
> Hello,
>
> I had a problem a few weeks ago with compiling nel. It showed it does
> not found xmlFree in the linking phase with nanohttp.obj and
nanoftp.obj
> so i searched in Nel Mailing list and i found one post who advised
> people to use the static library (libxml_a.lib, the one which is 2.27
Mo)
> i followed the tip, so Nel compiled.
>
> I wanted yesterday to compile Objectviewer_exe.
> in the linking phase, there were 17 unresolved external symbol in
> libxml2.lib, like address@hidden, address@hidden,
> address@hidden, address@hidden ......
> so i go back to the normal libxml2 library
> and no surprise, there is only 1 unresolved external symbol which is
> xmlFree.
>
> so i am back to square 1.
>
>
> does anyone knows how to correct this
> i am using libxml2-2.6.9, same problem with 6.10
>
> Heri
>
> PS : i had the same problem with Mtp target and it compiles when i
> changed xmlFree to free() method in i_xml.cpp (misc project). BUT i do
> not think it is a good idea (memory leaks and everything ... ) and i
> do want a cleaner method
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Nel mailing list
>address@hidden http://lists.nongnu.org/mailman/listinfo/nel-all
>
>
_______________________________________________
Nel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/nel-all