Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2005 23:30:31 GMT
From:      Aaron Dalton <aaron@daltons.ca>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/82957: security/clamav will not build
Message-ID:  <200507032330.j63NUVr5018269@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/82957; it has been noted by GNATS.

From: Aaron Dalton <aaron@daltons.ca>
To: SAMUEL ISAAC LAWRANCE <samuel.lawrance@studentmail.newcastle.edu.au>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/82957: security/clamav will not build
Date: Sun, 03 Jul 2005 17:30:14 -0600

 SAMUEL ISAAC LAWRANCE wrote:
 > ----- 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
 > 
 
 Thank you for your reply.  Below is my make.conf.  Is there somewhere 
 else that overrides CPPFLAGS?
 
 Cheers!
 Aaron
 
 $ cat /etc/make.conf
 X_WINDOW_SYSTEM=xorg
 
 # added by use.perl 2005-06-26 20:17:29
 PERL_VER=5.8.7
 PERL_VERSION=5.8.7



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507032330.j63NUVr5018269>