Thank you for your advice.

I tried.

# export OBJECT_MODE="64"
# export CFLAGS="-maix64"               
# export LDFLAGS="-maix64 -Wl,-bbigtoc"
# ./configure
# make 

However, this time it was another error.
-------
# make
(snip)

  CC       libclamav_internal_utils_la-regfree.lo
In file included from ./matcher.h:29:0,
                 from ./others.h:22,
                 from regex/regfree.c:43:
./others.h: In function 'cli_readint64':
./others.h:590:49: warning: left shift count >= width of type 
[-Wshift-count-overflow]
         ret |= (((const char *)buff)[4] & 0xff) << 32;
                                                 ^~
./others.h:591:49: warning: left shift count >= width of type 
[-Wshift-count-overflow]
         ret |= (((const char *)buff)[5] & 0xff) << 40;
                                                 ^~
./others.h:592:49: warning: left shift count >= width of type 
[-Wshift-count-overflow]
         ret |= (((const char *)buff)[6] & 0xff) << 48;
                                                 ^~
./others.h:593:49: warning: left shift count >= width of type 
[-Wshift-count-overflow]
         ret |= (((const char *)buff)[7] & 0xff) << 56;
                                                 ^~
  CC       libclamav_internal_utils_la-strlcat.lo
  CCLD     libclamav_internal_utils.la
  CCLD     libclamav.la
ld: 0711-317 ERROR: Undefined symbol: .mspack_create_cab_decompressor
ld: 0711-317 ERROR: Undefined symbol: .mspack_destroy_cab_decompressor
ld: 0711-317 ERROR: Undefined symbol: .mspack_create_chm_decompressor
ld: 0711-317 ERROR: Undefined symbol: .mspack_destroy_chm_decompressor
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: error: ld returned 8 exit status
-------

This message "Warning: Left shift count > = width of type" is many.
The following is the message in configure:
--------
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
--------
The size of the variable type is in 32bit mode.
Is this correct?


On Fri, 13 Apr 2018 13:15:47 +0000
"Micah Snyder (micasnyd)" <micas...@cisco.com> wrote:

