Subject: Re: problems compiling clamav
To: Hisashi T Fujinaka <htodd@twofifty.com>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 04/16/2004 07:51:57
On Thu, 15 Apr 2004, Hisashi T Fujinaka wrote:

: Making all in clamav-milter
: source='clamav-milter.c' object='clamav-milter.o' libtool=no  depfile='.deps/clamav-milter.Po' tmpdepfile='.deps/clamav-milter.TPo'  depmode=gcc3 /bin/sh ../depcomp  gcc -DHAVE_CONFIG_H -DSENDMAIL_BIN=\"/usr/sbin/sendmail\" -I. -I. -I.. -I../clamd -I../libclamav -I../clamscan   -I/usr/pkg/include -I/usr/include  -O2 -I/usr/pkg/include -I/usr/include -c `test -f 'clamav-milter.c' || echo './'`clamav-milter.c
: /bin/sh ../libtool --mode=link gcc  -O2 -I/usr/pkg/include -I/usr/include   -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o clamav-milter  clamav-milter.o ../clamd/cfgfile.o ../clamd/others.o ../clamscan/getopt.o -L../libclamav -lclamav -L/usr/lib/libmilter -lmilter -lpthread
: *** [buildlink3] Warning: libtool detected -L../libclamav
: *** [buildlink3] Warning: libtool replaced -lclamav with ../libclamav/libclamav.la
: mkdir .libs
: gcc -O2 -I/usr/obj/pkg/mail/clamav/work.i386/.buildlink/include -Wl,-R/usr/pkg/lib -o .libs/clamav-milter clamav-milter.o ../clamd/cfgfile.o ../clamd/others.o ../clamscan/getopt.o  ../libclamav/.libs/libclamav.so -L/usr/obj/pkg/mail/clamav/work.i386/.buildlink/lib -lz -lbz2 /usr/obj/pkg/mail/clamav/work.i386/.buildlink/lib/libgmp.so -L/disk/0/obj/pkg/mail/clamav/work.i386/clamav-0.68-1/libclamav -L/usr/lib/libmilter -lmilter -lpthread -Wl,--rpath -Wl,/usr/pkg/lib -Wl,--rpath -Wl,/usr/obj/pkg/mail/clamav/work.i386/.buildlink/lib
: clamav-milter.o(.text+0x128a): In function `clamfi_envfrom':
: : undefined reference to `strerror_r'

Sorry about that.  I forgot to commit a patchfile when updating to 0.68.1.
Fixed with the new patch-ae file.

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com>