Hi, Has anyone tried building Xerces-C 2.8 (or earlier) on MacOSX in 64 bits? I tried building Xerces-2.6 on MacOSX and the build worked fine in 32 bits but with 64 bits I got lots of errors which seem to be related to system functions. Any advice as to how to fix them would be greatly appreciated. Thanks.
I modified runConfigure to specify -m64 for the compile and link steps and did a build and got the following compiler errors for compiling MacOSPlatformUtils.cpp: MacOSPlatformUtils.cpp: In static member function 'static long unsigned int xercesc_2_6::XMLPlatformUtils::getCurrentMillis()': MacOSPlatformUtils.cpp:362: error: 'kUnresolvedCFragSymbolAddress' was not declared in this scope MacOSPlatformUtils.cpp: In static member function 'static void* xercesc_2_6::XMLPlatformUtils::compareAndSwap(void**, const void*, const void*)': MacOSPlatformUtils.cpp:465: error: cast from 'const void*' to 'UInt32' loses precision MacOSPlatformUtils.cpp:466: error: cast from 'const void*' to 'UInt32' loses precision MacOSPlatformUtils.cpp: In static member function 'static int xercesc_2_6::XMLPlatformUtils::atomicIncrement(int&)': MacOSPlatformUtils.cpp:484: error: cannot convert 'long int*' to 'SInt32*' for argument '1' to 'SInt32 IncrementAtomic(SInt32*)' MacOSPlatformUtils.cpp: In static member function 'static int xercesc_2_6::XMLPlatformUtils::atomicDecrement(int&)': MacOSPlatformUtils.cpp:522: error: 'kUnresolvedCFragSymbolAddress' was not declared in this scopeInt32 DecrementAtomic(SInt32*)' MacOSPlatformUtils.cpp:552: error: cast from 'Boolean (*)()' to 'UInt32' loses precisionls::platformInit()': MacOSPlatformUtils.cpp: In function 'bool xercesc_2_6::XMLParsePathToFSRef_X(constrXMLCh*, FSRef&, xercesc_2_6::MemoryManager*)':)' MacOSPlatformUtils.cpp:839: error: 'FSMakeFSSpec' was not declared in this scope MacOSPlatformUtils.cpp:841: error: 'FSpMakeFSRef' was not declared in this scope MacOSPlatformUtils.cpp: In function 'bool xercesc_2_6::XMLParsePathToFSRef_Classic(const XMLCh*, FSRef&, xercesc_2_6::MemoryManager*)': MacOSPlatformUtils.cpp:929: error: 'FSMakeFSSpec' was not declared in this scope MacOSPlatformUtils.cpp:931: error: 'FSpMakeFSRef' was not declared in this scope MacOSPlatformUtils.cpp: In function 'bool xercesc_2_6::XMLParsePathToFSSpec_Classic(const XMLCh*, FSSpec&, xercesc_2_6::MemoryManager*)': MacOSPlatformUtils.cpp:1064: error: 'XVolumeParam' was not declared in this scope MacOSPlatformUtils.cpp:1064: error: expected `;' before 'xVolParam' MacOSPlatformUtils.cpp:1066: error: 'xVolParam' was not declared in this scope MacOSPlatformUtils.cpp:1070: error: 'PBXGetVolInfoSync' was not declared in this scope MacOSPlatformUtils.cpp:1097: error: 'FSMakeFSSpec' was not declared in this scope MacOSPlatformUtils.cpp:1108: error: 'FSMakeFSSpec' was not declared in this scope MacOSPlatformUtils.cpp:1130: error: 'CInfoPBRec' was not declared in this scope MacOSPlatformUtils.cpp:1130: error: expected `;' before 'catInfo' MacOSPlatformUtils.cpp:1131: error: 'catInfo' was not declared in this scope MacOSPlatformUtils.cpp:1132: error: 'struct FSSpec' has no member named 'vRefNum' MacOSPlatformUtils.cpp:1134: error: 'struct FSSpec' has no member named 'parID' MacOSPlatformUtils.cpp:1135: error: 'PBGetCatInfoSync' was not declared in this scope MacOSPlatformUtils.cpp:1143: error: 'struct FSSpec' has no member named 'vRefNum' MacOSPlatformUtils.cpp:1143: error: 'FSMakeFSSpec' was not declared in this scope MacOSPlatformUtils.cpp:1164: error: 'struct FSSpec' has no member named 'name' MacOSPlatformUtils.cpp:1183: error: 'struct FSSpec' has no member named 'vRefNum' MacOSPlatformUtils.cpp:1183: error: 'struct FSSpec' has no member named 'parID' MacOSPlatformUtils.cpp:1183: error: 'FSMakeFSSpec' was not declared in this scope MacOSPlatformUtils.cpp: In function 'XMLCh* xercesc_2_6::XMLCreateFullPathFromFSSpec(const FSSpec&, xercesc_2_6::MemoryManager*)': MacOSPlatformUtils.cpp:1357: error: 'FSpMakeFSRef' was not declared in this scope MacOSPlatformUtils.cpp: In function 'XMLCh* xercesc_2_6::XMLCreateFullPathFromFSSpec_Classic(const FSSpec&, xercesc_2_6::MemoryManager*)': MacOSPlatformUtils.cpp:1394: error: 'CInfoPBRec' was not declared in this scope MacOSPlatformUtils.cpp:1394: error: expected `;' before 'catInfo' MacOSPlatformUtils.cpp:1395: error: 'catInfo' was not declared in this scope MacOSPlatformUtils.cpp:1395: error: 'struct FSSpec' has no member named 'name' MacOSPlatformUtils.cpp:1396: error: 'struct FSSpec' has no member named 'vRefNum' MacOSPlatformUtils.cpp:1398: error: 'struct FSSpec' has no member named 'parID' MacOSPlatformUtils.cpp:1399: error: 'PBGetCatInfoSync' was not declared in this scope MacOSPlatformUtils.cpp:1403: error: 'struct FSSpec' has no member named 'name' MacOSPlatformUtils.cpp:1431: error: 'struct FSSpec' has no member named 'name' MacOSPlatformUtils.cpp:1439: error: 'struct FSSpec' has no member named 'parID' MacOSPlatformUtils.cpp:1442: error: 'struct FSSpec' has no member named 'parID' make[3]: *** [MacOSPlatformUtils.o] Error 1 Regards, David A. Cargill XML Parser Development IBM Toronto Lab (905) 413-2371, tie 969 [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
