[xml] Gnome LibXML2 support under OpenVMS



Hi:

I'm brand new to this list, so please, your indulgence!  I've checked the archives for this, and didn't find 
anything.

I am trying to build libxml2 on OpenVMS 7.2-1, and it looks like there are some problems with the VMS port. 
I've been able to work around the things I have found so far, but this one looks more critical.

When the build process compiles global.c, I get:

LIBXML_DLL_IMPORT extern int xmlDoValidityCheckingDefaultValue;
.............................^
%CC-W-LONGEXTERN, The external identifier name exceeds 31 characters; truncated to 
"XMLDOVALIDITYCHECKINGDEFAULTVAL".
at line number 209 in file ROOT:[PROJECTS.LIBXML2-2_4_9.INCLUDE.LIBXML]GLOBALS.H;1

LIBXML_DLL_IMPORT extern int xmlSubstituteEntitiesDefaultValue;
.............................^
%CC-W-LONGEXTERN, The external identifier name exceeds 31 characters; truncated to 
"XMLSUBSTITUTEENTITIESDEFAULTVAL".
at line number 305 in file ROOT:[PROJECTS.LIBXML2-2_4_9.INCLUDE.LIBXML]GLOBALS.H;1

__xmlDoValidityCheckingDefaultValue(void) {
^
%CC-W-LONGEXTERN, The external identifier name exceeds 31 characters; truncated to 
"__XMLDOVALIDITYCHECKINGDEFAULTV".
at line number 390 in file ROOT:[PROJECTS.LIBXML2-2_4_9]GLOBALS.C;1

__xmlSubstituteEntitiesDefaultValue(void) {
^
%CC-W-LONGEXTERN, The external identifier name exceeds 31 characters; truncated to 
"__XMLSUBSTITUTEENTITIESDEFAULTV".
at line number 550 in file ROOT:[PROJECTS.LIBXML2-2_4_9]GLOBALS.C;1


It looks like there has been some work done (in parseinternals.c) to fix this:
.
.
.
/*
 * Various global defaults for parsing
 */
#ifdef VMS
int xmlSubstituteEntitiesDefaultVal = 0;
#define xmlSubstituteEntitiesDefaultValue xmlSubstituteEntitiesDefaultVal 
int xmlDoValidityCheckingDefaultVal = 0;
#define xmlDoValidityCheckingDefaultValue xmlDoValidityCheckingDefaultVal
#endif

but this is incomplete, as it doesn't address all the symbols that cause DECC to barf, nor is it in place in 
all places that care about these symbols.

So my question is:  Does anyone know what the most recent version of libxml is that has been successfully 
compiled under OpenVMS?  Is there a VMS version depencency?

Thanks;

Glenn

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Glenn D. Wolf                                    Motorola SPS
business: Glenn Wolf motorola com                IT Mfg Systems    
personal: Glenn_D_Wolf msn com                   1665 W. Alameda Dr. 
voice:    (480) 634-2230  pager: (888) 782-3725  Mail Drop: IT-400
fax:      (480) 634-2227  cell:  (602) 615-5842  Tempe, AZ  85282-3200
=+=+=+ I don't speak for Motorola, Motorola doesn't speak for me! =+=+=+



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