ports/82957: security/clamav will not build

SAMUEL ISAAC LAWRANCE samuel.lawrance at studentmail.newcastle.edu.au
Sun Jul 3 23:30:24 UTC 2005


The following reply was made to PR ports/82957; it has been noted by GNATS.

From: SAMUEL ISAAC LAWRANCE <samuel.lawrance at studentmail.newcastle.edu.au>
To: Aaron Dalton <aaron at daltons.ca>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: ports/82957: security/clamav will not build
Date: Mon, 04 Jul 2005 08:49:21 +1000

 ----- Original Message -----
 > cc -O -pipe -mcpu=pentiumpro -o .libs/clamscan output.o getopt.o 
 > memory.o 
 > cfgparser.o misc.o clamscan.o options.o others.o manager.o 
 > treewalk.o  
 > -L/usr/local/lib ../libclamav/.libs/libclamav.so -lz -lbz2 -lgmp 
 > -Wl,--rpath -Wl,/usr/local/lib
 > ../libclamav/.libs/libclamav.so: undefined reference to 
 > `pthread_cleanup_pop'
 > ../libclamav/.libs/libclamav.so: undefined reference to 
 > `pthread_cleanup_push'
 > *** Error code 1
 
 "-mcpu=pentiumpro" looks a bit suspicious.  Are you overriding CFLAGS, 
 CPPFLAGS somewhere, like in make.conf?  I say this because the port sets
 
 CPPFLAGS+=	-I${LOCALBASE}/include \
 		${PTHREAD_CFLAGS}
 
 But the -pthread flag doesn't appear above (like it does on pointyhat, 
 for example).
 
 Cheers
 Sam
 



More information about the freebsd-ports-bugs mailing list