[CLAM] SMStools, OSX Compile Problems

Ed Kelly morph_2016 at yahoo.co.uk
Fri May 13 08:29:43 PDT 2005


--- 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?
> 
I unpacked the xercesc-xx-tar.gz file from the clam
download page, and set the XERCESCROOT environment
variable to the xercesc/ folder, and tried to
re-configure Clam. This time xerces failed, and it was
only after I went back to my original xercesc folder
in /usr/include that Clam configured properly.

And now I am back to square 1!

> 
> 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


	
	
		
___________________________________________________________ 
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