* On 13/04/07 17:40 +0400, George Eliozov wrote: | 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!
And here is how it fails on my FreeBSD 4.11 (yes, I still use this for production): /bin/sh /usr/local/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/local/include -I/usr/include -I/ usr/local/include -O -pipe -c -o mbox.lo mbox.c cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./unrar -I/usr/local/include -I/usr/include -I/usr/local/include -O -pipe -c mbox.c -fPIC -DPIC -o .libs /mbox.o mbox.c: In function `rfc1341': mbox.c:3858: warning: passing arg 3 of `readdir_r' from incompatible pointer type mbox.c: In function `do_checkURLs': mbox.c:4092: `args' undeclared (first use in this function) mbox.c:4092: (Each undeclared identifier is reported only once mbox.c:4092: for each function it appears in.) *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.90.2/libclamav. *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.90.2. *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.90.2. *** Error code 1 Stop in /usr/ports/security/clamav. *** Error code 1 Stop in /usr/ports/security/clamav. -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington <[EMAIL PROTECTED]> Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Don't change the reason, just change the excuses! -- Joe Cointment _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html