Hi Tsutomu,

It looks like you are seeing a similar issue to what these folks had when 
building libtool on Solaris:
https://forums.gentoo.org/viewtopic-t-1080858-start-0.html

Here the user solved it by changing the NM environment variable: 
https://lists.gnu.org/archive/html/libtool/2012-11/msg00014.html

Ex:
    NM=/usr/xpg4/bin/nm\ \-p
    export NM

For Solaris 10 in the past, we've found that if you're not using the OpenCSW 
tools you need to use gnm (gnu's nm utility).  The same is probably true for 
AIX.  
Please install gnm and give this a try (I've made the assumption that it'll 
install to /usr/local.  Of course adjust the path as needed. I'm not sure if 
the "-p" argument is required:

    ./configure NM=/usr/local/bin/gnm AR="/usr/bin/ar -X64" LDFLAGS="-maix64 
-Wl,-bbigtoc -lbsd -lclamav" CFLAGS="-maix64" CXXFLAGS="-maix64" 
LDFLAGS="-maix64 -Wl,-bbigtoc -lbsd" --prefix=/usr/lib/clamav 
--exec-prefix=/usr/lib/clamav --bindir=/usr/lib/clamav 
--sbindir=/usr/lib/clamav --sysconfdir=/etc/clamav --libdir=/usr/lib/clamav 
--datarootdir=/usr/lib/clamav --with-dbdir=/usr/lib/clamav --disable-clamav 
--enable-shared --disable-static --disable-zlib-vcheck --with-pcre 
--with-openssl=/opt/freeware --enable-strni

Regards,
Micah   

On 8/12/19, 10:04 PM, "clamav-users on behalf of Tsutomu Oyamada" 
<clamav-users-boun...@lists.clamav.net on behalf of oyam...@promark-inc.com> 
wrote:

    Hi, all
    
    I am trying to build ClamAV 0.101.3 on AIX6.1.
    I did the following procedure, but it fails to make.
    What can I do?
    Excuse me in a long sentence below.
    
    1. Download clamav-0.101.3.tar.gz package.
    2. Extract package.
    3. Execute configure
    
    AR="/usr/bin/ar -X64" LDFLAGS="-maix64 -Wl,-bbigtoc -lbsd -lclamav"
    ./configure CFLAGS="-maix64" CXXFLAGS="-maix64" LD
    FLAGS="-maix64 -Wl,-bbigtoc -lbsd" --prefix=/usr/lib/clamav 
--exec-prefix=/usr/lib/clamav --bindir=/usr/lib/clamav --sbindir=/us
    r/lib/clamav --sysconfdir=/etc/clamav --libdir=/usr/lib/clamav 
--datarootdir=/usr/lib/clamav --with-dbdir=/usr/lib/clamav --disa
    ble-clamav --enable-shared --disable-static --disable-zlib-vcheck 
--with-pcre --with-openssl=/opt/freeware --enable-strni
    
    checking for g++... g++
    checking whether the C++ compiler works... yes
    checking for C++ compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C++ compiler... yes
    checking whether g++ accepts -g... yes
    checking build system type... powerpc-ibm-aix6.1.0.0
    checking host system type... powerpc-ibm-aix6.1.0.0
    checking target system type... powerpc-ibm-aix6.1.0.0
    creating target.h - canonical system defines
    checking for a BSD-compatible install... config/install-sh -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... config/install-sh -c -d
    checking for gawk... no
    checking for mawk... no
    checking for nawk... nawk
    checking whether make sets $(MAKE)... yes
    checking for style of include used by make... GNU
    checking whether make supports nested variables... yes
    checking whether UID '0' is supported by ustar format... yes
    checking whether GID '0' is supported by ustar format... yes
    checking how to create a ustar tar archive... gnutar
    checking dependency style of g++... gcc3
    checking whether make supports nested variables... (cached) yes
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking whether gcc understands -c and -o together... yes
    checking dependency style of gcc... gcc3
    checking the archiver (/usr/bin/ar -X64) interface... ar
    checking how to run the C preprocessor... gcc -E
    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking minix/config.h usability... no
    checking minix/config.h presence... no
    checking for minix/config.h... no
    checking whether it is safe to define __EXTENSIONS__... yes
    checking how to print strings... print -r
    checking for a sed that does not truncate output... /usr/bin/sed
    checking for fgrep... /usr/bin/grep -F
    checking for ld used by gcc... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... no
    checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
    checking the name lister (/usr/bin/nm -B) interface... BSD nm
    checking whether ln -s works... yes
    checking the maximum length of command line arguments... 786432
    checking how to convert powerpc-ibm-aix6.1.0.0 file names to 
powerpc-ibm-aix6.1.0.0 format... func_convert_file_noop
    checking how to convert powerpc-ibm-aix6.1.0.0 file names to toolchain 
format... func_convert_file_noop
    checking for /usr/bin/ld option to reload object files... -r
    checking for objdump... no
    checking how to recognize dependent libraries... pass_all
    checking for dlltool... no
    checking how to associate runtime and link libraries... print -r --
    checking for archiver @FILE support... no
    checking for strip... strip
    checking for ranlib... ranlib
    checking command to parse /usr/bin/nm -B output from gcc object... failed
    checking for sysroot... no
    checking for a working dd... /usr/bin/dd
    checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
    checking for mt... mt
    checking if mt is a manifest tool... no
    checking for dlfcn.h... yes
    checking which variant of shared library versioning to provide... aix
    checking for objdir... .libs
    checking if gcc supports -fno-rtti -fno-exceptions... no
    checking for gcc option to produce PIC... -fPIC -DPIC
    checking if gcc PIC flag -fPIC -DPIC works... yes
    checking if gcc static flag -static works... no
    checking if gcc supports -c -o file.o... yes
    checking if gcc supports -c -o file.o... (cached) yes
    checking whether the gcc linker (/usr/bin/ld) supports shared libraries... 
yes
    checking dynamic linker characteristics... AIX lib.a(lib.so.V)
    checking how to hardcode library paths into programs... immediate
    checking for shl_load... no
    checking for shl_load in -ldld... no
    checking for dlopen... yes
    checking whether a program can dlopen itself... yes
    checking whether a statically linked program can dlopen itself... yes
    checking whether stripping libraries is possible... no
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking how to run the C++ preprocessor... g++ -E
    checking for ld used by g++... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... no
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... 
yes
    checking for g++ option to produce PIC... -fPIC -DPIC
    checking if g++ PIC flag -fPIC -DPIC works... yes
    checking if g++ static flag -static works... no
    checking if g++ supports -c -o file.o... yes
    checking if g++ supports -c -o file.o... (cached) yes
    checking whether the g++ linker (/usr/bin/ld) supports shared libraries... 
yes
    checking dynamic linker characteristics... AIX lib.a(lib.so.V)
    checking how to hardcode library paths into programs... immediate
    checking what extension is used for runtime loadable modules... .so
    checking what variable specifies run-time module search path... LIBPATH
    checking for the default library search path... /lib /usr/lib
    checking for library containing dlopen... none required
    checking for dlerror... yes
    checking for shl_load... (cached) no
    checking for shl_load in -ldld... (cached) no
    checking for dld_link in -ldld... no
    checking for _ prefix in compiled symbols... no
    checking whether deplibs are loaded by dlopen... yes
    checking for argz.h... no
    checking for error_t... no
    checking for argz_add... no
    checking for argz_append... no
    checking for argz_count... no
    checking for argz_create_sep... no
    checking for argz_insert... no
    checking for argz_next... no
    checking for argz_stringify... no
    checking whether libtool supports -dlopen/-dlpreopen... no
    checking for ltdl.h... no
    checking where to find libltdl headers... -I$(top_srcdir)/libltdl
    checking where to find libltdl library... 
$(top_build_prefix)libltdl/libltdlc.la
    checking for unistd.h... (cached) yes
    checking for dl.h... no
    checking for sys/dl.h... no
    checking for dld.h... no
    checking for mach-o/dyld.h... no
    checking for dirent.h... yes
    checking for closedir... yes
    checking for opendir... yes
    checking for readdir... yes
    checking for strlcat... no
    checking for strlcpy... no
    checking for pkg-config... /usr/bin/pkg-config
    checking pkg-config is at least version 0.16... Could not load program 
pkg-config_64:
    Symbol resolution failed for pkg-config_64 because:
            Symbol g_strcmp0 (number 35) is not exported from dependent
              module /usr/lib/libglib-2.0.a[libglib-2.0.so.0].
            Symbol g_assertion_message_expr (number 48) is not exported from 
dependent
              module /usr/lib/libglib-2.0.a[libglib-2.0.so.0].
    Examine .loader section symbols with the 'dump -Tv' command.
    no
    checking for gcc... (cached) gcc
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether gcc accepts -g... (cached) yes
    checking for gcc option to accept ISO C89... (cached) none needed
    checking whether gcc understands -c and -o together... (cached) yes
    checking dependency style of gcc... (cached) gcc3
    checking for flex... no
    checking for lex... no
    checking for bison... no
    checking for byacc... no
    checking whether ln -s works... yes
    checking whether make sets $(MAKE)... (cached) yes
    checking for cos in -lm... yes
    checking for stdint.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking sys/int_types.h usability... no
    checking sys/int_types.h presence... no
    checking for sys/int_types.h... no
    checking for dlfcn.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking sys/inttypes.h usability... yes
    checking sys/inttypes.h presence... yes
    checking for sys/inttypes.h... yes
    checking sys/times.h usability... yes
    checking sys/times.h presence... yes
    checking for sys/times.h... yes
    checking for memory.h... (cached) yes
    checking ndir.h usability... no
    checking ndir.h presence... no
    checking for ndir.h... no
    checking for stdlib.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for string.h... (cached) yes
    checking sys/mman.h usability... yes
    checking sys/mman.h presence... yes
    checking for sys/mman.h... yes
    checking sys/param.h usability... yes
    checking sys/param.h presence... yes
    checking for sys/param.h... yes
    checking for sys/stat.h... (cached) yes
    checking for sys/types.h... (cached) yes
    checking malloc.h usability... yes
    checking malloc.h presence... yes
    checking for malloc.h... yes
    checking poll.h usability... yes
    checking poll.h presence... yes
    checking for poll.h... yes
    checking limits.h usability... yes
    checking limits.h presence... yes
    checking for limits.h... yes
    checking sys/filio.h usability... no
    checking sys/filio.h presence... no
    checking for sys/filio.h... no
    checking sys/uio.h usability... yes
    checking sys/uio.h presence... yes
    checking for sys/uio.h... yes
    checking termios.h usability... yes
    checking termios.h presence... yes
    checking for termios.h... yes
    checking stdbool.h usability... yes
    checking stdbool.h presence... yes
    checking for stdbool.h... yes
    checking pwd.h usability... yes
    checking pwd.h presence... yes
    checking for pwd.h... yes
    checking grp.h usability... yes
    checking grp.h presence... yes
    checking for grp.h... yes
    checking sys/queue.h usability... yes
    checking sys/queue.h presence... yes
    checking for sys/queue.h... yes
    checking sys/cdefs.h usability... yes
    checking sys/cdefs.h presence... yes
    checking for sys/cdefs.h... yes
    checking syslog.h usability... yes
    checking syslog.h presence... yes
    checking for syslog.h... yes
    checking pthread.h usability... yes
    checking pthread.h presence... yes
    checking for pthread.h... yes
    checking for C/C++ restrict keyword... __restrict
    checking for an ANSI C-conforming const... yes
    checking for inline... inline
    checking whether byte ordering is bigendian... yes
    checking for a supported version of gcc... ok (6.3.0)
    checking for gcc bug PR27603... ok, bug not present
    checking for gcc bug PR26763-2... ok, bug not present
    checking for valid code generation of CLI_ISCONTAINED... ok, bug not present
    checking for gcc bug PR28045... ok, bug not present
    checking for gcc bug PR37573... ok, bug not present
    checking for off_t... yes
    checking size of short... 2
    checking size of int... 4
    checking size of long... 8
    checking size of long long... 8
    checking size of void *... 8
    checking for ld --version-script... no
    checking whether uname(2) is POSIX... yes
    checking for bind in -lsocket... no
    checking for library containing gethostent... none required
    checking for poll... yes
    checking for setsid... yes
    checking for memcpy... yes
    checking for snprintf... yes
    checking for vsnprintf... yes
    checking for strerror_r... yes
    checking for strlcpy... (cached) no
    checking for strlcat... (cached) no
    checking for strcasestr... no
    checking for inet_ntop... yes
    checking for setgroups... yes
    checking for initgroups... yes
    checking for ctime_r... yes
    checking for mkstemp... yes
    checking for mallinfo... yes
    checking for madvise... yes
    checking for getnameinfo... yes
    checking for strndup... yes
    checking for strnlen... yes
    checking for strnstr... no
    checking for _LARGEFILE_SOURCE value needed for large files... no
    checking for working mmap... yes
    checking for sysconf(_SC_PAGESIZE)... yes
    checking for getpagesize()... yes
    checking for MAP_ANON(YMOUS)... MAP_ANONYMOUS
    checking for enable_extended_FILE_stdio... no
    checking for timegm... no
    checking for sysctlbyname... no
    checking for CHECK... no
    checking for ld used by GCC... /usr/bin/ld
    checking if the linker (/usr/bin/ld) is GNU ld... no
    checking for shared library run path origin... done
    checking check.h usability... no
    checking check.h presence... no
    checking for check.h... no
    configure: unable to compile/link with check
    checking for libxml2 installation... not found
    configure: ****** libxml2 support unavailable
    checking for OpenSSL installation... checking for CRYPTO_free in 
-lcrypto... yes
    checking for X509_VERIFY_PARAM_new in -lssl... yes
    checking for libjson installation... checking for pcre2-config... no
    checking for pcre-config... /usr/bin/pcre-config
    checking pcre-config version... 8.33
    configure: WARNING: pcre (original) detected. We recommend upgrading from 
pcre to pcre2 10.30 or later: http://www.pcre.org.
    checking for CVE-2017-7186... configure: WARNING: The installed pcre 
version may contain security bugs. Please upgrade to 8.41+
    or _preferably_ install pcre2 10.30+: http://www.pcre.org.
    configure: CFLAGS from pcre-config: -I/opt/freeware/include
    configure: LIBS from pcre-config: -L/opt/freeware/lib -lpcre
    checking pcre.h usability... yes
    checking pcre.h presence... yes
    checking for pcre.h... yes
    checking for pcre_compile in -lpcre... yes
    configure: Compiling and linking with pcre from /opt/freeware
    checking whether to enable maintainer-specific portions of Makefiles... no
    checking for zlib installation... /usr
    checking for inflateEnd in -lz... yes
    checking for gzopen in -lz... yes
    checking how to link with libbz2... -lbz2
    checking for BZ2_bzDecompressInit in -lbz2... yes
    checking bzlib.h usability... yes
    checking bzlib.h presence... yes
    checking for bzlib.h... yes
    checking for CVE-2008-1372... ok
    checking for CVE-2010-0405... ok
    checking for getaddrinfo... yes
    checking for SYSTEMD... no
    checking for SYSTEMD... no
    systemd is not supported
    ./configure[24337]: --variable=systemdsystemunitdir:  not found
    checking for systemd system unit installation directory... no
    checking for IPv6 support... yes
    checking for resolv.h... yes
    checking for dn_expand in std libs... yes
    checking whether setpgrp takes no argument... yes
    checking for libiconv_open in -liconv... yes
    checking for iconv... yes
    checking for pthread.h... (cached) yes
    checking whether in_port_t is defined... yes
    checking for in_addr_t definition... yes
    checking for sched_yield... yes
    checking for pthread_yield... no
    checking for readdir_r... support disabled
    checking for ctime_r... yes, and it takes 2 arguments
    checking for socklen_t... yes
    checking for structure packing via __attribute__((packed))... yes
    checking for type aligning via __attribute__((aligned))... yes
    checking that structure packing works... yes
    checking for fd_set... yes, found in sys/select.h
    checking default FD_SETSIZE value... 65534
    checking stat64... yes
    checking whether signed right shift is sign extended... yes
    checking for recvmsg... yes
    checking for sendmsg... yes
    checking for msg_control field in struct msghdr... yes
    checking BSD 4.4 / RFC2292 style fd passing... yes
    checking ncurses/ncurses.h usability... no
    checking ncurses/ncurses.h presence... no
    checking for ncurses/ncurses.h... no
    configure: unable to compile/link with ncurses
    checking ncurses.h usability... no
    checking ncurses.h presence... no
    checking for ncurses.h... no
    configure: unable to compile/link with ncurses
    checking curses.h usability... yes
    checking curses.h presence... yes
    checking for curses.h... yes
    checking linking with pdcurses... configure: unable to compile/link with 
pdcurses
    configure: WARNING: ****** not building clamdtop: ncurses not found
    checking for llvm-config... no
    checking LFS safe fts implementation... no
    checking for libcurl installation... configure: WARNING: libcurl not found 
or not requested by ./configure. Please use the web i
    nterface for submitting FPs/FNs.
    checking for special C compiler options needed for large files... no
    checking for _FILE_OFFSET_BITS value needed for large files... no
    checking for sys/int_types.h... (cached) no
    checking for inttypes.h... (cached) yes
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating libltdl/Makefile
    config.status: creating clamscan/Makefile
    config.status: creating database/Makefile
    config.status: creating docs/Makefile
    config.status: creating clamd/Makefile
    config.status: creating clamd/clamav-daemon.service
    config.status: creating clamd/clamav-daemon.socket
    config.status: creating clamdscan/Makefile
    config.status: creating clamsubmit/Makefile
    config.status: creating clamav-milter/Makefile
    config.status: creating freshclam/clamav-freshclam.service
    config.status: creating freshclam/Makefile
    config.status: creating sigtool/Makefile
    config.status: creating clamconf/Makefile
    config.status: creating etc/Makefile
    config.status: creating test/Makefile
    config.status: creating unit_tests/Makefile
    config.status: creating fuzz/Makefile
    config.status: creating clamdtop/Makefile
    config.status: creating clambc/Makefile
    config.status: creating libfreshclam/Makefile
    config.status: creating Makefile
    config.status: creating clamav-config
    config.status: creating libclamav.pc
    config.status: creating platform.h
    config.status: creating docs/man/clamav-milter.8
    config.status: creating docs/man/clamav-milter.conf.5
    config.status: creating docs/man/clambc.1
    config.status: creating docs/man/clamconf.1
    config.status: creating docs/man/clamd.8
    config.status: creating docs/man/clamd.conf.5
    config.status: creating docs/man/clamdscan.1
    config.status: creating docs/man/clamscan.1
    config.status: creating docs/man/freshclam.1
    config.status: creating docs/man/freshclam.conf.5
    config.status: creating docs/man/sigtool.1
    config.status: creating docs/man/clamdtop.1
    config.status: creating docs/man/clamsubmit.1
    config.status: creating clamav-types.h
    config.status: creating clamav-config.h
    config.status: clamav-config.h is unchanged
    config.status: creating libclammspack/config.h
    config.status: libclammspack/config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    checking that generated files are newer than configure... done
    configure: creating ./config.status
    config.status: creating libltdl/Makefile
    config.status: creating clamscan/Makefile
    config.status: creating database/Makefile
    config.status: creating docs/Makefile
    config.status: creating clamd/Makefile
    config.status: creating clamd/clamav-daemon.service
    config.status: creating clamd/clamav-daemon.socket
    config.status: creating clamdscan/Makefile
    config.status: creating clamsubmit/Makefile
    config.status: creating clamav-milter/Makefile
    config.status: creating freshclam/clamav-freshclam.service
    config.status: creating freshclam/Makefile
    config.status: creating sigtool/Makefile
    config.status: creating clamconf/Makefile
    config.status: creating etc/Makefile
    config.status: creating test/Makefile
    config.status: creating unit_tests/Makefile
    config.status: creating fuzz/Makefile
    config.status: creating clamdtop/Makefile
    config.status: creating clambc/Makefile
    config.status: creating libfreshclam/Makefile
    config.status: creating Makefile
    config.status: creating clamav-config
    config.status: creating libclamav.pc
    config.status: creating platform.h
    config.status: creating docs/man/clamav-milter.8
    config.status: creating docs/man/clamav-milter.conf.5
    config.status: creating docs/man/clambc.1
    config.status: creating docs/man/clamconf.1
    config.status: creating docs/man/clamd.8
    config.status: creating docs/man/clamd.conf.5
    config.status: creating docs/man/clamdscan.1
    config.status: creating docs/man/clamscan.1
    config.status: creating docs/man/freshclam.1
    config.status: creating docs/man/freshclam.conf.5
    config.status: creating docs/man/sigtool.1
    config.status: creating docs/man/clamdtop.1
    config.status: creating docs/man/clamsubmit.1
    config.status: creating clamav-types.h
    config.status: creating libclamav/Makefile
    config.status: creating clamav-config.h
    config.status: clamav-config.h is unchanged
    config.status: creating libclammspack/config.h
    config.status: libclammspack/config.h is unchanged
    config.status: executing depfiles commands
    config.status: executing libtool commands
    configure: Summary of detected features follows
                  OS          : aix6.1.0.0
                  pthreads    : yes (-lpthread)
    configure: Summary of miscellaneous features
                  check       : no (auto)
                  fanotify    : no (disabled)
                  fdpassing   : 1
                  IPv6        : yes
    configure: Summary of optional tools
                  clamdtop    :  (auto)
                  milter      : yes (disabled)
                  clamsubmit  : no (missing libjson-c-dev AND libcurl-devel. 
Use the website to submit FPs/FNs.) (disabled)
    configure: Summary of engine performance features
                  release mode: yes
                  llvm        : no (disabled)
                  mempool     : yes
    configure: Summary of engine detection features
                  bzip2       : ok
                  zlib        : /usr
                  unrar       : yes
                  preclass    : no (missing libjson-c-dev) (disabled)
                  pcre        : /opt/freeware
                  libmspack   : yes (Internal)
                  libxml2     : no
                  yara        : yes
                  fts         : yes (internal, libc's is not LFS compatible)
    configure: WARNING:
    ****** WARNING:
    ****** You are cross compiling to a different host or you are
    ****** linking to bugged system libraries or you have manually
    ****** disabled important configure checks.
    ****** Please be aware that this build may be badly broken.
    ****** DO NOT REPORT BUGS BASED ON THIS BUILD !!!
    
    4.export OBJEC_MODE=64
    5.make
    
    # make
            make  all-recursive
    Making all in libltdl
      GEN      libltdl/lt__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       lt__argz.lo
      CC       lt__strl.lo
      CCLD     libltdlc.la
    libtool:   error: not configured to extract global symbols from dlpreopened 
files
    Target "all-am" is up to date.
    Making all in libclamav
            make  all-recursive
      CXX      libclamunrar_la-archive.lo
      CXX      libclamunrar_la-arcread.lo
      CXX      libclamunrar_la-blake2s.lo
      CXX      libclamunrar_la-cmddata.lo
      CXX      libclamunrar_la-consio.lo
      CXX      libclamunrar_la-crc.lo
      CXX      libclamunrar_la-crypt.lo
      CXX      libclamunrar_la-dll.lo
      CXX      libclamunrar_la-encname.lo
      CXX      libclamunrar_la-errhnd.lo
      CXX      libclamunrar_la-extinfo.lo
      CXX      libclamunrar_la-extract.lo
      CXX      libclamunrar_la-filcreat.lo
      CXX      libclamunrar_la-file.lo
      CXX      libclamunrar_la-filefn.lo
      CXX      libclamunrar_la-filestr.lo
      CXX      libclamunrar_la-find.lo
      CXX      libclamunrar_la-getbits.lo
      CXX      libclamunrar_la-global.lo
      CXX      libclamunrar_la-hash.lo
      CXX      libclamunrar_la-headers.lo
      CXX      libclamunrar_la-isnt.lo
      CXX      libclamunrar_la-list.lo
      CXX      libclamunrar_la-match.lo
      CXX      libclamunrar_la-options.lo
      CXX      libclamunrar_la-pathfn.lo
      CXX      libclamunrar_la-qopen.lo
      CXX      libclamunrar_la-rar.lo
      CXX      libclamunrar_la-rarvm.lo
      CXX      libclamunrar_la-rawread.lo
      CXX      libclamunrar_la-rdwrfn.lo
      CXX      libclamunrar_la-recvol.lo
      CXX      libclamunrar_la-resource.lo
      CXX      libclamunrar_la-rijndael.lo
      CXX      libclamunrar_la-rs.lo
      CXX      libclamunrar_la-rs16.lo
      CXX      libclamunrar_la-scantree.lo
      CXX      libclamunrar_la-secpassword.lo
      CXX      libclamunrar_la-sha1.lo
      CXX      libclamunrar_la-sha256.lo
      CXX      libclamunrar_la-smallfn.lo
      CXX      libclamunrar_la-strfn.lo
      CXX      libclamunrar_la-strlist.lo
      CXX      libclamunrar_la-system.lo
      CXX      libclamunrar_la-threadpool.lo
      CXX      libclamunrar_la-timefn.lo
      CXX      libclamunrar_la-ui.lo
      CXX      libclamunrar_la-unicode.lo
      CXX      libclamunrar_la-unpack.lo
      CXX      libclamunrar_la-volume.lo
      CXXLD    libclamunrar.la
      CXX      unrar_iface.lo
      CXXLD    libclamunrar_iface.la
      CC       libclammspack_la-cabc.lo
      CC       libclammspack_la-cabd.lo
      CC       libclammspack_la-chmc.lo
      CC       libclammspack_la-chmd.lo
      CC       libclammspack_la-crc32.lo
      CC       libclammspack_la-hlpc.lo
      CC       libclammspack_la-hlpd.lo
      CC       libclammspack_la-kwajc.lo
      CC       libclammspack_la-kwajd.lo
      CC       libclammspack_la-litc.lo
      CC       libclammspack_la-litd.lo
      CC       libclammspack_la-lzssd.lo
      CC       libclammspack_la-lzxc.lo
      CC       libclammspack_la-lzxd.lo
      CC       libclammspack_la-mszipc.lo
      CC       libclammspack_la-mszipd.lo
      CC       libclammspack_la-oabc.lo
      CC       libclammspack_la-oabd.lo
      CC       libclammspack_la-qtmd.lo
      CC       libclammspack_la-system.lo
      CC       libclammspack_la-szddc.lo
      CC       libclammspack_la-szddd.lo
      CCLD     libclammspack.la
      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
      CC       libclamav_la-readdb.lo
      CC       libclamav_la-cvd.lo
      CC       libclamav_la-dsig.lo
      CC       libclamav_la-scanners.lo
      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
      CC       libclamav_la-message.lo
      CC       libclamav_la-table.lo
      CC       libclamav_la-text.lo
      CC       libclamav_la-ole2_extract.lo
      CC       libclamav_la-vba_extract.lo
      CC       libclamav_la-msexpand.lo
      CC       libclamav_la-pe.lo
      CC       libclamav_la-pe_icons.lo
      CC       libclamav_la-disasm.lo
      CC       libclamav_la-upx.lo
      CC       libclamav_la-htmlnorm.lo
      CC       libclamav_la-libmspack.lo
      CC       libclamav_la-rebuildpe.lo
      CC       libclamav_la-petite.lo
      CC       libclamav_la-wwunpack.lo
      CC       libclamav_la-unsp.lo
      CC       libclamav_la-aspack.lo
      CC       libclamav_la-packlibs.lo
      CC       libclamav_la-fsg.lo
      CC       libclamav_la-mew.lo
    mew.c: In function 'lzma_486248':
    mew.c:122:18: warning: passing argument 1 of 'cli_writeint32' discards 
'const' qualifier from pointer target type [-Wdiscarded-q
    ualifiers]
       cli_writeint32(*old_ecx, loc_ecx);
                      ^
    In file included from matcher.h:29:0,
                     from others.h:22,
                     from pe.h:30,
                     from mew.c:53:
    others.h:632:24: note: expected 'void *' but argument is of type 'const 
char *'
         static inline void cli_writeint32(void *offset, uint32_t value)
                            ^~~~~~~~~~~~~~
    mew.c:136:18: warning: passing argument 1 of 'cli_writeint32' discards 
'const' qualifier from pointer target type [-Wdiscarded-q
    ualifiers]
       cli_writeint32(*old_ecx, loc_ecx);
                      ^
    In file included from matcher.h:29:0,
                     from others.h:22,
                     from pe.h:30,
                     from mew.c:53:
    others.h:632:24: note: expected 'void *' but argument is of type 'const 
char *'
         static inline void cli_writeint32(void *offset, uint32_t value)
                            ^~~~~~~~~~~~~~
      CC       libclamav_la-upack.lo
      CC       libclamav_la-line.lo
      CC       libclamav_la-untar.lo
      CC       libclamav_la-unzip.lo
      CC       libclamav_la-ooxml.lo
      CC       libclamav_la-inflate64.lo
      CC       libclamav_la-special.lo
      CC       libclamav_la-binhex.lo
      CC       libclamav_la-is_tar.lo
      CC       libclamav_la-tnef.lo
      CC       libclamav_la-autoit.lo
      CC       libclamav_la-unarj.lo
      CC       libclamav_la-bzlib.lo
      CC       libclamav_la-nulsft.lo
      CC       libclamav_la-infblock.lo
      CC       libclamav_la-pdf.lo
      CC       libclamav_la-pdfng.lo
      CC       libclamav_la-pdfdecode.lo
      CC       libclamav_la-spin.lo
      CC       libclamav_la-yc.lo
      CC       libclamav_la-elf.lo
      CC       libclamav_la-sis.lo
      CC       libclamav_la-uuencode.lo
      CC       libclamav_la-phishcheck.lo
      CC       libclamav_la-phish_domaincheck_db.lo
      CC       libclamav_la-phish_whitelist.lo
      CC       libclamav_la-regex_list.lo
      CC       libclamav_la-regex_suffix.lo
      CC       libclamav_la-entconv.lo
      CC       libclamav_la-hashtab.lo
      CC       libclamav_la-dconf.lo
      CC       libclamav_la-lzma_iface.lo
      CC       libclamav_la-7z_iface.lo
      CC       libclamav_la-7zAlloc.lo
      CC       libclamav_la-7zBuf.lo
      CC       libclamav_la-7zBuf2.lo
      CC       libclamav_la-7zCrc.lo
      CC       libclamav_la-7zDec.lo
      CC       libclamav_la-7zFile.lo
      CC       libclamav_la-7zIn.lo
      CC       libclamav_la-7zStream.lo
      CC       libclamav_la-Bcj2.lo
      CC       libclamav_la-Bra.lo
      CC       libclamav_la-Bra86.lo
      CC       libclamav_la-Lzma2Dec.lo
      CC       libclamav_la-LzmaDec.lo
      CC       libclamav_la-Ppmd7.lo
      CC       libclamav_la-Ppmd7Dec.lo
      CC       libclamav_la-Xz.lo
      CC       libclamav_la-XzCrc64.lo
      CC       libclamav_la-XzDec.lo
      CC       libclamav_la-XzIn.lo
      CC       libclamav_la-Delta.lo
      CC       libclamav_la-BraIA64.lo
      CC       libclamav_la-CpuArch.lo
      CC       libclamav_la-7zCrcOpt.lo
      CC       libclamav_la-explode.lo
      CC       libclamav_la-textnorm.lo
      CC       libclamav_la-dlp.lo
      CC       libclamav_la-js-norm.lo
      CC       libclamav_la-uniq.lo
      GEN      version.h.tmp
      GEN      version.h
      CC       libclamav_la-version.lo
      CC       libclamav_la-mpool.lo
      CC       libclamav_la-filtering.lo
      CC       libclamav_la-fmap.lo
      CC       libclamav_la-perflogging.lo
      CC       libclamav_la-bytecode.lo
      CC       libclamav_la-bytecode_vm.lo
      CC       libclamav_la-cpio.lo
      CC       libclamav_la-macho.lo
      CC       libclamav_la-ishield.lo
      CC       libclamav_la-bytecode_api.lo
      CC       libclamav_la-bytecode_api_decl.lo
      CC       libclamav_la-cache.lo
      CC       libclamav_la-bytecode_detect.lo
      CC       libclamav_la-events.lo
      CC       libclamav_la-adc.lo
      CC       libclamav_la-dmg.lo
      CC       libclamav_la-xar.lo
      CC       libclamav_la-xdp.lo
      CC       libclamav_la-mbr.lo
      CC       libclamav_la-gpt.lo
      CC       libclamav_la-apm.lo
      CC       libclamav_la-prtn_intxn.lo
      CC       libclamav_la-json_api.lo
      CC       libclamav_la-xz_iface.lo
      CC       libclamav_la-sf_base64decode.lo
      CC       libclamav_la-hfsplus.lo
      CC       libclamav_la-swf.lo
      CC       libclamav_la-jpeg.lo
      CC       libclamav_la-png.lo
      CC       libclamav_la-iso9660.lo
      CC       libclamav_la-arc4.lo
      CC       libclamav_la-rijndael.lo
      CC       libclamav_la-crtmgr.lo
      CC       libclamav_la-asn1.lo
      CC       libclamav_la-fpu.lo
      CC       libclamav_la-stats.lo
      CC       libclamav_la-www.lo
      CC       libclamav_la-stats_json.lo
      CC       libclamav_la-hostid.lo
    In file included from ../libclamav/yara_clam.h:43:0,
                     from ../libclamav/others.h:58,
                     from ../libclamav/matcher.h:29,
                     from ../libclamav/others.h:22,
                     from hostid.c:63:
    ../shared/queue.h:448:0: warning: "LIST_INIT" redefined
     #define LIST_INIT(head) do {      \
    
    In file included from /usr/include/net/if.h:129:0,
                     from /usr/include/sys/cdli.h:42,
                     from /usr/include/sys/ndd_var.h:35,
                     from hostid.c:52:
    /usr/include/sys/queue.h:103:0: note: this is the location of the previous 
definition
     #define LIST_INIT(head) {      \
    
    In file included from ../libclamav/yara_clam.h:43:0,
                     from ../libclamav/others.h:58,
                     from ../libclamav/matcher.h:29,
                     from ../libclamav/others.h:22,
                     from hostid.c:63:
    ../shared/queue.h:452:0: warning: "LIST_INSERT_AFTER" redefined
     #define LIST_INSERT_AFTER(listelm, elm, field) do {   \
    
    In file included from /usr/include/net/if.h:129:0,
                     from /usr/include/sys/cdli.h:42,
                     from /usr/include/sys/ndd_var.h:35,
                     from hostid.c:52:
    /usr/include/sys/queue.h:107:0: note: this is the location of the previous 
definition
     #define LIST_INSERT_AFTER(listelm, elm, field) {   \
    
    In file included from ../libclamav/yara_clam.h:43:0,
                     from ../libclamav/others.h:58,
                     from ../libclamav/matcher.h:29,
                     from ../libclamav/others.h:22,
                     from hostid.c:63:
    ../shared/queue.h:469:0: warning: "LIST_INSERT_HEAD" redefined
     #define LIST_INSERT_HEAD(head, elm, field) do {    \
    
    In file included from /usr/include/net/if.h:129:0,
                     from /usr/include/sys/cdli.h:42,
                     from /usr/include/sys/ndd_var.h:35,
                     from hostid.c:52:
    /usr/include/sys/queue.h:115:0: note: this is the location of the previous 
definition
     #define LIST_INSERT_HEAD(head, elm, field) {    \
    
    In file included from ../libclamav/yara_clam.h:43:0,
                     from ../libclamav/others.h:58,
                     from ../libclamav/matcher.h:29,
                     from ../libclamav/others.h:22,
                     from hostid.c:63:
    ../shared/queue.h:622:0: warning: "TAILQ_INIT" redefined
     #define TAILQ_INIT(head) do {      \
    
    In file included from /usr/include/net/if.h:129:0,
                     from /usr/include/sys/cdli.h:42,
                     from /usr/include/sys/ndd_var.h:35,
                     from hostid.c:52:
    /usr/include/sys/queue.h:147:0: note: this is the location of the previous 
definition
     #define TAILQ_INIT(head) {      \
    
      CC       libclamav_la-openioc.lo
      CC       libclamav_la-msdoc.lo
      CC       libclamav_la-matcher-pcre.lo
      CC       libclamav_la-regex_pcre.lo
      CC       libclamav_la-msxml.lo
      CC       libclamav_la-msxml_parser.lo
      CC       libclamav_la-tiff.lo
      CC       libclamav_la-hwp.lo
      CC       libclamav_la-lzwdec.lo
      CC       libclamav_la-matcher-byte-comp.lo
      CC       libclamav_la-yara_arena.lo
      CC       libclamav_la-yara_compiler.lo
      CC       libclamav_la-yara_exec.lo
      CC       libclamav_la-yara_hash.lo
      CC       libclamav_la-yara_grammar.lo
      CC       libclamav_la-yara_lexer.lo
      CC       libclamav_la-yara_parser.lo
      CC       libclamav_la-fp_add.lo
      CC       libclamav_la-fp_add_d.lo
      CC       libclamav_la-fp_addmod.lo
      CC       libclamav_la-fp_cmp.lo
      CC       libclamav_la-fp_cmp_d.lo
      CC       libclamav_la-fp_cmp_mag.lo
      CC       libclamav_la-fp_sub.lo
      CC       libclamav_la-fp_sub_d.lo
      CC       libclamav_la-fp_submod.lo
      CC       libclamav_la-s_fp_add.lo
      CC       libclamav_la-s_fp_sub.lo
      CC       libclamav_la-fp_radix_size.lo
      CC       libclamav_la-fp_read_radix.lo
      CC       libclamav_la-fp_read_signed_bin.lo
      CC       libclamav_la-fp_read_unsigned_bin.lo
      CC       libclamav_la-fp_reverse.lo
      CC       libclamav_la-fp_s_rmap.lo
      CC       libclamav_la-fp_signed_bin_size.lo
      CC       libclamav_la-fp_to_signed_bin.lo
      CC       libclamav_la-fp_to_unsigned_bin.lo
      CC       libclamav_la-fp_toradix.lo
      CC       libclamav_la-fp_toradix_n.lo
      CC       libclamav_la-fp_unsigned_bin_size.lo
      CC       libclamav_la-fp_cnt_lsb.lo
      CC       libclamav_la-fp_count_bits.lo
      CC       libclamav_la-fp_div_2.lo
      CC       libclamav_la-fp_div_2d.lo
      CC       libclamav_la-fp_lshd.lo
      CC       libclamav_la-fp_mod_2d.lo
      CC       libclamav_la-fp_rshd.lo
      CC       libclamav_la-fp_div.lo
      CC       libclamav_la-fp_div_d.lo
      CC       libclamav_la-fp_mod.lo
      CC       libclamav_la-fp_mod_d.lo
      CC       libclamav_la-fp_2expt.lo
      CC       libclamav_la-fp_exptmod.lo
      CC       libclamav_la-fp_ident.lo
      CC       libclamav_la-fp_set.lo
      CC       libclamav_la-fp_montgomery_calc_normalization.lo
      CC       libclamav_la-fp_montgomery_reduce.lo
      CC       libclamav_la-fp_montgomery_setup.lo
      CC       libclamav_la-fp_mul.lo
      CC       libclamav_la-fp_mul_comba.lo
      CC       libclamav_la-fp_mul_2.lo
      CC       libclamav_la-fp_mul_2d.lo
      CC       libclamav_la-fp_mul_comba_12.lo
      CC       libclamav_la-fp_mul_comba_17.lo
      CC       libclamav_la-fp_mul_comba_20.lo
      CC       libclamav_la-fp_mul_comba_24.lo
      CC       libclamav_la-fp_mul_comba_28.lo
      CC       libclamav_la-fp_mul_comba_3.lo
      CC       libclamav_la-fp_mul_comba_32.lo
      CC       libclamav_la-fp_mul_comba_4.lo
      CC       libclamav_la-fp_mul_comba_48.lo
      CC       libclamav_la-fp_mul_comba_6.lo
      CC       libclamav_la-fp_mul_comba_64.lo
      CC       libclamav_la-fp_mul_comba_7.lo
      CC       libclamav_la-fp_mul_comba_8.lo
      CC       libclamav_la-fp_mul_comba_9.lo
      CC       libclamav_la-fp_mul_comba_small_set.lo
      CC       libclamav_la-fp_mul_d.lo
      CC       libclamav_la-fp_mulmod.lo
      CC       libclamav_la-fp_invmod.lo
      CC       libclamav_la-fp_sqr.lo
      CC       libclamav_la-fp_sqr_comba_12.lo
      CC       libclamav_la-fp_sqr_comba_17.lo
      CC       libclamav_la-fp_sqr_comba_20.lo
      CC       libclamav_la-fp_sqr_comba_24.lo
      CC       libclamav_la-fp_sqr_comba_28.lo
      CC       libclamav_la-fp_sqr_comba_3.lo
      CC       libclamav_la-fp_sqr_comba_32.lo
      CC       libclamav_la-fp_sqr_comba_4.lo
      CC       libclamav_la-fp_sqr_comba_48.lo
      CC       libclamav_la-fp_sqr_comba_6.lo
      CC       libclamav_la-fp_sqr_comba_64.lo
      CC       libclamav_la-fp_sqr_comba_7.lo
      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_nocxx_la-bytecode_nojit.lo
      CCLD     libclamav_nocxx.la
      CC       libclamav_internal_utils_la-str.lo
      CC       libclamav_internal_utils_la-conv.lo
      CC       libclamav_internal_utils_la-crypto.lo
    crypto.c: In function 'cl_load_crl':
    crypto.c:1143:2: warning: 'X509_CRL_get_nextUpdate' is deprecated 
[-Wdeprecated-declarations]
      tme = X509_CRL_get_nextUpdate(x);
      ^~~
    In file included from /opt/freeware/include/openssl/x509_vfy.h:20:0,
                     from /opt/freeware/include/openssl/x509.h:309,
                     from /opt/freeware/include/openssl/ssl.h:50,
                     from clamav.h:31,
                     from crypto.c:60:
    /opt/freeware/include/openssl/x509.h:709:1: note: declared here
     DEPRECATEDIN_1_1_0(ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *crl))
     ^
      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-strlcpy.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
      CC       libclamav_internal_utils_la-strlcat.lo
      CCLD     libclamav_internal_utils.la
      CCLD     libclamav.la
    libtool:   error: not configured to extract global symbols from dlpreopened 
files
    ld: 0711-317 ERROR: Undefined symbol: lt_libltdlc_LTX_preloaded_symbols
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
information.
    collect2: error: ld returned 8 exit status
    make: The error code from the last command is 1.
    
    
    Stop.
    make: The error code from the last command is 1.
    
    
    Stop.
    make: The error code from the last command is 2.
    
    
    Stop.
    make: The error code from the last command is 1.
    
    
    Stop.
    make: The error code from the last command is 2.
    
    
    Stop.
    
    Best regards.
    
    T.O
    
    
    _______________________________________________
    
    clamav-users mailing list
    clamav-users@lists.clamav.net
    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
    


_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
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

Reply via email to