[MacPorts] #20979: xercesc install fails on OS 10.6

MacPorts noreply at macports.org
Mon Aug 31 13:33:29 PDT 2009


#20979: xercesc install fails on OS 10.6
----------------------------------+-----------------------------------------
 Reporter:  docfaraday@…          |       Owner:  macports-tickets@…                   
     Type:  defect                |      Status:  new                                  
 Priority:  Normal                |   Milestone:                                       
Component:  ports                 |     Version:  1.8.0                                
 Keywords:                        |        Port:                                       
----------------------------------+-----------------------------------------
 xercesc install fails compiling MacOSPlatformUtils.cpp and
 MacCarbonFile.cpp with the following errors:

 {{{
 MacOSPlatformUtils.cpp: In static member function 'static long unsigned
 int xercesc_2_8::XMLPlatformUtils::getCurrentMillis()':
 MacOSPlatformUtils.cpp:363: error: 'kUnresolvedCFragSymbolAddress' was not
 declared in this scope
 MacOSPlatformUtils.cpp: In static member function 'static void*
 xercesc_2_8::XMLPlatformUtils::compareAndSwap(void**, const void*, const
 void*)':
 MacOSPlatformUtils.cpp:466: error: cast from 'const void*' to 'UInt32'
 loses precision
 MacOSPlatformUtils.cpp:467: error: cast from 'const void*' to 'UInt32'
 loses precision
 MacOSPlatformUtils.cpp: In static member function 'static int
 xercesc_2_8::XMLPlatformUtils::atomicIncrement(int&)':
 MacOSPlatformUtils.cpp:485: error: cannot convert 'long int*' to 'SInt32*'
 for argument '1' to 'SInt32 IncrementAtomic(SInt32*)'
 MacOSPlatformUtils.cpp: In static member function 'static int
 xercesc_2_8::XMLPlatformUtils::atomicDecrement(int&)':
 MacOSPlatformUtils.cpp:492: error: cannot convert 'long int*' to 'SInt32*'
 for argument '1' to 'SInt32 DecrementAtomic(SInt32*)'
 MacOSPlatformUtils.cpp: In static member function 'static void
 xercesc_2_8::XMLPlatformUtils::platformInit()':
 MacOSPlatformUtils.cpp:511: error: cannot convert 'long int*' to 'SInt32*'
 for argument '2' to 'OSErr Gestalt(OSType, SInt32*)'
 MacOSPlatformUtils.cpp:516: error: cannot convert 'long int*' to 'SInt32*'
 for argument '2' to 'OSErr Gestalt(OSType, SInt32*)'
 MacOSPlatformUtils.cpp:523: error: 'kUnresolvedCFragSymbolAddress' was not
 declared in this scope
 MacOSPlatformUtils.cpp: In function 'bool
 xercesc_2_8::XMLParsePathToFSRef_X(const XMLCh*, FSRef&,
 xercesc_2_8::MemoryManager*)':
 MacOSPlatformUtils.cpp:840: error: 'FSMakeFSSpec' was not declared in this
 scope
 MacOSPlatformUtils.cpp:842: error: 'FSpMakeFSRef' was not declared in this
 scope
 MacOSPlatformUtils.cpp: In function 'bool
 xercesc_2_8::XMLParsePathToFSRef_Classic(const XMLCh*, FSRef&,
 xercesc_2_8::MemoryManager*)':
 MacOSPlatformUtils.cpp:930: error: 'FSMakeFSSpec' was not declared in this
 scope
 MacOSPlatformUtils.cpp:932: error: 'FSpMakeFSRef' was not declared in this
 scope
 MacOSPlatformUtils.cpp: In function 'bool
 xercesc_2_8::XMLParsePathToFSSpec_Classic(const XMLCh*, FSSpec&,
 xercesc_2_8::MemoryManager*)':
 MacOSPlatformUtils.cpp:1065: error: 'XVolumeParam' was not declared in
 this scope
 MacOSPlatformUtils.cpp:1065: error: expected `;' before 'xVolParam'
 MacOSPlatformUtils.cpp:1067: error: 'xVolParam' was not declared in this
 scope
 MacOSPlatformUtils.cpp:1071: error: 'PBXGetVolInfoSync' was not declared
 in this scope
 MacOSPlatformUtils.cpp:1098: error: 'FSMakeFSSpec' was not declared in
 this scope
 MacOSPlatformUtils.cpp:1109: error: 'FSMakeFSSpec' was not declared in
 this scope
 MacOSPlatformUtils.cpp:1131: error: 'CInfoPBRec' was not declared in this
 scope
 MacOSPlatformUtils.cpp:1131: error: expected `;' before 'catInfo'
 MacOSPlatformUtils.cpp:1132: error: 'catInfo' was not declared in this
 scope
 MacOSPlatformUtils.cpp:1133: error: 'struct FSSpec' has no member named
 'vRefNum'
 MacOSPlatformUtils.cpp:1135: error: 'struct FSSpec' has no member named
 'parID'
 MacOSPlatformUtils.cpp:1136: error: 'PBGetCatInfoSync' was not declared in
 this scope
 MacOSPlatformUtils.cpp:1144: error: 'struct FSSpec' has no member named
 'vRefNum'
 MacOSPlatformUtils.cpp:1144: error: 'FSMakeFSSpec' was not declared in
 this scope
 MacOSPlatformUtils.cpp:1165: error: 'struct FSSpec' has no member named
 'name'
 MacOSPlatformUtils.cpp:1184: error: 'struct FSSpec' has no member named
 'vRefNum'
 MacOSPlatformUtils.cpp:1184: error: 'struct FSSpec' has no member named
 'parID'
 MacOSPlatformUtils.cpp:1184: error: 'FSMakeFSSpec' was not declared in
 this scope
 MacOSPlatformUtils.cpp: In function 'XMLCh*
 xercesc_2_8::XMLCreateFullPathFromFSSpec(const FSSpec&,
 xercesc_2_8::MemoryManager*)':
 MacOSPlatformUtils.cpp:1358: error: 'FSpMakeFSRef' was not declared in
 this scope
 MacOSPlatformUtils.cpp: In function 'XMLCh*
 xercesc_2_8::XMLCreateFullPathFromFSSpec_Classic(const FSSpec&,
 xercesc_2_8::MemoryManager*)':
 MacOSPlatformUtils.cpp:1395: error: 'CInfoPBRec' was not declared in this
 scope
 MacOSPlatformUtils.cpp:1395: error: expected `;' before 'catInfo'
 MacOSPlatformUtils.cpp:1396: error: 'catInfo' was not declared in this
 scope
 MacOSPlatformUtils.cpp:1396: error: 'struct FSSpec' has no member named
 'name'
 MacOSPlatformUtils.cpp:1397: error: 'struct FSSpec' has no member named
 'vRefNum'
 MacOSPlatformUtils.cpp:1399: error: 'struct FSSpec' has no member named
 'parID'
 MacOSPlatformUtils.cpp:1400: error: 'PBGetCatInfoSync' was not declared in
 this scope
 MacOSPlatformUtils.cpp:1404: error: 'struct FSSpec' has no member named
 'name'
 MacOSPlatformUtils.cpp:1432: error: 'struct FSSpec' has no member named
 'name'
 MacOSPlatformUtils.cpp:1440: error: 'struct FSSpec' has no member named
 'parID'
 MacOSPlatformUtils.cpp:1443: error: 'struct FSSpec' has no member named
 'parID'


 MacCarbonFile.cpp: In member function 'virtual unsigned int
 xercesc_2_8::XMLMacCarbonFile::currPos()':
 MacCarbonFile.cpp:64: error: 'GetFPos' was not declared in this scope
 MacCarbonFile.cpp: In member function 'virtual void
 xercesc_2_8::XMLMacCarbonFile::close()':
 MacCarbonFile.cpp:86: error: 'FSClose' was not declared in this scope
 MacCarbonFile.cpp: In member function 'virtual unsigned int
 xercesc_2_8::XMLMacCarbonFile::size()':
 MacCarbonFile.cpp:114: error: 'GetEOF' was not declared in this scope
 MacCarbonFile.cpp: In member function 'bool
 xercesc_2_8::XMLMacCarbonFile::openWithPermission(const XMLCh*, int)':
 MacCarbonFile.cpp:145: error: cannot convert 'short int*' to 'FSIORefNum*'
 for argument '5' to 'OSErr FSOpenFork(const FSRef*, UniCharCount, const
 UniChar*, SInt8, FSIORefNum*)'
 MacCarbonFile.cpp:154: error: 'FSpOpenDF' was not declared in this scope
 MacCarbonFile.cpp: In member function 'void
 xercesc_2_8::XMLMacCarbonFile::create(const XMLCh*)':
 MacCarbonFile.cpp:212: error: 'FSpDelete' was not declared in this scope
 MacCarbonFile.cpp:232: error: 'struct FSSpec' has no member named 'name'
 MacCarbonFile.cpp:245: error: 'struct FSSpec' has no member named
 'vRefNum'
 MacCarbonFile.cpp:245: error: 'struct FSSpec' has no member named 'parID'
 MacCarbonFile.cpp:245: error: 'FSMakeFSSpec' was not declared in this
 scope
 MacCarbonFile.cpp:248: error: 'FSpCreate' was not declared in this scope
 MacCarbonFile.cpp: In member function 'virtual unsigned int
 xercesc_2_8::XMLMacCarbonFile::read(unsigned int, XMLByte*)':
 MacCarbonFile.cpp:311: error: 'FSRead' was not declared in this scope
 MacCarbonFile.cpp: In member function 'virtual void
 xercesc_2_8::XMLMacCarbonFile::write(long int, const XMLByte*)':
 MacCarbonFile.cpp:345: error: 'FSWrite' was not declared in this scope
 MacCarbonFile.cpp: In member function 'virtual void
 xercesc_2_8::XMLMacCarbonFile::reset()':
 MacCarbonFile.cpp:367: error: 'SetFPos' was not declared in this scope


 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/20979>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list