Hello All,

I've tried to compile the Clamav sources on SCO Unix 5.0.5 with the gcc compiler v 2.95.2 19991024 In the manual of clamav is described that it should compile with this but actually it doesn't.
I get first a message that strcasecmp is defined twice.
I've modified all strcasecmp' s in the code to strcasecmp1.
The error is gone, but then I get errors about the output.c file which is as far I see to be used to log output into the system log?
I get the following errors: (console output)

Making all in clamscan
/bin/ksh ../libtool --mode=link gcc -g -O2 -o clamscan output.o get opt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o tre ewalk.o ../libclamav/libclamav.la LD_RUN_PATH="/usr/local/lib:$LD_RUN_PATH" gcc -g -O2 -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o tre
ewalk.o  ../libclamav/.libs/libclamav.so /usr/lib/libz.so /usr/lib/libbz2.so
Undefined                       first referenced
symbol                             in file
std_syslog                          output.o
ntohl                               ../libclamav/.libs/libclamav.so
closelog                            output.o
.libs/clamscan: fatal error: Symbol referencing errors. No output written to .li
bs/clamscan
collect2: ld returned 1 exit status
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)

Would like to know how to resolve this.

With Kind Regards,

Frederik Hessels
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to