I've got version 0.83 working beautifully on OpenBSD3.6 stable.
I built this using a slightly modified version of the port that
will be coming soon with OpenBSD3.7.  So I though I'd try building
version 0.84rc1 using much the same procedure.  However this fails
with linking errors:


cc -O2 -o .libs/clamd output.o cfgparser.o getopt.o memory.o misc.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 -pthread -pthread  
-L/usr/local/lib -L../libclamav/.libs -lclamav -lbz2 -lgmp -lcurl -lssl 
-lcrypto -lz -Wl,-rpath,/usr/local/lib
server-th.o(.text+0xd0a): In function `acceptloop_th':
: undefined reference to `cl_dup'
collect2: ld returned 1 exit status
*** Error code 1


The above is a consequence of the mention of cl_dup in line 523
of clamd/server-th.c:


518          if (!progexit && new_sd >= 0) {
519                  client_conn = (client_conn_t *) mmalloc(sizeof(struct cl
ient_conn_tag));
520                  client_conn->sd = new_sd;
521                  client_conn->options = options;
522                  client_conn->copt = copt;
523                  client_conn->root = cl_dup(root);


I can't find a subroutine called cl_dup.  Have I missed something
really obvious, or am I doing something blindingly stupid?

Alternatively can I alter line 523 to read:

523                  client_conn->root = root;

as is used in version 0.83?  It all seems to build if I make this
change.
-- 
Dennis Davis, BUCS, University of Bath, Bath, BA2 7AY, UK
[EMAIL PROTECTED]               Phone: +44 1225 386101
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to