FreeBSD Port: clamav-0.86

Břetislav Kubesa bretislav.kubesa at
Thu Jun 23 10:35:43 GMT 2005

Hello, I`m not able to compile clamav-0.86 {clamav-milter} on FreeBSD 5.4. 
Here is the output :

Making all in clamav-milter
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared  -I/usr/local/include 
  -O -pipe -march=pentium4 -c -o cfgparser.o `test -f 
'../shared/cfgparser.c' || echo './'`../shared/cfgparser.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared  -I/usr/local/include 
  -O -pipe -march=pentium4 -c -o getopt.o `test -f '../shared/getopt.c' || 
echo './'`../shared/getopt.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared  -I/usr/local/include 
  -O -pipe -march=pentium4 -c -o memory.o `test -f '../shared/memory.c' || 
echo './'`../shared/memory.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared  -I/usr/local/include 
  -O -pipe -march=pentium4 -c -o misc.o `test -f '../shared/misc.c' || echo 
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../clamd -I../libclamav -I../shared   -I/usr/local/include 
  -O -pipe -march=pentium4 -c clamav-milter.c
clamav-milter.c: In function `clamfi_gethostbyname':
clamav-milter.c:4261: warning: comparison between pointer and integer
/bin/sh /usr/local/bin/libtool15 --mode=link 
  -O -pipe -march=pentium4   -L/usr/local/lib  -pthread -o clamav-milter 
cfgparser.o  getopt.o  memory.o  misc.o  clamav-milter.o 
../libclamav/ -lmilter  -pthread -lwrap
mkdir .libs
cc -O -pipe -march=pentium4 -pthread -o .libs/clamav-milter cfgparser.o 
getopt.o memory.o misc.o clamav-milter.o -pthread  -L/usr/local/lib 
../libclamav/.libs/ -lbz2 -lgmp -lcurl -lssl -lcrypto -lz -lmilter 
 -pthread -lwrap -Wl,--rpath -Wl,/usr/local/lib
clamav-milter.o(.text+0x5f1e): In function `clamfi_gethostbyname':
: undefined reference to `gethostbyname_r'
*** Error code 1

Can you help me with this somehow please ? Previous version 0.85.1 worked 
without any troubles.

Thank you.


More information about the freebsd-ports mailing list