On Sun, Oct 02, 2005 at 11:52:40AM -0500, the unit calling itself C. Bensend 
wrote:
> > I get the following errors when trying to make clamav v0.87 from the
> > -stable ports tree:
> 
> You sure you're using -STABLE?  I mean, are you absolutely sure that
> your source tree is what you _think_ it is?
> 
> I built 0.87 on 3.7-STABLE just last night, flawlessly.  I don't think
> your checkout is what you think it is.

Good thought - here's what I've got... any ideas?

Here's how I've updated my ports tree:
 # setenv CVSROOT [EMAIL PROTECTED]:/cvs
 # cd /usr/ports
 # cvs -d $CVSROOT -q up -rOPENBSD_3_7 -Pd

Here's how I've updated my source tree:
 # setenv CVSROOT [EMAIL PROTECTED]:/cvs
 # cd /usr/src
 # cvs -d $CVSROOT -q up -rOPENBSD_3_7 -Pd

I verified I've got a 3.7 ports tree by:
 # cd /usr/ports/CVS
 # cat Tag
 TOPENBSD_3_7

& in the source tree:
 # cd /usr/src/CVS
 # cat Tag
 TOPENBSD_3_7

& in clamav:
 # cd /usr/ports/security/clamav/CVS
 # cat Tag
 TOPENBSD_3_7

& in /usr/ports/security/clamav/Makefile:
 # cat Makefile
 # $OpenBSD: Makefile,v 1.3.2.3 2005/09/28 17:37:57 sturm Exp $
 
 COMMENT=                "free virus scanner"
 DISTNAME=               clamav-0.87
 ...

When I build clamav:

 # cd /usr/ports/security/clamav
 # make
 ===>  Building for clamav-0.87
 make  all-recursive
 Making all in libclamav
 Making all in clamscan
 Making all in clamd
 /bin/sh ../libtool --mode=link cc  -O2 -pipe   -L/usr/lib 
 -L/usr/local/lib -o clamd  output.o  cfgparser.o getopt.o  memory.o 
 misc.o  options.o clamd.o  tcpserver.o localserver.o  session.o 
 thrmgr.o  
 server-th.o scanner.o  others.o clamuko.o  dazukoio_compat12.o  
 dazukoio.o  ../libclamav/libclamav.la  -pthread -pthread
 cc -O2 -pipe -o .libs/clamd output.o cfgparser.o getopt.o memory.o 
 misc.o options.o clamd.o tcpserver.o localserver.o session.o thrmgr.o 
 server-th.o scanner.o others.o clamuko.o dazukoio_compat12.o dazukoio.o 
 -pthread -pthread  -L/usr/lib -L/usr/local/lib -L../libclamav/.libs 
 -lclamav -lbz2 -lgmp -lcurl -lssl -lcrypto -lz 
 -Wl,-rpath,/usr/local/lib
 misc.o(.text+0xcb): In function `freshdbdir':
 : warning: sprintf() is often misused, please use snprintf()
 /usr/local/lib/libgmp.so.6.3: warning: vsprintf() is often misused, 
 please use vsnprintf()
 server-th.o(.text+0x98a): In function `acceptloop_th':
 : undefined reference to `cl_dup'
 collect2: ld returned 1 exit status
 *** Error code 1

 Stop in /usr/ports/security/clamav/w-clamav-0.87/clamav-0.87/clamd 
 (line 
 322 of Makefile).
 *** Error code 1

 Stop in /usr/ports/security/clamav/w-clamav-0.87/clamav-0.87 (line 368 
 of Makefile).
 *** Error code 1

 Stop in /usr/ports/security/clamav/w-clamav-0.87/clamav-0.87 (line 227 
 of Makefile).
 *** Error code 1

 Stop in /usr/ports/security/clamav (line 1769 of 
 /usr/ports/infrastructure/mk/bsd.port.mk). 

Reply via email to