[xml] libxml2 compiling problem with Borland compiler 6.0



Hi Guillermo,

The BCB makefile was never updated to include schematron support.
Embedded here a patch to correct this oversight. Daniel, can this be
applied?

---------------------------------


Index: win32/Makefile.bcb
===================================================================
RCS file: /cvs/gnome/libxml2/win32/Makefile.bcb,v
retrieving revision 1.16
diff -u -r1.16 Makefile.bcb
--- win32/Makefile.bcb  1 Feb 2006 11:28:14 -0000       1.16
+++ win32/Makefile.bcb  8 Mar 2006 23:00:23 -0000
@@ -134,8 +134,9 @@
        $(XML_INTDIR)\parserInternals.obj\
        $(XML_INTDIR)\pattern.obj\
        $(XML_INTDIR)\relaxng.obj\
-       $(XML_INTDIR)\SAX.obj\
        $(XML_INTDIR)\SAX2.obj\
+       $(XML_INTDIR)\SAX.obj\
+       $(XML_INTDIR)\schematron.obj\
        $(XML_INTDIR)\threads.obj\
        $(XML_INTDIR)\tree.obj\
        $(XML_INTDIR)\uri.obj\
@@ -178,8 +179,9 @@
        $(XML_INTDIR_A)\parserInternals.obj\
        $(XML_INTDIR_A)\pattern.obj\
        $(XML_INTDIR_A)\relaxng.obj\
-       $(XML_INTDIR_A)\SAX.obj\
        $(XML_INTDIR_A)\SAX2.obj\
+       $(XML_INTDIR_A)\SAX.obj\
+       $(XML_INTDIR_A)\schematron.obj\
        $(XML_INTDIR_A)\threads.obj\
        $(XML_INTDIR_A)\tree.obj\
        $(XML_INTDIR_A)\uri.obj\

---------------------------------

Thanks for pointing out the problem!

Eric Zurcher
CSIRO Plant Industry
Canberra, Australia
Eric Zurcher csiro au 

-----Original Message-----
From: Guillermo Torreiro [mailto:torreiro 2vias com ar] 
Sent: Thursday, 9 March 2006 9:53 AM
To: Zurcher, Eric (PI, Black Mountain)
Subject: libxml2 compiling problem with Borland compiler 6.0

Hi Eric,

I'm trying to compile libxml2-2.6.23 and I can not get through it.

First I found a problem with the __inline issue that creates borland c++
6.0
and I solved it following the instrucction at
http://mail.gnome.org/archives/xml/2006-February/msg00038.html

But then, I got this errors which I don't know how to handle them and
they
don't apear in any other place on google:

-------------- BORLAND C++ 6.0 COMPILER OUTPUT ------------------------
        tlib.exe bin.bcb\libxml2_a.lib /P64 /0 /u int.a.bcb\c14n.obj
int.a.bcb\
catalog.obj  int.a.bcb\chvalid.obj  int.a.bcb\debugXML.obj 
 int.a.bcb\dict.obj int.a.bcb\DOCBparser.obj  int.a.bcb\encoding.obj 
 int.a.bcb\entities.obj int.a.
bcb\error.obj  int.a.bcb\globals.obj  int.a.bcb\hash.obj
int.a.bcb\HTMLparser.o
bj  int.a.bcb\HTMLtree.obj  int.a.bcb\legacy.obj  int.a.bcb\list.obj
int.a.bcb\
nanoftp.obj  int.a.bcb\nanohttp.obj  int.a.bcb\parser.obj
int.a.bcb\parserInter
nals.obj  int.a.bcb\pattern.obj  int.a.bcb\relaxng.obj
int.a.bcb\SAX.obj
int.a
.bcb\SAX2.obj  int.a.bcb\threads.obj  int.a.bcb\tree.obj
int.a.bcb\uri.obj
int
.a.bcb\valid.obj  int.a.bcb\xinclude.obj  int.a.bcb\xlink.obj
int.a.bcb\xmlIO.o
bj  int.a.bcb\xmlmemory.obj  int.a.bcb\xmlreader.obj
int.a.bcb\xmlregexp.obj
i
nt.a.bcb\xmlmodule.obj  int.a.bcb\xmlsave.obj  int.a.bcb\xmlschemas.obj
int.a.b
cb\xmlschemastypes.obj  int.a.bcb\xmlunicode.obj
int.a.bcb\xmlwriter.obj
int.a
.bcb\xpath.obj  int.a.bcb\xpointer.obj  int.a.bcb\xmlstring.obj
TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation
Warning: 'c14n' not found in library
Warning: 'catalog' not found in library
Warning: 'chvalid' not found in library
Warning: 'debugXML' not found in library
Warning: 'dict' not found in library
Warning: 'DOCBparser' not found in library
Warning: 'encoding' not found in library
Warning: 'entities' not found in library
Warning: 'error' not found in library
Warning: 'globals' not found in library
Warning: 'hash' not found in library
Warning: 'HTMLparser' not found in library
Warning: 'HTMLtree' not found in library
Warning: 'legacy' not found in library
Warning: 'list' not found in library
Warning: 'nanoftp' not found in library
Warning: 'nanohttp' not found in library
Warning: 'parser' not found in library
Warning: 'parserInternals' not found in library
Warning: 'pattern' not found in library
Warning: 'relaxng' not found in library
Warning: 'SAX' not found in library
Warning: 'SAX2' not found in library
Warning: 'threads' not found in library
Warning: 'tree' not found in library
Warning: public '_xmlBufferWriteChar' in module 'tree' clashes with
prior
module
 'tree'
