[CLAM] SMStools, OSX Compile Problems
Ed Kelly
morph_2016 at yahoo.co.uk
Fri May 13 07:35:58 PDT 2005
Greetings,
I am trying to compile SMSTools on Mac OS-X. I've
successfully compiled CLAM with most of its
dependencies (except portaudio, portmidi and of course
alsa), but I cannot compile the SMSTools application.
All seems to be going fine and then...(see below)
can anyone help? OS-X 10.3.9, Dual G5, gcc 3.3
Edward Kelly
London College of Communication
-----compiler output follows-----
In file included from
/usr/include/xercesc/util/BaseRefVectorOf.hpp:60,
from
/usr/include/xercesc/util/XMLString.hpp:246,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesEncodings.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:22,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/XMLEnumerator.hpp:96: error:
template with C linkage
In file included from
/usr/include/xercesc/util/XMLString.hpp:246,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesEncodings.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:22,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/BaseRefVectorOf.hpp:73:
error: template with C
linkage
/usr/include/xercesc/util/BaseRefVectorOf.hpp:135:
error: template with C
linkage
In file included from
/usr/include/xercesc/framework/XMLDocumentHandler.hpp:113,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:65,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/RefVectorOf.hpp:118: error:
template with C linkage
In file included from
/usr/include/xercesc/internal/XSerializeEngine.hpp:95,
from
/usr/include/xercesc/internal/XSerializable.hpp:76,
from
/usr/include/xercesc/util/QName.hpp:123,
from
/usr/include/xercesc/framework/XMLAttr.hpp:122,
from
/usr/include/xercesc/framework/XMLDocumentHandler.hpp:114,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:65,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/RefHashTableOf.hpp:153:
error: template with C
linkage
/usr/include/xercesc/util/RefHashTableOf.hpp:154:
error: template with C
linkage
/usr/include/xercesc/util/RefHashTableOf.hpp:174:
error: template with C
linkage
In file included from
/usr/include/xercesc/internal/XSerializeEngine.hpp:96,
from
/usr/include/xercesc/internal/XSerializable.hpp:76,
from
/usr/include/xercesc/util/QName.hpp:123,
from
/usr/include/xercesc/framework/XMLAttr.hpp:122,
from
/usr/include/xercesc/framework/XMLDocumentHandler.hpp:114,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:65,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/ValueVectorOf.hpp:116:
error: template with C linkage
/usr/include/xercesc/util/ValueVectorOf.hpp:193:
error: template with C linkage
In file included from
/usr/include/xercesc/framework/XMLAttr.hpp:123,
from
/usr/include/xercesc/framework/XMLDocumentHandler.hpp:114,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:65,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/framework/XMLAttDef.hpp:525:
error: declaration of C
function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLAttDef*&)' conflicts with
/usr/include/xercesc/util/QName.hpp:211: error:
previous declaration `
xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::QName*&)' here
In file included from
/usr/include/xercesc/validators/datatype/DatatypeValidator.hpp:66,
from
/usr/include/xercesc/framework/XMLAttr.hpp:124,
from
/usr/include/xercesc/framework/XMLDocumentHandler.hpp:114,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:65,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/KVStringPair.hpp:186: error:
declaration of C
function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::KVStringPair*&)' conflicts with
/usr/include/xercesc/framework/XMLAttDef.hpp:525:
error: previous declaration `
xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLAttDef*&)' here
In file included from
/usr/include/xercesc/util/regx/RegularExpression.hpp:67,
from
/usr/include/xercesc/validators/datatype/DatatypeValidator.hpp:68,
from
/usr/include/xercesc/framework/XMLAttr.hpp:124,
from
/usr/include/xercesc/framework/XMLDocumentHandler.hpp:114,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:65,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/RefArrayVectorOf.hpp:68:
error: template with C
linkage
In file included from
/usr/include/xercesc/util/regx/RegularExpression.hpp:69,
from
/usr/include/xercesc/validators/datatype/DatatypeValidator.hpp:68,
from
/usr/include/xercesc/framework/XMLAttr.hpp:124,
from
/usr/include/xercesc/framework/XMLDocumentHandler.hpp:114,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:65,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/Janitor.hpp:109: error:
template with C linkage
/usr/include/xercesc/util/Janitor.hpp:150: error:
template with C linkage
In file included from
/usr/include/xercesc/framework/ValidationContext.hpp:74,
from
/usr/include/xercesc/validators/datatype/DatatypeValidator.hpp:72,
from
/usr/include/xercesc/framework/XMLAttr.hpp:124,
from
/usr/include/xercesc/framework/XMLDocumentHandler.hpp:114,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:65,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/NameIdPool.hpp:119: error:
template with C linkage
/usr/include/xercesc/util/NameIdPool.hpp:148: error:
template with C linkage
/usr/include/xercesc/util/NameIdPool.hpp:163: error:
template with C linkage
In file included from
/usr/include/xercesc/framework/XMLAttr.hpp:124,
from
/usr/include/xercesc/framework/XMLDocumentHandler.hpp:114,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:65,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/validators/datatype/DatatypeValidator.hpp:368:
error: declaration
of C function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::DatatypeValidator*&)' conflicts with
/usr/include/xercesc/util/KVStringPair.hpp:186: error:
previous declaration `
xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::KVStringPair*&)' here
In file included from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:69,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/util/ValueStackOf.hpp:108: error:
template with C linkage
/usr/include/xercesc/util/ValueStackOf.hpp:111: error:
template with C linkage
In file included from
/usr/include/xercesc/validators/DTD/DocTypeHandler.hpp:99,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:70,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/framework/XMLNotationDecl.hpp:194:
error: declaration of C
function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLNotationDecl*&)' conflicts with
/usr/include/xercesc/validators/datatype/DatatypeValidator.hpp:368:
error: previous
declaration `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::DatatypeValidator*&)' here
In file included from
/usr/include/xercesc/validators/DTD/DocTypeHandler.hpp:100,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:70,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/validators/DTD/DTDAttDef.hpp:160:
error: declaration of C
function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::DTDAttDef*&)' conflicts with
/usr/include/xercesc/framework/XMLNotationDecl.hpp:194:
error: previous
declaration `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLNotationDecl*&)' here
In file included from
/usr/include/xercesc/framework/XMLElementDecl.hpp:155,
from
/usr/include/xercesc/validators/DTD/DTDElementDecl.hpp:127,
from
/usr/include/xercesc/validators/DTD/DocTypeHandler.hpp:101,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:70,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/framework/XMLAttDefList.hpp:196:
error: declaration of C
function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLAttDefList*&)' conflicts with
/usr/include/xercesc/validators/DTD/DTDAttDef.hpp:160:
error: previous
declaration `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::DTDAttDef*&)' here
In file included from
/usr/include/xercesc/validators/DTD/DTDElementDecl.hpp:127,
from
/usr/include/xercesc/validators/DTD/DocTypeHandler.hpp:101,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:70,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/framework/XMLElementDecl.hpp:611:
error: declaration of C
function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLElementDecl*&)' conflicts with
/usr/include/xercesc/framework/XMLAttDefList.hpp:196:
error: previous
declaration `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLAttDefList*&)' here
In file included from
/usr/include/xercesc/validators/DTD/DocTypeHandler.hpp:101,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:70,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/validators/DTD/DTDElementDecl.hpp:239:
error: declaration
of C function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::DTDElementDecl*&)' conflicts with
/usr/include/xercesc/framework/XMLElementDecl.hpp:611:
error: previous
declaration `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLElementDecl*&)' here
In file included from
/usr/include/xercesc/validators/DTD/DTDEntityDecl.hpp:96,
from
/usr/include/xercesc/validators/DTD/DocTypeHandler.hpp:102,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:70,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/framework/XMLEntityDecl.hpp:411:
error: declaration of C
function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLEntityDecl*&)' conflicts with
/usr/include/xercesc/validators/DTD/DTDElementDecl.hpp:239:
error: previous
declaration `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::DTDElementDecl*&)' here
In file included from
/usr/include/xercesc/validators/DTD/DocTypeHandler.hpp:102,
from
/usr/include/xercesc/parsers/AbstractDOMParser.hpp:70,
from
/usr/include/xercesc/parsers/XercesDOMParser.hpp:66,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomReader.hxx:25,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XercesDomDocumentHandler.hxx:26,
from
/Users/Shared/Clam+SMS/CLAM-0.7.0/src/Storage/XML/XMLStorage.cxx:33:
/usr/include/xercesc/validators/DTD/DTDEntityDecl.hpp:153:
error: declaration
of C function `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::DTDEntityDecl*&)' conflicts with
/usr/include/xercesc/framework/XMLEntityDecl.hpp:411:
error: previous
declaration `xercesc_2_4::XSerializeEngine&
xercesc_2_4::operator>>(xercesc_2_4::XSerializeEngine&,
xercesc_2_4::XMLEntityDecl*&)' here
make: *** [obj/XMLStorage.o] Error 1
___________________________________________________________
Yahoo! Messenger - want a free and easy way to contact your friends online? http://uk.messenger.yahoo.com
More information about the clam-users
mailing list