On Wed, 2005-09-21 at 14:59, Carol Overes wrote: > All, > > I've tried to install ClamAV-0.87 on a OpenBSD 3.6 system. During > compile time, I get these errors: > > output.o(.text+0x7f): In function `logg_close': > /root/source/clamav-0.87/clamscan/../shared/output.c:83: undefined > reference to `pthread_mutex_lock' > output.o(.text+0xae):/root/source/clamav-0.87/clamscan/../shared/output.c:90: > undefined reference to `pthread_mutex_unlock' > output.o(.text+0xfb): In function `logg': > /root/source/clamav-0.87/clamscan/../shared/output.c:116: undefined > reference to `pthread_mutex_lock' > output.o(.text+0x14d):/root/source/clamav-0.87/clamscan/../shared/output.c:123: > undefined reference to `pthread_mutex_unlock' > output.o(.text+0x1cd):/root/source/clamav-0.87/clamscan/../shared/output.c:134: > undefined reference to `pthread_mutex_unlock' > output.o(.text+0x308):/root/source/clamav-0.87/clamscan/../shared/output.c:162: > undefined reference to `pthread_mutex_unlock' > output.o(.text+0x3c7):/root/source/clamav-0.87/clamscan/../shared/output.c:185: > undefined reference to `pthread_mutex_unlock' > collect2: ld returned 1 exit status > *** Error code 1 > > Stop in /root/source/clamav-0.87/clamscan (line 290 of Makefile). > *** Error code 1 > > Stop in /root/source/clamav-0.87 (line 368 of Makefile). > *** Error code 1 > > Stop in /root/source/clamav-0.87 (line 227 of Makefile). > > I've tried to change in the configure files '-lc_r' to '-lpthread', but > didn't work out.
configure --disable-pthreads > > Anyone ideas ? > > Regards, > > Carol Overes > _______________________________________________ > http://lurker.clamav.net/list/clamav-users.html _______________________________________________ http://lurker.clamav.net/list/clamav-users.html
