compile error in LargeFileAccess.cpp on Mac OSX

Steven Samuel Cole steven.samuel.cole at gmail.com
Sun Feb 28 13:25:25 PST 2010


I am trying to build exempi 2.1.1 on Mac OSX Snow Leopard.
./configure or ./autogen.sh work ok and seem to produce the same output. 
However, when I run make, I get this error:

host:exempi-2.1.1 user$ make
Making all in third-party
Making all in MD5
   CXX   -n XMD5.o
   LINK  -n Xlibmd5.la
Making all in source
Making all in common
   CXX   -n XUnicodeConversions.o
   CXX   -n XXML_Node.o
XML_Node.cpp: In function 'void DumpNodeList(std::string*, const 
XML_NodeVector&, int)':
XML_Node.cpp:218: warning: format '%d' expects type 'int', but argument 
4 has type 'long unsigned int'
   CXX   -n XLargeFileAccess.o
LargeFileAccess.cpp: In function 'void* LFA_Open(const char*, char)':
LargeFileAccess.cpp:48: error: cannot convert 'SInt16*' to 'FSIORefNum*' 
for argument '5' to 'OSErr FSOpenFork(const FSRef*, UniCharCount, const 
UniChar*, SInt8, FSIORefNum*)'
LargeFileAccess.cpp: In function 'void* LFA_OpenRsrc(const char*, char)':
LargeFileAccess.cpp:109: error: cannot convert 'SInt16*' to 
'FSIORefNum*' for argument '5' to 'OSErr FSOpenFork(const FSRef*, 
UniCharCount, const UniChar*, SInt8, FSIORefNum*)'
make[2]: *** [LargeFileAccess.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

How can I fix this ?


More information about the Exempi-devel mailing list