There is no LIBS variable in the MakefileActually it _is_ there.
Did you mean CLAMD_LIBS or LIBCLAMAV_LIBS?
-Troy
From CVS today (devel-20031204)
When compiling clam with --enable-milter I get this error:
/home/userx/clamav-devel/clamd/cfgfile.c:108: undefined reference to `cli_strtok' /home/userx/clamav-devel/clamd/cfgfile.c:109: undefined reference to `cli_strtok' collect2: ld returned 1 exit status
Tomasz checked in my changes :-)
I cleaned up a little bit, and cli_strtok() is a new libclamav function. Now I see that the Makefile for milter is not created correctly. For now, please edit it manually and change the "LIBS" variable to:
LIBS = -L../libclamav -lclamav -L/usr/lib/libmilter -lmilter -lpthread
Tomasz, can you please update Makefile.in accordingly? I'm not an autoconf/automake guru :-(
Sorry, Thomas
If you have automake installed:
Add "-lclamav" right after "-L../libclamav" in clamav-milter/Makefile.am, and run autoconf and ./config.status in the source directory.
If you don't have automake, then change it in clamav-milter/Makefile.in accordingly, and run ./config.status.
Then a "make" should succeed (is does here).
Thomas
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users