On Sep 23, 2009, at 7:17 PM, Kelvin Chung wrote:

I have a problem with the xerces-c package building on 64-bit fink on
SL:

  (C++) MacOSPlatformUtils.o
MacOSPlatformUtils.cpp: In static member function 'static long
unsigned int xercesc_2_7::XMLPlatformUtils::getCurrentMillis()':
MacOSPlatformUtils.cpp:362: error: 'kUnresolvedCFragSymbolAddress' was
not declared in this scope
MacOSPlatformUtils.cpp: In static member function 'static void*
xercesc_2_7::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_7::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_7::XMLPlatformUtils::atomicDecrement(int&)':
MacOSPlatformUtils.cpp:491: error: cannot convert 'long int*' to
'SInt32*' for argument '1' to 'SInt32 DecrementAtomic(SInt32*)'
MacOSPlatformUtils.cpp: In static member function 'static void
xercesc_2_7::XMLPlatformUtils::platformInit()':
MacOSPlatformUtils.cpp:510: error: cannot convert 'long int*' to
'SInt32*' for argument '2' to 'OSErr Gestalt(OSType, SInt32*)'
MacOSPlatformUtils.cpp:515: error: cannot convert 'long int*' to
'SInt32*' for argument '2' to 'OSErr Gestalt(OSType, SInt32*)'
MacOSPlatformUtils.cpp:522: error: 'kUnresolvedCFragSymbolAddress' was
not declared in this scope
MacOSPlatformUtils.cpp: In function 'bool
xercesc_2_7::XMLParsePathToFSRef_X(const XMLCh*, FSRef&,
xercesc_2_7::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_7::XMLParsePathToFSRef_Classic(const XMLCh*, FSRef&,
xercesc_2_7::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_7::XMLParsePathToFSSpec_Classic(const XMLCh*, FSSpec&,
xercesc_2_7::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_7::XMLCreateFullPathFromFSSpec(const FSSpec&,
xercesc_2_7::MemoryManager*)':
MacOSPlatformUtils.cpp:1357: error: 'FSpMakeFSRef' was not declared in
this scope
MacOSPlatformUtils.cpp: In function 'XMLCh*
xercesc_2_7::XMLCreateFullPathFromFSSpec_Classic(const FSSpec&,
xercesc_2_7::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
make[2]: *** [all] Error 2
make[1]: *** [platforms] Error 2
make: *** [Util] Error 2

Haven't actually looked in the source myself to see what's going on,
so I can't tell you too much.  Is this a known issue?

These are functions which no longer exist in 64 bit Mac OS X. Someone would have to rewrite MacOSPlatformUtils.cpp to use modern APIs to get this to work.

Daniel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-beginners mailing list
Fink-beginners@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to