I have been using ClamAV on my Linux box (Cross Compiled Linux from Scratch; gcc 4.8.2) for years now and it always compiled well.

Now, compiling version 0.98.3 (and also in 0.98.2) I get the following compiling error:

  CC     libclamav_la-fp_sqr_comba_8.lo
  CC     libclamav_la-fp_sqr_comba_9.lo
  CC     libclamav_la-fp_sqr_comba_generic.lo
  CC     libclamav_la-fp_sqr_comba_small_set.lo
  CC     libclamav_la-fp_sqrmod.lo
  CC     libclamav_internal_utils_la-str.lo
  CC     libclamav_internal_utils_la-crypto.lo
  CC     libclamav_internal_utils_la-iowrap.lo
  CC     libclamav_internal_utils_la-others_common.lo
  CC     libclamav_internal_utils_la-qsort.lo
  CC     libclamav_internal_utils_la-regcomp.lo
  CC     libclamav_internal_utils_la-regerror.lo
  CC     libclamav_internal_utils_la-regexec.lo
  CC     libclamav_internal_utils_la-regfree.lo
  CCLD   libclamav_internal_utils.la
  CCLD   libclamav.la
/usr/lib/libxml2.so: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status
Makefile:969: recipe for target 'libclamav.la' failed
make[4]: *** [libclamav.la] Error 1
make[4]: Leaving directory '/j/development/clamav-0.98.3/libclamav'
Makefile:3011: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/j/development/clamav-0.98.3/libclamav'
Makefile:893: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/j/development/clamav-0.98.3/libclamav'
Makefile:649: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/j/development/clamav-0.98.3'
Makefile:477: recipe for target 'all' failed
make: *** [all] Error 2

Does anybody know how to get around this? I already recompiled libxml2 (v2.9.1) but the error persists.
ClamAV v0.98.1 still compiles perfectly.

Regards
Alexander
_______________________________________________
Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq
http://www.clamav.net/support/ml

Reply via email to