Any recomendations for sucessfully compiling 0.90 using FreeBSD 4.11 with GCC 3.4.6?
So far I tried the following: First Attempt $ make clean;./configure CC=gcc34 CFLAGS="-pthread -O3"; make /usr/libexec/elf/ld: cannot find -lpthread collect2: ld returned 1 exit status *** Error code 1 Stop in /usr/packages/clamav-0.90/libclamav. *** Error code 1 Stop in /usr/packages/clamav-0.90. *** Error code 1 Stop in /usr/packages/clamav-0.90. Second Attempt: $ make clean;./configure --disable-pthreads CC=gcc34 CFLAGS="-O3"; make creating clamconf Making all in database Making all in docs Making all in etc Making all in clamav-milter However when I disable 'pthreads' it doesn't compile ClamD or Clamdscan only libclamav. [/usr/packages/clamav-0.90/clamd]$ ls .deps dazukoio_compat12.c server.h Makefile dazukoio_compat12.h session.c Makefile.am dazukoio_xp.h session.h Makefile.in localserver.c shared.h clamd.c localserver.h tcpserver.c clamuko.c others.c tcpserver.h clamuko.h others.h thrmgr.c dazuko_xp.h scanner.c thrmgr.h dazukoio.c scanner.h dazukoio.h server-th.c [/usr/packages/clamav-0.90/clamdscan]$ ls .deps Makefile.am clamdscan.c client.h Makefile Makefile.in client.c defaults.h 0.88.7 compiled without any special flags. Thank You. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html