2010/4/15 Török Edwin <[email protected]>

> On 04/15/2010 02:58 PM, nicolas dumont wrote:
>
>> Hello !
>>
>> I'm trying to compile clamav 0.96 on
>> FreeBSD 7.2 release
>> gcc 4.2.1
>>
>> and I have same kind of issue as Renato :
>>
>
> This looks like a different issue, does GCC complain about an internal
> error for you?


It's not an internal error and the libclamav is correctly compiled.

I've the errors when I try to link the libclamav with my own dameon ( same
way as for 0.95.3 )

I have a lot of errors like that :
clamav/work/clamav-0.96/libclamav/.libs/libclamav.a(LegalizeTypes.o)(.text+0x86a2):
In function `llvm::SelectionDAG::LegalizeTypes()':
: undefined reference to `operator delete(void*)'

and an other one :

clamav/work/clamav-0.96/libclamav/.libs/libclamav.a(LegalizeTypes.o)(.gnu.linkonce.t._ZN4llvm8DenseMapINS_7SDValueESt4pairIS1_S1_ENS_12DenseMapInfoIS1_EENS4_IS3_EEE4growEj+0x42):
In function `llvm::DenseMap<llvm::SDValue, std::pair<llvm::SDValue,
llvm::SDValue>, llvm::DenseMapInfo<llvm::SDValue>,
llvm::DenseMapInfo<std::pair<llvm::SDValue, llvm::SDValue> >
>::grow(unsigned int)':
: undefined reference to `operator new(unsigned int)'



>
>
>>  In function `(anonymous namespace)::LLVMCodegen::convertMDNode(unsigned
>> int)':
>> : undefined reference to `operator new[](unsigned int)'
>>
>> In function `(anonymous namespace)::LLVMCodegen::convertMDNode(unsigned
>> int)':
>> : undefined reference to `operator delete[](void*)'
>>
>
> What is the output of gcc -v, and g++ -v?


  gcc --v and g++ -v are the same :
Using built-in specs.
Target: i386-undermydesk-freebsd
Configured with: FreeBSD/i386 system compiler
Thread model: posix
gcc version 4.2.1 20070719  [FreeBSD]


>
> Best regards,
> --Edwin
> _______________________________________________
> http://lurker.clamav.net/list/clamav-devel.html
> Please submit your patches to our Bugzilla: http://bugs.clamav.net
>
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

Reply via email to