Hello Török I don't link the lib libtool and I'm linking with libclamav.a
I tried with -lstdc++ and it works !!! Thank you very much !! Best regards, Nicolas Dumont. 2010/4/15 Török Edwin <edwinto...@gmail.com> > On 04/15/2010 04:00 PM, nicolas dumont wrote: > >> 2010/4/15 Török Edwin<ed...@clamav.net> >> >> 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 ) >> > > > Are you using libtool to link? > If not are you trying to link with libclamav.a, or libclamav.so? > If you're trying to link with libclamav.a you should add -lstdc++ to your > linker command-line, or use libtool to link against libclamav.la (which > will automatically add that). > Its recommended however that you link your daemon against libclamav.so, > then you don't need to rebuild it everytime libclamav is upgraded. > > > 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