[CLAM] linking

Paul Brossier piem-lists at altern.org
Wed Oct 8 02:01:54 PDT 2003


Hi all.

I am trying to build clam on debian unstable. I managed to configure clam 
using only debian packages. Only xercesc 1.7.0 was missing (only libxercesc1 
and libxercesc2x are in the pool, so i packaged libxercesc17, apt-getable at 
http://piem.homeip.net/~piem/debian/).

checking XERCESCROOT environment variable defined?... no
checking for xercesc headers; looking relative to CLAM... no
checking for xercesc headers; looking in standard locations...... yes
checking for xercesc library...... yes

Programs compile fine, but i have linking errors : 

...
obj/TopLevelProcessing.o(.text+0x11e0): In function 
`CLAM::Array<double>::DeleteElemInDataBuffer(int)':
../../../../src/Standard/Array.hxx:569: multiple definition of 
`CLAM::Array<double>::DeleteElemInDataBuffer(int)'
obj/AudioIOExample.o(.text+0x11e0):../../../../src/Standard/Array.hxx:569: 
first defined here
obj/TopLevelProcessing.o(.text+0x1220): In function 
`CLAM::Array<float>::CopyDataBlock(int, int, float const*)':
../../../../src/Standard/Array.hxx:570: multiple definition of 
`CLAM::Array<float>::CopyDataBlock(int, int, float const*)'
obj/AudioIOExample.o(.text+0x1220):../../../../src/Standard/Array.hxx:570: 
first defined here
...

Any ideas ?
Many thanks, Paul.




More information about the clam-users mailing list