On Fri, Jul 18, 2003 at 01:49:19PM -0700, Searcher Bite wrote:
> Hello list... I am going with the compiling problem.
>  
> I am sure that I have the pthreads.h headers but some options it says that do
> not appears, I have checked the header file and YES, that options (reference)
> appears.
>  
> What should I do to resolv that issue???
>  
> Bellow a message I got when compiling.

Your not linking with -lpthread hence the error your seeing.

Have your rerun the configure script part way through building when you
had the header troubles?

run make distclean in /home/searcherbite/src/av/clamav-0.60 and rerun
configure with the original args you were using.

This would also be a good opportunity to fetch clamav-20030705.tar.gz
which has some important bug fixes.

> -----------------------------------------------------------------------------------------------------
>  
>  
> 
> Making all in libclamav
> 
> make[1]: Entering directory `/home/searcherbite/src/av/clamav-0.60/libclamav'
> 
> make[1]: Nothing to be done for `all'.
> 
> make[1]: Leaving directory `/home/searcherbite/src/av/clamav-0.60/libclamav'
> 
> Making all in clamscan
> 
> make[1]: Entering directory `/home/searcherbite/src/av/clamav-0.60/clamscan'
> 
> /bin/sh ../libtool --mode=link gcc -g -O2 -o clamscan clamscan.o options.o
> getopt.o others.o manager.o treewalk.o -L../libclamav -lclamav
> 
> gcc -g -O2 -o .libs/clamscan clamscan.o options.o getopt.o others.o manager.o
> treewalk.o -L/home/searcherbite/src/av/clamav-0.60/libclamav /home/searcherbite
> /src/av/clamav-0.60/libclamav/.libs/libclamav.so -lz -lbz2 -Wl,--rpath -Wl,/usr
> /local/clamav060/lib
> 
> /home/searcherbite/src/av/clamav-0.60/libclamav/.libs/libclamav.so: undefined
> reference to `_pthread_cleanup_pop'
> 
> /home/searcherbite/src/av/clamav-0.60/libclamav/.libs/libclamav.so: undefined
> reference to `_pthread_cleanup_push'
> 
> collect2: ld returned 1 exit status
> 
> make[1]: *** [clamscan] Error 1
> 
> make[1]: Leaving directory `/home/searcherbite/src/av/clamav-0.60/clamscan'
> 
> make: *** [all-recursive] Error 1
> 
> -------------------------------------------------------------------------------
-- 
 Damien

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to