>I have an AIX 4.3.3 box with gcc 2.95.2 >Here's how I compiled version clamav 0.95: >---------------------------------------------- >In order to get this version to work, I had to use shared libraries.
just tried with setting the CC, CFLAGS, and LDFLAGS and removing the -D_ALL_SOURCE directive directive but it failed with the same error. I ran the failed commands manually and now run make and I get this: host:/tmp/clamTmp/clamav-0.95.3# export CC="/usr/bin/gcc" host:/tmp/clamTmp/clamav-0.95.3# export CFLAGS="-D_XOPEN_SOURCE=500 -D_ALL_SOURCE" host:/tmp/clamTmp/clamav-0.95.3# export LDFLAGS="-lpthreads -liconv" host:/tmp/clamTmp/clamav-0.95.3# ./configure --prefix=/opt/clamav -disable-clamuko -with-user=clamav --with-group=clamav --with-dbdir=/opt/clamav/db ... I removed the -D_ALL_SOURCE directive from clamd/Makefile host:/tmp/clamTmp/clamav-0.95.3# grep D_ALL_SOURCE clamd/Makefile host:/tmp/clamTmp/clamav-0.95.3# make ... - make failed at same point and after running the last 2 (failed) commands manually: host:/tmp/clamTmp/clamav-0.95.3# make make all-recursive Making all in libltdl make all-am Target "all-am" is up to date. Making all in libclamav make all-recursive Making all in lzma Target "all" is up to date. Making all in . make: 1254-004 The error code from the last command is 127. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. make: 1254-004 The error code from the last command is 1. Stop. make: 1254-004 The error code from the last command is 2. Stop. -- View this message in context: http://old.nabble.com/compile-errors-on-AIX-5.3-tp27552422p27555672.html Sent from the clamav-users mailing list archive at Nabble.com. _______________________________________________ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://www.clamav.net/support/ml