ftp.delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Cesar Rabak <csrabak AT yahoo DOT com DOT br> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Using libxml2 with gcc |
Date: | Sun, 13 May 2007 11:14:31 -0300 |
Organization: | Aioe.org NNTP Server |
Lines: | 29 |
Message-ID: | <f2765c$fvl$1@aioe.org> |
References: | <46470291 DOT 8000509 AT schluessler DOT org> |
NNTP-Posting-Host: | LMLnELbTmZpUdPJQYztLAA.user.aioe.org |
Mime-Version: | 1.0 |
X-Complaints-To: | abuse AT aioe DOT org |
In-Reply-To: | |
User-Agent: | Thunderbird 1.5.0.8 (X11/20061109) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Timo Schlüßler escreveu: > Hi you, > > I'm trying to compile a programm that uses libxml2 (http://xmlsoft.org/ > -> windows binaries) with DJGPP. I tried to do this in several ways, but > everytime I get the same errors: "undefined reference to <some xml > functions>". (reagardless of if I specify the lib or not) Do the 'several ways' included to build a DJGPP library from the sources first? > I tried linking with -Lxml2 after renaming the library to libxml2.a and > with linking through specifying the full path of the lib. > > In the libxml2 packet for windows, there are two lib-files: libxml2.lib > and libxml2_a.lib (the second is much larger) and there is a > libxml2.dll. I've read that i have to use the dll when i link to the > smaller lib file. The windows package is of no use for DJGPP. > > When I link to the _a file, I got millions of errors about mutliple > definitions. > > Any suggestions how to compile my programm? > IIUC you need first to build libraries for DJGPP.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |