Dear List, Compilation of ClamAV 0.98 fails on AIX 6.1 with gcc 4.2.0.
make all-recursive Making all in libltdl cp ./argz_.h argz.h-t mv argz.h-t argz.h make all-am CC dlopen.lo CCLD dlopen.la CC libltdlc_la-preopen.lo CC libltdlc_la-lt__alloc.lo CC libltdlc_la-lt_dlloader.lo CC libltdlc_la-lt_error.lo CC libltdlc_la-ltdl.lo CC libltdlc_la-slist.lo CC argz.lo CC lt__strl.lo CCLD libltdlc.la Target "all-am" is up to date. Making all in libclamav make all-recursive CC libclamav_la-matcher-ac.lo CC libclamav_la-matcher-bm.lo CC libclamav_la-matcher-hash.lo CC libclamav_la-matcher.lo CC libclamav_la-others.lo In file included from others.c:60: clamav.h:32:1: warning: "STAT" redefined In file included from /usr/include/dirent.h:35, from others.c:36: /usr/include/sys/dir.h:270:1: warning: this is the location of the previous definition CC libclamav_la-readdb.lo In file included from readdb.c:42: clamav.h:32:1: warning: "STAT" redefined In file included from /usr/include/dirent.h:35, from readdb.c:32: /usr/include/sys/dir.h:270:1: warning: this is the location of the previous definition CC libclamav_la-cvd.lo CC libclamav_la-dsig.lo CC libclamav_la-scanners.lo In file included from scanners.c:51: clamav.h:32:1: warning: "STAT" redefined In file included from /usr/include/dirent.h:35, from scanners.c:41: /usr/include/sys/dir.h:270:1: warning: this is the location of the previous definition CC libclamav_la-textdet.lo CC libclamav_la-filetypes.lo CC libclamav_la-rtf.lo CC libclamav_la-blob.lo CC libclamav_la-mbox.lo mbox.c: In function 'rfc1341': mbox.c:2816: error: called object '1' is not a function make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. Any hints to resolve this issue. The same gcc was used to compile 0.97.8 and it had worked. -- Regards Anant ------------------------------------------------------------------------------ Confidentiality Notice: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. ------------------------------------------------------------------------------ _______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml