Hi, I have an old system I'm compiling. I have 0.102.3 working on it.
Here's the config line: CC=/usr/local/gcc4.2.4/bin/gcc ./configure --prefix=/usr/local/clamav --with-user=defang --with-group=defang --enable-llvm=no --with-openssl=/usr/local/ssl --with-pcre=/usr/local/pcre2 --with-zlib=/usr/local/zlib --with-xml=/usr/local/libxml2 --disable-clamonacc --disable-unrar I believe the relevant error info is below if anyone has advice. It's an old system and just trying to keep it limping a few more weeks. make[2]: Entering directory `/usr/src/clamav-0.102.4/libfreshclam' CC output.lo CC optparser.lo CC getopt.lo CC misc.lo In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/output.c:56: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/optparser.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC cdiff.lo In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/misc.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC tar.lo CC cert_util.lo In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/cdiff.c:40: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC libfreshclam.lo In file included from ../shared/cert_util.c:30: ../shared/cert_util.h:121:7: warning: no newline at end of file CC libfreshclam_internal.lo CC dns.lo In file included from libfreshclam.c:61: ../shared/cert_util.h:121:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from libfreshclam.c:65: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC cert_util_linux.lo In file included from libfreshclam_internal.c:85: ../shared/cert_util.h:121:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from libfreshclam_internal.c:88: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../shared/linux/cert_util_linux.c:32: ../shared/cert_util.h:121:7: warning: no newline at end of file OBJCLD libfreshclam.la make[2]: Leaving directory `/usr/src/clamav-0.102.4/libfreshclam' Making all in clamscan make[2]: Entering directory `/usr/src/clamav-0.102.4/clamscan' CC output.o CC optparser.o CC getopt.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/optparser.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC actions.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/actions.c:51: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/output.c:56: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC misc.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from ../shared/misc.c:48: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CC clamscan.o CC manager.o In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from clamscan.c:42: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file In file included from ../libclamav/execs.h:28, from ../libclamav/matcher.h:30, from ../libclamav/others.h:22, from manager.c:61: ../libclamav/pe_structs.h:159:7: warning: no newline at end of file CCLD clamscan actions.o: In function `traverse_to': ../shared/actions.c:328: undefined reference to `openat' actions.o: In function `traverse_unlink': ../shared/actions.c:568: undefined reference to `unlinkat' actions.o: In function `action_move': ../shared/actions.c:455: undefined reference to `renameat' collect2: ld returned 1 exit status make[2]: *** [clamscan] Error 1 make[2]: Leaving directory `/usr/src/clamav-0.102.4/clamscan' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/clamav-0.102.4' make: *** [all] Error 2 Regards, KAM _______________________________________________ clamav-users mailing list [email protected] https://lists.clamav.net/mailman/listinfo/clamav-users Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
