Internet Helpdesk wrote:

From CVS today (devel-20031204)

When compiling clam with --enable-milter I get this error:

gcc -g -O2 -o clamav-milter clamav-milter.o ../clamd/cfgfile.o
../clamd/others.o
../clamscan/getopt.o  -L/home/userx/clamav-devel/libclamav -L/usr/lib/libmil
ter -lmilter -lpthread
../clamd/cfgfile.o: In function `parsecfg':
/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
make[1]: *** [clamav-milter] Error 1
make[1]: Leaving directory `/home/t/tayers/clamav-devel/clamav-milter'
make: *** [all-recursive] Error 1

What's this about?
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 :-(


-Troy


Sorry,
   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

Reply via email to