On 18 Nov 2003, at 9:14 AM, Flinn Mueller wrote:
Please test this latest stable version (0.65) of clamav stable. There was a small work around in the Makefile of the port. It seems that the configure script was not detecting gmp2. I added -L${PREFIX}/lib to LDFLAGS and -I${PREFIX}/include to CFLAGS, and all seems to work. If anyone has a better fix let me know, I didn't really have time to play around with this port, so use at your own risk.
I get:-
/bin/sh ../libtool --mode=link cc -I/usr/local/include -pthread -L/usr/local/lib -o clamscan clamscan.o options.o getopt.o others.o manager.o treewalk.o -L../libclamav -lclamav
mkdir .libs
cc -I/usr/local/include -pthread -o clamscan clamscan.o options.o getopt.o others.o manager.o treewalk.o -lclamav -L/usr/local/lib -L/usr/home/abdulg/software/qmail/clamav/w-clamav-0.65/clamav-0.65/ libclamav -lclamav -lz -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib
clamscan.o: In function `clamscan':
clamscan.o(.text+0xb4): undefined reference to `cl_debug'
manager.o: In function `scanmanager':
manager.o(.text+0x26c): undefined reference to `cl_strerror'
manager.o(.text+0x2df): undefined reference to `cl_strerror'
manager.o(.text+0x370): undefined reference to `cl_strerror'
manager.o(.text+0x6d1): undefined reference to `cl_gentemp'
manager.o: In function `scancompressed':
manager.o(.text+0x14b8): undefined reference to `cl_gentemp'
manager.o: In function `scandenied':
manager.o(.text+0x2318): undefined reference to `cl_gentemp'
manager.o: In function `checkfile':
manager.o(.text+0x26db): undefined reference to `cl_strerror'
manager.o: In function `checkstdin':
manager.o(.text+0x27a5): undefined reference to `cl_strerror'
collect2: ld returned 1 exit status
*** Error code 1
Any ideas?
Thanks,
Abdul
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users