Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2005 19:43:30 +0000
From:      Craig Kleski <ckleski@mbc.edu>
To:        freebsd-questions@freebsd.org
Cc:        bsd <bsd@todoo.biz>, markun@onohara.to
Subject:   Re: Pthread Problem building clamav-0.86.1
Message-ID:  <200506261943.31248.ckleski@mbc.edu>
In-Reply-To: <61826D9F-6CF6-4FFF-A8C0-09E324C9F323@todoo.biz>
References:  <61826D9F-6CF6-4FFF-A8C0-09E324C9F323@todoo.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




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