From owner-freebsd-questions@FreeBSD.ORG Sun Jun 26 23:41:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56BDF16A41C for ; Sun, 26 Jun 2005 23:41:43 +0000 (GMT) (envelope-from ckleski@mbc.edu) Received: from mbc.edu (mail.mbc.edu [216.57.240.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02C3E43D1F for ; Sun, 26 Jun 2005 23:41:42 +0000 (GMT) (envelope-from ckleski@mbc.edu) DomainKey-Signature: a=rsa-sha1; s=MDaemon; d=mbc.edu; c=simple; q=dns; h=from:message-id; b=OEAP2MUxXPstOuSrPc+XsCx9yYA2+TfyKxjj063XJEyy5l++/pz7OxGjniW2nuNx7yS2rwRq1tDREdHac/NNjWt+vCceCl/XSOD53fIGr7RhAJ03XIihM+Iuic6H3FnqfxWTp+TV6HpfaAXPltIRY79MQZBmjuiwkVFCkocVDVo=; Received: from [192.168.0.100] by mbc.edu (Cipher TLSv1:RC4-MD5:128) (MDaemon.PRO.v8.0.3.R) with ESMTP id md50005513740.msg for ; Sun, 26 Jun 2005 19:41:40 -0400 X-ClamAV: PASS From: Craig Kleski To: freebsd-questions@freebsd.org Date: Sun, 26 Jun 2005 19:43:30 +0000 User-Agent: KMail/1.8 References: <61826D9F-6CF6-4FFF-A8C0-09E324C9F323@todoo.biz> In-Reply-To: <61826D9F-6CF6-4FFF-A8C0-09E324C9F323@todoo.biz> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200506261943.31248.ckleski@mbc.edu> X-SortMonster-MessageSniffer-Message: md50005513740.msg X-SortMonster-MessageSniffer-Rules: tgibseut-MDPv0.53b (SNFv2-3.1i2) No patterns matched. X-SortMonster-MessageSniffer-Result: 0 X-Authenticated-Sender: ckleski@mbc.edu X-Spam-Processed: mail.mbc.edu, Sun, 26 Jun 2005 19:41:40 -0400 (not processed: message from trusted or authenticated source) X-Lookup-Warning: HELO/EHLO lookup on 192.168.0.100 does not match 65.202.151.105 X-MDRemoteIP: 65.202.151.105 X-Return-Path: ckleski@mbc.edu X-MDaemon-Deliver-To: freebsd-questions@freebsd.org X-MDAV-Processed: mail.mbc.edu, Sun, 26 Jun 2005 19:41:41 -0400 Cc: bsd , markun@onohara.to Subject: Re: Pthread Problem building clamav-0.86.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2005 23:41:43 -0000 On Sunday 26 June 2005 09:45 pm, bsd wrote: > Hello, > > I have built on my test machine the latest version of clamav and I am > facing a pthread build problem. > > My system is FreeBSD 5.2.1 // > > I ain't no C programmer (unfortunately) so any help will be welcome. > > Another question is how can I get back to the previous version that > was installed (and working) on the system ? > > > Sincerly yours; > > > > =3D=3D=3D> Building for clamav-0.86.1 > make all-recursive > Making all in libclamav > Making all in clamscan > /bin/sh /usr/local/bin/libtool15 --mode=3Dlink cc -O -pipe - > mcpu=3Dpentiumpro -L/usr/local/lib -lc_r -lldap -o clamscan > output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o > others.o manager.o treewalk.o ../libclamav/libclamav.la > cc -O -pipe -mcpu=3Dpentiumpro -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 -lldap - > lbz2 -lgmp -lcurl -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib > ../libclamav/.libs/libclamav.so: undefined reference to > `pthread_cleanup_pop' > ../libclamav/.libs/libclamav.so: undefined reference to > `pthread_create' ../libclamav/.libs/libclamav.so: undefined reference > to > `pthread_cleanup_push' > ../libclamav/.libs/libclamav.so: undefined reference to > `pthread_join' *** Error code 1 > > Stop in /usr/ports/security/clamav/work/clamav-0.86.1/clamscan. > *** Error code 1 > > Stop in /usr/ports/security/clamav/work/clamav-0.86.1. > *** Error code 1 > > Stop in /usr/ports/security/clamav/work/clamav-0.86.1. > *** Error code 1 > > Stop in /usr/ports/security/clamav. > *** Error code 1 > > Stop in /usr/ports/security/clamav. > > > ________________________________________________ > =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB= ?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz > ________________________________________________ > =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB= ?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 > =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Possible solution: alter the Makefile LDFLAGS by adding "-lpthread" =20 Then try the build again.