Isaac, It appears that you're linking with "ld" instead of the compiler driver "gcc" - but there is precious little information to go on here. For example, you're saying "AS400 Linux", but those two are mutually exclusive. Looking at the CLAMAV website, it makes no mention of os400 support, so you might want to start with asking for help from the CLAMAV maintainers.
HTH, Rob Boehne On Wed, Dec 4, 2019 at 8:00 AM Isaac Oren <isaaco...@gmail.com> wrote: > > quite new to OpenSource and GNU... any support will be appreciated... > > While building CLAMAV version: clamav-0.102.0 on IBM/AS400 Linux > environment (similar to AIX) > > The Make echoed the following info and stopped... There was a problem with > the libtool which (probably) caused the linker to fail... > > here are the last part of the make output... any help will be greatly > appreciated... > > > > ---------------------------------------------------------------------------------------------------------- > > libtool: error: not configured to extract global symbols from > dlpreopened f > iles > > ld: 0711-224 WARNING: Duplicate symbol: .__init_aix_libgcc_cxa_atexit > > ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more > information > . > > ld: 0711-317 ERROR: Undefined symbol: __gxx_personality_v0 > > ld: 0711-317 ERROR: Undefined symbol: vtable for > __cxxabiv1::__si_class_type_ > info > > ld: 0711-317 ERROR: Undefined symbol: vtable for > __cxxabiv1::__class_type_inf > o > > ld: 0711-317 ERROR: Undefined symbol: .flock > > ld: 0711-317 ERROR: Undefined symbol: .operator delete(void*, unsigned > long) > ld: 0711-317 ERROR: Undefined symbol: .operator deleteÄÜ(void*) > > ld: 0711-317 ERROR: Undefined symbol: .operator newÄÜ(unsigned long) > > > > ------------------------------------------------------------------------------------------------------ > > host-triplet: powerpc-ibm-os400 > shell: /bin/sh > > compiler: gcc > > compiler flags: -DP_tmpdir=/SMZVDTA1020/tmp -DC_AIX > -DHAVE_IN_PORT_T - > DHAVE_IN_ADDR_T -DHAVE_DIRENT_H -fno-strict-aliasing > -D_LARGEFILE_SOURCE -D_ > LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 > > linker: /QOpenSys/usr/bin/ld (gnu? no) > > version: libtool (GNU libtool) 2.4.6 Debian-2.4.6-2 > > automake: > > autoconf: > >