> It will be tough for us to fix this, because I don't have an AIX machine to 
> test with.
> 
> A quick Google search for "conflicting types for 'fsync_range64'" shows a 
> bunch fo people with similar errors compiling other software on AIX.  The 2nd 
> link down had a similar issue and appear to have to worked around it by 
> rearranging their #include's:
> https://github.com/nagios-plugins/nagios-plugins/issues/40
> 
> Hard to say if we could do something similar.  Again, I don't have the means 
> to test any changes.
> 
> 
> Micah Snyder
> ClamAV Development
> Talos
> Cisco Systems, Inc.
> 
> 
> On Apr 12, 2018, at 10:03 PM, Tsutomu Oyamada 
> <oyam...@promark-inc.com<mailto:oyam...@promark-inc.com>> wrote:
> 
> Thank you for your reply.
> It certainly seems to be the same thing.
> Is this a bug?
> 
> By the way, I tried to configure it with "CFLAGS =-maix64" And it was an 
> error the following.
> ---------
> # make
>        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<http://dlopen.la>
> ar: 0707-126 .libs/dlopen.o is not valid with the current object file mode.
>        Use the -X option to specify the desired object mode.
> ----------
> T.O
> 
> 
> On Thu, 12 Apr 2018 15:06:25 +0000
> "Micah Snyder (micasnyd)" <micas...@cisco.com<mailto:micas...@cisco.com>> 
> wrote:
> 
> It looks like Dwight is experiencing the same issue with AIX 5.3:
> 
> https://bugzilla.clamav.net/show_bug.cgi?id=12089
> 
> 
> Micah Snyder
> ClamAV Development
> Talos
> Cisco Systems, Inc.
> 
> 
> On Apr 12, 2018, at 8:49 AM, Tsutomu Oyamada 
> <oyam...@promark-inc.com<mailto:oyam...@promark-inc.com>> wrote:
> 
> I am experimenting with compiling a new version of ClamAV 0.100 on Aix
> 6.1.
> The result of configure is as follows:
> ----------
> # ./configure --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
> 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 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 whether make supports nested variables... (cached) yes
> checking for style of include used by make... GNU
> checking for gcc... gcc
> 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 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 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 whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> 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 ar... ar
> 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... ok
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC...  -DPIC
> checking if gcc PIC flag  -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... aix6.1.0.0 ld.so
> 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 which extension is used for runtime loadable modules... .so
> checking which 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... yes
> 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<http://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 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... 4
> checking size of long long... 8
> checking size of void *... 4
> 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 _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 pkg-config... /usr/bin/pkg-config
> checking pkg-config is at least version 0.9.0... 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 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 EVP_EncryptInit 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
> checking for CVE-2015-3210... ok
> 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... no
> checking bzlib.h presence... no
> checking for bzlib.h... no
> configure: WARNING: ****** bzip2 support disabled
> checking for getaddrinfo... yes
> checking for SYSTEMD... no
> checking for SYSTEMD... no
> systemd is not supported
> ./configure[19680]: --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... unknown
> checking for _LARGE_FILES value needed for large files... 1
> 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 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-config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> === configuring in libclamav/libmspack-0.5alpha 
> (/home/clamav/clamav-0.100.0/libclamav/libmspack-0.5alpha)
> configure: running /bin/sh ./configure --disable-option-checking 
> '--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/li
> b/clamav' '--with-dbdir=/usr/lib/clamav' '--disable-clamav' '--enable-shared' 
> '--disable-static' '--disable-zlib-vcheck' '--with
> -pcre' '--with-openssl=/opt/freeware' '--enable-strni' 
> '--enable-ltdl-convenience' --cache-file=/dev/null --srcdir=.
> checking for a BSD-compatible install... ./install-sh -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... ./install-sh -c -d
> checking for gawk... no
> checking for mawk... no
> checking for nawk... nawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking whether make supports nested variables... (cached) yes
> checking for gcc... gcc
> 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 gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking build system type... powerpc-ibm-aix6.1.0.0
> checking host system type... powerpc-ibm-aix6.1.0.0
> checking how to print strings... print -r
> checking for a sed that does not truncate output... /usr/bin/sed
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> 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 whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> 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 ar... ar
> 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... ok
> checking for sysroot... no
> checking for mt... mt
> checking if mt is a manifest tool... no
> checking how to run the C preprocessor... gcc -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 for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... no
> checking for gcc option to produce PIC...  -DPIC
> checking if gcc PIC flag  -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... aix6.1.0.0 ld.so
> checking how to hardcode library paths into programs... immediate
> 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 for ANSI C header files... (cached) yes
> checking ctype.h usability... yes
> checking ctype.h presence... yes
> checking for ctype.h... yes
> checking limits.h usability... yes
> checking limits.h presence... yes
> checking for limits.h... yes
> checking for stdlib.h... (cached) yes
> checking wctype.h usability... yes
> checking wctype.h presence... yes
> checking for wctype.h... yes
> checking for an ANSI C-conforming const... yes
> checking for inline... inline
> checking for mode_t... yes
> checking for off_t... yes
> checking for size_t... yes
> checking size of off_t... 4
> checking for tolower... yes
> checking for towlower... yes
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... unknown
> checking for _LARGE_FILES value needed for large files... 1
> checking for _LARGEFILE_SOURCE value needed for large files... no
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating libclammspack.pc
> config.status: creating config.h
> 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 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 libclamav/Makefile
> config.status: creating clamav-config.h
> config.status: clamav-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 !!!
> ----------
> This environment is AIX 64bit.
> 
> However, the following error occurs during make.
> ----------
>       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<http://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<http://libltdlc.la>
> Target "all-am" is up to date.
> Making all in libclamav
>       make  all-recursive
> Making all in libmspack-0.5alpha
>       make  all-am
> CC       system.lo
> CC       cabc.lo
> CC       cabd.lo
> CC       chmc.lo
> CC       chmd.lo
> CC       hlpc.lo
> CC       hlpd.lo
> CC       litc.lo
> CC       litd.lo
> CC       kwajc.lo
> CC       kwajd.lo
> CC       szddc.lo
> CC       szddd.lo
> CC       oabc.lo
> CC       oabd.lo
> CC       lzxc.lo
> CC       lzxd.lo
> CC       mszipc.lo
> CC       mszipd.lo
> CC       qtmd.lo
> CC       lzssd.lo
> CC       crc32.lo
> CCLD     libclammspack.la<http://libclammspack.la>
> CCLD     libmscabd.la<http://libmscabd.la>
> CCLD     libmschmd.la<http://libmschmd.la>
> Target "all-am" is up to date.
> CC       unrar15.lo
> CC       unrar.lo
> CC       unrar20.lo
> In file included from ../libclamunrar/unrar.h:27:0,
>                from ../libclamunrar/unrar20.c:22:
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:183:16:
>  error: conflicting types for 'lseek64'
> extern off64_t lseek64(int, off64_t, int);
>               ^~~~~~~
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:181:14:
>  note: previous declaration of 'lseek64' was he
> re
> extern off_t lseek(int, off_t, int);
>             ^
> In file included from 
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:776:0,
>                from ../libclamunrar/unrar.h:27,
>                from ../libclamunrar/unrar20.c:22:
> /usr/include/sys/lockf.h:64:13: error: conflicting types for 'lockf64'
> extern int lockf64 (int, int, off64_t);
>            ^~~~~~~
> /usr/include/sys/lockf.h:62:13: note: previous declaration of 'lockf64' was 
> here
> extern int lockf (int, int, off_t);
>            ^
> In file included from ../libclamunrar/unrar.h:27:0,
>                from ../libclamunrar/unrar20.c:22:
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:839:14:
>  error: conflicting types for 'ftruncate64'
> extern int  ftruncate64(int, off64_t);
>             ^~~~~~~~~~~
> In file included from ../libclamunrar/unrar.h:27:0,
>                from ../libclamunrar/unrar20.c:22:
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:837:14:
>  note: previous declaration of 'ftruncate64' wa
> s here
> extern int  ftruncate(int, off_t);
>             ^
> In file included from ../libclamunrar/unrar.h:27:0,
>                from ../libclamunrar/unrar20.c:22:
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:875:14:
>  error: conflicting types for 'truncate64'
> extern int  truncate64(const char *, off64_t);
>             ^~~~~~~~~~
> In file included from ../libclamunrar/unrar.h:27:0,
>                from ../libclamunrar/unrar20.c:22:
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:873:14:
>  note: previous declaration of 'truncate64' was
> here
> extern int  truncate(const char *, off_t);
>             ^
> In file included from ../libclamunrar/unrar.h:27:0,
>                from ../libclamunrar/unrar20.c:22:
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:892:18:
>  error: conflicting types for 'pread64'
> extern ssize_t  pread64(int, void *, size_t, off64_t);
>                 ^~~~~~~
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:889:18:
>  note: previous declaration of 'pread64' was he
> re
> extern ssize_t  pread(int, void *, size_t, off_t);
>                 ^
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:893:18:
>  error: conflicting types for 'pwrite64'
> extern ssize_t  pwrite64(int, const void *, size_t, off64_t);
>                 ^~~~~~~~
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:890:18:
>  note: previous declaration of 'pwrite64' was h
> ere
> extern ssize_t  pwrite(int, const void *, size_t, off_t);
>                 ^
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:972:17:
>  error: conflicting types for 'fclear64'
> extern off64_t fclear64(int, off64_t);
>                ^~~~~~~~
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:969:15:
>  note: previous declaration of 'fclear64' was h
> ere
> extern off_t fclear(int, off_t);
>              ^
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:973:13:
>  error: conflicting types for 'fsync_range64'
> extern int fsync_range64(int, int, off64_t, off64_t);
>            ^~~~~~~~~~~~~
> /opt/freeware/lib/gcc/powerpc-ibm-aix6.1.0.0/6.3.0/include-fixed/unistd.h:970:13:
>  note: previous declaration of 'fsync_range64'
> was here
> extern int fsync_range(int, int, off_t, off_t);
>            ^
> 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.
> ----------
> 
> Please give me some advice.
> 
> Best regards.
> Tsutomu Oyamada
> 
> _______________________________________________
> http://lurker.clamav.net/list/clamav-devel.html
> Please submit your patches to our Bugzilla: http://bugs.clamav.net
> 
> http://www.clamav.net/contact.html#ml
> 
> _______________________________________________
> http://lurker.clamav.net/list/clamav-devel.html
> Please submit your patches to our Bugzilla: http://bugs.clamav.net
> 
> http://www.clamav.net/contact.html#ml
> 
> 
> _______________________________________________
> http://lurker.clamav.net/list/clamav-devel.html
> Please submit your patches to our Bugzilla: http://bugs.clamav.net
> 
> http://www.clamav.net/contact.html#ml
> 
> _______________________________________________
> http://lurker.clamav.net/list/clamav-devel.html
> Please submit your patches to our Bugzilla: http://bugs.clamav.net
> 
> http://www.clamav.net/contact.html#ml


_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

http://www.clamav.net/contact.html#ml

Reply via email to