ports/82957: security/clamav will not build
Aaron Dalton
aaron at daltons.ca
Sun Jul 3 23:30:31 UTC 2005
The following reply was made to PR ports/82957; it has been noted by GNATS.
From: Aaron Dalton <aaron at daltons.ca>
To: SAMUEL ISAAC LAWRANCE <samuel.lawrance at studentmail.newcastle.edu.au>
Cc: FreeBSD-gnats-submit at 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
More information about the freebsd-ports-bugs
mailing list