On Thu, 06 May 2004 19:55:01 +0200
Andrzej Migdalski <[EMAIL PROTECTED]> wrote:

> when compiling 20040506 clamav-devel snapshot i've got:
> 
> gcc -g -O2 -o .libs/clamscan output.o getopt.o memory.o clamscan.o 
> options.o others.o manager.o treewalk.o -L/blabla/clamav-devel/libclamav 
> /blabla/clamav-devel/libclamav/.libs/libclamav.so -lz -lbz2 -lgmp -lpthread
> /blabla/clamav-devel/libclamav/.libs/libclamav.so: undefined reference 
> to `messageAddLineAtTop'
> collect2: ld returned 1 exit status
> 

I have the same problem with clamav builds when new functions are added to libraries.  
Try changing the line to move '-L/blabla/clamav-devel/libclamav' to be after ../.libs/
After that object builds, just run make again.  I usually have to do this seven times.

Another option is to uninstall the existing clamav.  If you can do this, it is the 
simpler option.

Alex


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to