pan-devel
[Top][All Lists]
Advanced

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

[Pan-devel] Problems setting up to build Pan on Windows...


From: Paul Hudson
Subject: [Pan-devel] Problems setting up to build Pan on Windows...
Date: Tue, 23 Dec 2003 22:30:03 -0000

http://pan.rebelbase.com/pan-windows-port.txt
 
says
 
[Note: libxml2-2.6.2 builds, but 2.6.3 breaks on _impl__xmlFree undefined]
 
It doesn’t build for me. I get
 
gcc -mno-cygwin -mms-bitfields -Wall -o xmllint.exe xmllint.o  ./.libs/libxml2.a -lm -lwsock32
./.libs/libxml2.a(xmlIO.o)(.text+0xf53):xmlIO.c: undefined reference to `gzdopen'
./.libs/libxml2.a(xmlIO.o)(.text+0xfec):xmlIO.c: undefined reference to `gzopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x10b1):xmlIO.c: undefined reference to `gzdopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x112b):xmlIO.c: undefined reference to `gzopen'
./.libs/libxml2.a(xmlIO.o)(.text+0x115c):xmlIO.c: undefined reference to `gzread'
./.libs/libxml2.a(xmlIO.o)(.text+0x11a0):xmlIO.c: undefined reference to `gzwrite'
./.libs/libxml2.a(xmlIO.o)(.text+0x11de):xmlIO.c: undefined reference to `gzclose'
./.libs/libxml2.a(xmlIO.o)(.text+0x1285):xmlIO.c: undefined reference to `deflateEnd'
./.libs/libxml2.a(xmlIO.o)(.text+0x142d):xmlIO.c: undefined reference to `deflateInit2_'
./.libs/libxml2.a(xmlIO.o)(.text+0x14a6):xmlIO.c: undefined reference to `crc32'
./.libs/libxml2.a(xmlIO.o)(.text+0x179b):xmlIO.c: undefined reference to `deflate'
./.libs/libxml2.a(xmlIO.o)(.text+0x180d):xmlIO.c: undefined reference to `crc32'
./.libs/libxml2.a(xmlIO.o)(.text+0x18da):xmlIO.c: undefined reference to `deflate'
./.libs/libxml2.a(xmlIO.o)(.text+0x283f):xmlIO.c: undefined reference to `gzread'
./.libs/libxml2.a(xmlIO.o)(.text+0x2880):xmlIO.c: undefined reference to `gzrewind'
make[2]: *** [xmllint.exe] Error 1
make[2]: Leaving directory `/c/msys/1.0/home/paul/libxml2-2.6.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/msys/1.0/home/paul/libxml2-2.6.2'
make: *** [all] Error 2
 
 
A bit of detective work says the problems’s something to do with zlib. The only zlib I seem to have on my system is the one that came when installing gtk. Manually adding that helps a bit…
 
$ gcc -mno-cygwin -mms-bitfields -Wall -o xmllint.exe xmllint.o  ./.libs/libxml
2.a -lm -lwsock32 /opt/gtk/lib/libz.a
C:/msys/1.0/opt/gtk/lib/libz.a(gzio.o)(.text+0xaba):gzio.c: undefined reference to `fseeko'
C:/msys/1.0/opt/gtk/lib/libz.a(gzio.o)(.text+0xc53):gzio.c: undefined reference to `fseeko'
C:/msys/1.0/opt/gtk/lib/libz.a(gzio.o)(.text+0x15b3):gzio.c: undefined reference to `ftello'
 
So, what should I be doing?
 
P.

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.553 / Virus Database: 345 - Release Date: 18/12/2003


reply via email to

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