Hi,

I'm trying to build the -current clamav port on a -current (as of yesterday) i386 but I'm running into the following error:

/usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe -pthread -L/usr/lib -L/usr/local/lib -o clamscan output.o getopt.o memory.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o ../libclamav/libclamav.la
mkdir .libs
cc -O2 -pipe -pthread -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o options.o clamscan.o others.o manager.o treewalk.o -L/usr/lib -L/usr/local/lib -L../libclamav/.libs -lclamav -lcurl -lz -lcrypto -lssl -lgmp -lbz2 -liconv -Wl,-rpath,/usr/local/lib /usr/local/lib/libgmp.so.6.3: warning: vsprintf() is often misused, please use vsnprintf()
options.o(.text+0x115): In function `register_option':
: warning: strcpy() is almost always misused, please use strlcpy()
misc.o(.text+0x104): In function `freshdbdir':
: warning: sprintf() is often misused, please use snprintf()
options.o(.text+0x3b3): In function `opt_parse':
: warning: strcat() is almost always misused, please use strlcat()
manager.o(.text+0x326): In function `scanmanager':
: undefined reference to `cl_load'
manager.o(.text+0xb52): In function `scanmanager':
: undefined reference to `cl_load'
manager.o(.text+0xbcf): In function `scanmanager':
: undefined reference to `cli_ac_setdepth'
manager.o(.text+0x10f8): In function `move_infected':
: undefined reference to `cli_strrcpy'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /usr/ports/security/clamav/w-clamav-0.90/clamav-0.90/clamscan (line 306 of Makefile).
*** Error code 1

Stop in /usr/ports/security/clamav/w-clamav-0.90/clamav-0.90 (line 386 of Makefile).
*** Error code 1

Stop in /usr/ports/security/clamav/w-clamav-0.90/clamav-0.90 (line 245 of Makefile).
*** Error code 1

Stop in /usr/ports/security/clamav (line 2063 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/security/clamav (line 1373 of /usr/ports/infrastructure/mk/bsd.port.mk).

Thanks,

Jeff Ross

Reply via email to