Hello list... me again with the same error...
Ok, I delete the pthread.h I had in /usr/local/include
Now, when I compile clamav 060 I got the next errors..
 

Making all in libclamav

make[1]: Entering directory `/home/administrator/src/av/clamav-0.60/libclamav'

make[1]: Nothing to be done for `all'.

make[1]: Leaving directory `/home/administrator/src/av/clamav-0.60/libclamav'

Making all in clamscan

make[1]: Entering directory `/home/administrator/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/administrator/src/av/clamav-0.60/libclamav /home/administrator/src/av/clamav-0.60/libclamav/.libs/libclamav.so -lz -lbz2 -Wl,--rpath -Wl,/usr/local/clamav060/lib

/home/administrator/src/av/clamav-0.60/libclamav/.libs/libclamav.so: undefined reference to `_pthread_cleanup_pop'

/home/administrator/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/administrator/src/av/clamav-0.60/clamscan'

make: *** [all-recursive] Error 1

I have check that the refence "_pthredad_cleanup_push" and exist them.
 
Best regards.
 
Sb

Damien Curtain <[EMAIL PROTECTED]> wrote:
On Tue, Jul 15, 2003 at 01:36:33PM -0700, Searcher Bite wrote:
> Hi list...
> I am trying to compile clam antivirus 0.60 in a Redhat 7.2 but I get the next
> errors.
> /usr/local/include/pthread.h:275: conflicting types for `pthread_t'

You really want to be using glibc's pthread headers _only_.

You want to use /usr/include/pthread.h rather than
/usr/local/include/pthread.h

> /usr/include/bits/pthreadtypes.h:140: previous declaration of `pthread_t'
> ..
> ..
> /usr/local/include/pthread.h:347: conflicting types for `pthread_kill'
> /usr/include/bits/sigthread.h:36: previous declaration of `pthread_kill'
> make[1]: *** [others.lo] Error 1
> make[1]: Leaving directory `/home/jmorales/src/av/clamav-0.60/libclamav'
> make: *** [all-recursive] Error 1
>
> What should I do to res olve that???

--
Damien

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


Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Reply via email to