[CLAM] SMStools, OSX Compile Problems

Ed Kelly morph_2016 at yahoo.co.uk
Fri May 13 08:32:56 PDT 2005


Hi,

It seems the one available from the website is the one
I was using anyway. I did try to compile 2.6 and 2.3,
but I didn't succeed in installing them. That's when I
copied xercesc/ from the website into /usr/include.

--- David Garcia Garzon <dgarcia at iua.upf.es> wrote:

> Have you compiled xerces yourself? why don't you try
> to download the xercesc 
> binaries in the clam download page?
> 
> 
> A Divendres 13 Maig 2005 16:35, Ed Kelly va
> escriure:
> > 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
> 
=== message truncated ===


Dr Edward Kelly
Research Assistant in Sonic Arts
London College of Communication
University of the Arts London


		
___________________________________________________________ 
How much free photo storage do you get? Store your holiday 
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com





More information about the clam-users mailing list