Warning: 'uri' not found in library
Warning: 'valid' not found in library
Warning: 'xinclude' not found in library
Warning: 'xlink' not found in library
Warning: 'xmlIO' not found in library
Warning: 'xmlmemory' not found in library
Warning: 'xmlreader' not found in library
Warning: 'xmlregexp' not found in library
Warning: 'xmlmodule' not found in library
Warning: 'xmlsave' not found in library
Warning: 'xmlschemas' not found in library
Warning: 'xmlschemastypes' not found in library
Warning: 'xmlunicode' not found in library
Warning: 'xmlwriter' not found in library
Warning: 'xpath' not found in library
Warning: 'xpointer' not found in library
Warning: 'xmlstring' not found in library
        if not exist int.utils.bcb mkdir int.utils.bcb
        touch int.utils.bcb\dir.exists
Touch  Version 4.2  Copyright (c) 1998 Borland International

        bcc32.exe -q -DWIN32 -D_NO_VCL -D_WINDOWS -D_MBCS -DEILSEQ=2 -w-
-I".."
-I"..\include" -I".\include" -I"." -D_REENTRANT -tWM
-DHAVE_WIN32_THREADS
-DNDEB
UG -O2 -tWC -oint.utils.bcb\xmllint.obj -c ..\xmllint.c
..\xmllint.c:
        ilink32.exe -q -U2.6
-L"bin.bcb;.\lib;bin.bcb;int.bcb;int.a.bcb;C:
\PROGR
A~1\Borland\CBUILD~1\Bin\..\lib\PSdk" c0x32.obj
int.utils.bcb\xmllint.obj
libxml
2.lib,bin.bcb\xmllint.exe,,import32.lib cw32mt.lib wsock32.lib
kernel32.lib
Error: Unresolved external '_xmlSchematronNewValidCtxt' referenced from
C:
\LIBXM
L2-2.6.23\WIN32\INT.UTILS.BCB\XMLLINT.OBJ
Error: Unresolved external '_xmlSchematronValidateDoc' referenced from
C:
\LIBXML
2-2.6.23\WIN32\INT.UTILS.BCB\XMLLINT.OBJ
Error: Unresolved external '_xmlSchematronFreeValidCtxt' referenced from
C:
\LIBX
ML2-2.6.23\WIN32\INT.UTILS.BCB\XMLLINT.OBJ
Error: Unresolved external '_xmlSchematronNewParserCtxt' referenced from
C:
\LIBX
ML2-2.6.23\WIN32\INT.UTILS.BCB\XMLLINT.OBJ
Error: Unresolved external '_xmlSchematronParse' referenced from C:
\LIBXML2-2.6.
23\WIN32\INT.UTILS.BCB\XMLLINT.OBJ
Error: Unresolved external '_xmlSchematronFreeParserCtxt' referenced
from C:
\LIB
XML2-2.6.23\WIN32\INT.UTILS.BCB\XMLLINT.OBJ
Error: Unresolved external '_xmlSchematronFree' referenced from C:
\LIBXML2-2.6.2
3\WIN32\INT.UTILS.BCB\XMLLINT.OBJ

** error 2 ** deleting bin.bcb\xmllint.exe

C:\libxml2-2.6.23\win32>
-------------- BORLAND C++ 6.0 COMPILER OUTPUT
--*END*--------------------

I have used the following configuration options:

cscript configure.js xml_debug=no iconv=no compiler=bcb dynruntime=no
 debug=no static=yes lib=bin.bcb;int.bcb;int.a.bcb

the last parameter (lib) was my last resort.
Could you give my some hint on how to solve this?
Thanks in advance,

Best Regards,

Guillermo



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