pan-devel
[Top][All Lists]
Advanced

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

Re: [Pan-devel] Re: Building PAN on Windows


From: DPA
Subject: Re: [Pan-devel] Re: Building PAN on Windows
Date: Sun, 12 Feb 2006 22:21:48 -0500
User-agent: Thunderbird 1.5 (Windows/20051201)

Christophe, thank you for the reply! It looks like you are still further along than I am, I finally got libxml2 to build by not building it with zlib support. I hope that won't break pan but we will see...

I am now getting this error when trying to build PAN now that I got passed the problem with building version 2.6.2 of libxml:
sockets.o(.text+0x54):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0xc8):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0x143):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0x15c):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0x16a):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0x173):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0x19d):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0x24b):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0x2e3):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0x42f):sockets.c: undefined reference to address@hidden'
sockets.o(.text+0x45d):sockets.c: undefined reference to address@hidden'
fu000006.o(.idata$3+0xc): undefined reference to `libxml2_dll_a_iname'
fu000007.o(.idata$3+0xc): undefined reference to `libxml2_dll_a_iname'
fu000008.o(.idata$3+0xc): undefined reference to `libxml2_dll_a_iname'
fu000009.o(.idata$3+0xc): undefined reference to `libxml2_dll_a_iname'
fu000010.o(.idata$3+0xc): undefined reference to `libxml2_dll_a_iname'
fu000011.o(.idata$3+0xc): more undefined references to `libxml2_dll_a_iname' follow
nmth000005.o(.idata$4+0x0): undefined reference to `_nm__xmlFree'
collect2: ld returned 1 exit status

This error occurs with Libxml-2.6.2.

WSAStartup, gethostbyaddr and the rest all seem to be provided by winsock2.h, but even adding #include <winsock2.h> to sockets.c and sockets.h did not seem to help. I tried hacking around but this basically exhausted my limited programming ability. ;-)

I will look deeper into it tomorrow but any tips would be greatly appreciated!

GISQUET Christophe wrote:
Hello,

DPA wrote:
Well I wish I could say that I was successful but I have been unable to
compile libxml2...  I walked away from it for a few days out of
frustration but I will pick it back up sometime this weekend.

Can't you pick the package available at [1] ? Unfortunately, it's way too MSVC-centric, and if I remember well, almost useless: no libtool file, archive libs have to be renamed, no pkg-config file, no xml2Conf to get in yet another way the pathes and to top it all, missing exported symbols. You could get packages I build using mingw: libxml2 2.6.23 [2] which depends on libiconv 1.10 [3]. I'm usually building them with --enable-shared --enable-static --disable-rpath --enable-nls (so they might need gettext dlls too, but I'm not sure).

The drawback is that if you use Tor Lillqvist's GTK+/... packages [4], which don't have versioning in his dlls, will yield a double dependency for instance on iconv.dll and libiconv-2.dll. I found no way to force libiconv build setup into submission and remove this versioning so that the ones you compile can replace the ones provided by Lillqvist.

of the larger binary groups.  Right now he is running Agent but he would
like to use PAN and this is an interesting Challenge for me.  If I do
manage to get it done and if Charles doesn't mind I will host the
installer somewhere for people to download if they want to test the CVS
version on Windows.

I'm currently able to build the CVS version. Unfortunately, as W2000 is not IPv6-happy, I had to hack into pan some support:
- patch available at [5] using legacy functions
- get the IPv6 technology preview for win2K and make an import lib out of the dll (using pexports and dlltool as explained at [6])

Any solution I pick, the pan binary launches. When I try to update any newsgroup, the application just sits there, sometimes hanging for a few seconds. Some months ago, it was at last starting to get some articles, but was timing out quickly.

I hope it will work out better for you.

Best regards,
Christophe GISQUET

[1] http://xmlsoft.org/sources/win32
[2] http://christophe.gisquet.free.fr/libxml2-2.6.23.tar.bz2
[3] http://christophe.gisquet.free.fr/libiconv-1.10.tar.bz2
[4] http://www.gimp.org/~tml/gimp/win32/downloads.html
[5] http://msdn.microsoft.com/downloads/sdks/platform/tpipv6.asp
[6] http://www.emmestech.com/software/cygwin/pexports-0.43/moron1.html






reply via email to

[Prev in Thread] Current Thread [Next in Thread]