[clamav-users] Trouble installing clamav on AIX 7.1(Errors)

Michael Kyriacou mkyriacou111 at gmail.com
Thu Apr 9 16:03:56 UTC 2020


Hellow, on AIX 7.1, I am having trouble installing clamav 0.101 or 0.102. I
run into these errors: They occur when I try to use "make". Any help would
be much appreciated

ld: 0711-317 ERROR: Undefined symbol: .flock

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.

############



Also, this is the other error seen for make



###########

CC       libclamav_la-matcher-hash.lo

In file included from fmap.h:30,

                 from filetypes.h:28,

                 from matcher.h:28,

                 from matcher-hash.c:25:

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:210:16:
error: conflicting types for 'lseek64'

extern off64_t lseek64(int, off64_t, int);

                ^~~~~~~

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:208:14:
note: previous declaration of 'lseek64' was here

extern off_t lseek(int, off_t, int);

              ^~~~~

In file included from
/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:866,

                 from fmap.h:30,

                 from filetypes.h:28,

                 from matcher.h:28,

                 from matcher-hash.c:25:

/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 fmap.h:30,

                 from filetypes.h:28,

                 from matcher.h:28,

                 from matcher-hash.c:25:

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:939:14:
error: conflicting types for 'ftruncate64'

  extern int  ftruncate64(int, off64_t);

              ^~~~~~~~~~~

In file included from fmap.h:30,

                 from filetypes.h:28,

                 from matcher.h:28,

                 from matcher-hash.c:25:

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:937:14:
note: previous declaration of 'ftruncate64' was here

  extern int  ftruncate(int, off_t);

              ^~~~~~~~~

In file included from fmap.h:30,

                 from filetypes.h:28,

                 from matcher.h:28,

                 from matcher-hash.c:25:

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:996:14:
error: conflicting types for 'truncate64'

  extern int  truncate64(const char *, off64_t);

              ^~~~~~~~~~

In file included from fmap.h:30,

                 from filetypes.h:28,

                 from matcher.h:28,

                 from matcher-hash.c:25:

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:994:14:
note: previous declaration of 'truncate64' was here

  extern int  truncate(const char *, off_t);

              ^~~~~~~~

In file included from fmap.h:30,

                 from filetypes.h:28,

                 from matcher.h:28,

                 from matcher-hash.c:25:

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:1015:18:
error: conflicting types for 'pread64'

  extern ssize_t  pread64(int, void *, size_t, off64_t);

                  ^~~~~~~

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:1012:18:
note: previous declaration of 'pread64' was here

  extern ssize_t  pread(int, void *, size_t, off_t);

                  ^~~~~

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:1016:18:
error: conflicting types for 'pwrite64'

  extern ssize_t  pwrite64(int, const void *, size_t, off64_t);

                  ^~~~~~~~

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:1013:18:
note: previous declaration of 'pwrite64' was here

  extern ssize_t  pwrite(int, const void *, size_t, off_t);

                  ^~~~~~

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:1105:17:
error: conflicting types for 'fclear64'

  extern off64_t fclear64(int, off64_t);

                 ^~~~~~~~

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:1102:15:
note: previous declaration of 'fclear64' was here

  extern off_t fclear(int, off_t);

               ^~~~~~

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:1106:13:
error: conflicting types for 'fsync_range64'

  extern int fsync_range64(int, int, off64_t, off64_t);

             ^~~~~~~~~~~~~

/opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/8.3.0/include-fixed/unistd.h:1103: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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clamav.net/pipermail/clamav-users/attachments/20200409/c7abfa48/attachment.htm>


More information about the clamav-users mailing list