Hi List

i get a compile error on FreeBSD 4.8

 i have 3 production Server running under FreeBSD 4.8

what to do ?

[snip]
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  
../libclamav/.libs/libclamav.so -lz -lbz2 -lgmp -Wl,--rpath 
-Wl,/usr/local/lib
network.o: In function `r_gethostbyname':
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/../shared/network.c(.text+0x2c):
 
undefined reference to `gethostbyname_r'
session.o: In function `command':
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/session.c(.text+0x279): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/session.c(.text+0x2aa): 
undefined reference to `pthread_mutex_unlock'
thrmgr.o: In function `thrmgr_destroy':
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:101: 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:109: 
undefined reference to `pthread_cond_broadcast'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:115: 
undefined reference to `pthread_cond_wait'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:120: 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:116: 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:125: 
undefined reference to `pthread_mutex_destroy'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:126: 
undefined reference to `pthread_cond_destroy'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:127: 
undefined reference to `pthread_attr_destroy'
thrmgr.o: In function `thrmgr_new':
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:160: 
undefined reference to `pthread_mutex_init'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:161: 
undefined reference to `pthread_cond_init'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:168: 
undefined reference to `pthread_attr_init'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:169: 
undefined reference to `pthread_cond_destroy'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:170: 
undefined reference to `pthread_mutex_destroy'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:176: 
undefined reference to `pthread_attr_setdetachstate'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:177: 
undefined reference to `pthread_attr_destroy'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:178: 
undefined reference to `pthread_cond_destroy'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:179: 
undefined reference to `pthread_mutex_destroy'
thrmgr.o: In function `thrmgr_worker':
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:206: 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:217: 
undefined reference to `pthread_cond_timedwait'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:229: 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:240: 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:248: 
undefined reference to `pthread_cond_broadcast'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c:250: 
undefined reference to `pthread_mutex_unlock'
thrmgr.o: In function `thrmgr_dispatch':
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c(.text+0x45b): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c(.text+0x47f): 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c(.text+0x4ae): 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c(.text+0x4d9): 
undefined reference to `pthread_create'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c(.text+0x503): 
undefined reference to `pthread_cond_signal'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/thrmgr.c(.text+0x50c): 
undefined reference to `pthread_mutex_unlock'
server-th.o: In function `scanner_thread':
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0x23): 
undefined reference to `pthread_sigmask'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xad): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xf8): 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0x10d): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0x124): 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0x147): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0x162): 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0x16f): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0x18b): 
undefined reference to `pthread_mutex_unlock'
server-th.o: In function `acceptloop_th':
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xb25): 
undefined reference to `pthread_mutex_init'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xb34): 
undefined reference to `pthread_mutex_init'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xd00): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xd29): 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xd3d): 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xda5): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xdbc): 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xdde): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xe47): 
undefined reference to `pthread_mutex_unlock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xea5): 
undefined reference to `pthread_mutex_lock'
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/server-th.c(.text+0xecc): 
undefined reference to `pthread_mutex_unlock'
scanner.o: In function `multiscanfile':
/usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd/scanner.c(.text+0x518): 
undefined reference to `pthread_sigmask'
*** Error code 1

Stop in /usr/home/its-h.de/varius/clamav/clamav-0.90.2/clamd.
*** Error code 1

Stop in /usr/home/its-h.de/varius/clamav/clamav-0.90.2.
*** Error code 1

Stop in /usr/home/its-h.de/varius/clamav/clamav-0.90.2.

thank u for any help

Matthias

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

Reply via email to