Hello all!

I am tiring to update clamav from clamav-0.90.1 to clamav-0.90.2.
Configure script complete successfully but when I run make, I get after
while:

gcc -g -O2 -o .libs/clamd output.o cfgparser.o getopt.o misc.o network.o
options.o clamd.o tcpserver.o localserver.o session.o thrmgr.o server-th.o
scanner.o others.o clamuko.o dazukoio_compat12.o dazukoio.o
-L/usr/local/lib ../libclamav/.libs/libclamav.so -liconv -lz -lbz2
/usr/local/lib/libgmp.so -Wl,--rpath -Wl,/usr/local/lib
network.o(.text+0x2b): In function `r_gethostbyname':
../shared/network.c:78: undefined reference to `gethostbyname_r'
thrmgr.o(.text+0xa5): In function `thrmgr_destroy':
/common/qmailrocks/clamav/clamav-0.90.2/clamd/thrmgr.c:127: undefined
reference to `pthread_attr_destroy'
thrmgr.o(.text+0x18b): In function `thrmgr_new':
/common/qmailrocks/clamav/clamav-0.90.2/clamd/thrmgr.c:168: undefined
reference to `pthread_attr_init'
thrmgr.o(.text+0x19d):/common/qmailrocks/clamav/clamav-0.90.2/clamd/thrmgr.c
:176: undefined reference to `pthread_attr_setdetachstate'
thrmgr.o(.text+0x1ed):/common/qmailrocks/clamav/clamav-0.90.2/clamd/thrmgr.c
:177: undefined reference to `pthread_attr_destroy'
thrmgr.o(.text+0x28b): In function `thrmgr_worker':
/common/qmailrocks/clamav/clamav-0.90.2/clamd/thrmgr.c:217: undefined
reference to `pthread_cond_timedwait'
thrmgr.o(.text+0x483): In function `thrmgr_dispatch':
/common/qmailrocks/clamav/clamav-0.90.2/clamd/thrmgr.c:290: undefined
reference to `pthread_create'
*** Error code 1

Stop in /common/qmailrocks/clamav/clamav-0.90.2/clamd.
*** Error code 1

Stop in /common/qmailrocks/clamav/clamav-0.90.2.
*** Error code 1

Stop in /common/qmailrocks/clamav/clamav-0.90.2.

Thanks!

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to