Building Apache 2.2.15 on AIX 6.1 using GCC 4.2.0 is failing for me, (see actual error message below).
Environment: OS AIX 6.1.3 (6100-03-01-0921) Compiler: gcc --version gcc (GCC) 4.2.0 Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Apache Config.nice: #! /bin/sh # # Created by configure CC="gcc"; export CC "./configure" \ "--prefix=/usr/local/apache" \ "--with-mpm=worker" \ "--without-berkeley-db" \ "--with-ssl=/usr/local/dms/openssl.0.9.8f" \ "--enable-ssl=static" \ "--enable-dav=static" \ "--enable-dav_fs=static" \ "--enable-dav-lock=static" \ "--enable-logio=static" \ "--enable-auth_extern=static" \ "--enable-dms_apr=static" \ "--enable-proxy=static" \ "--enable-proxy_balancer=static" \ "--enable-proxy-ajp=static" \ "--enable-proxy-http=static" \ "--enable-static-rotatelogs" \ "--with-included-apr" \ "--enable-static-support" \ "CC=gcc" \ "$@" Actual build error when invoking "make": /usr/bin/ksh93 /home/trbennet/dnload/httpd-2.2.15/srclib/apr/libtool --silent -- mode=link gcc -g -O2 -pthread -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_LARGEFILE64 _SOURCE -I./include -I/home/trbennet/dnload/httpd-2.2.15/srclib/apr/include/arch/unix -I./include/arch/unix -I/home/trbennet/dnload/httpd-2.2.15/srclib/apr/include/arch/unix -I/home/trbennet/dnload/httpd-2.2.15/srclib/apr/include -version-info 4:2:4 -Wl,-brtl -o libapr-1.la -rpath /usr/local/apache/lib passwd/apr_getpass.lo strings/apr_cpystrn.l o strings/apr_strtok.lo strings/apr_snprintf.lo strings/apr_strnatcmp.lo strings/apr_fnm atch.lo strings/apr_strings.lo tables/apr_tables.lo tables/apr_hash.lo dso/unix/dso.lo f ile_io/unix/mktemp.lo file_io/unix/seek.lo file_io/unix/copy.lo file_io/unix/filedup.lo file_io/unix/dir.lo file_io/unix/flock.lo file_io/unix/buffer.lo file_io/unix/filepath_u til.lo file_io/unix/readwrite.lo file_io/unix/open.lo file_io/unix/fileacc.lo file_io/un ix/tempdir.lo file_io/unix/pipe.lo file_io/unix/filepath.lo file_io/unix/filestat.lo fil e_io/unix/fullrw.lo locks/unix/thread_rwlock.lo locks/unix/thread_mutex.lo locks/unix/gl obal_mutex.lo locks/unix/proc_mutex.lo locks/unix/thread_cond.lo memory/unix/apr_pools.l o misc/unix/rand.lo misc/unix/start.lo misc/unix/otherchild.lo misc/unix/getopt.lo misc/ unix/env.lo misc/unix/version.lo misc/unix/charset.lo misc/unix/errorcodes.lo mmap/unix/ common.lo mmap/unix/mmap.lo network_io/unix/socket_util.lo network_io/unix/inet_ntop.lo network_io/unix/inet_pton.lo network_io/unix/sockets.lo network_io/unix/sockaddr.lo netw ork_io/unix/multicast.lo network_io/unix/sockopt.lo network_io/unix/sendrecv.lo poll/uni x/pollcb.lo poll/unix/port.lo poll/unix/select.lo poll/unix/epoll.lo poll/unix/pollset.l o poll/unix/kqueue.lo poll/unix/poll.lo random/unix/apr_random.lo random/unix/sha2.lo ra ndom/unix/sha2_glue.lo shmem/unix/shm.lo support/unix/waitio.lo threadproc/unix/procsup. lo threadproc/unix/threadpriv.lo threadproc/unix/proc.lo threadproc/unix/thread.lo threa dproc/unix/signals.lo time/unix/timestr.lo time/unix/time.lo user/unix/userinfo.lo user/ unix/groupinfo.lo atomic/unix/mutex.lo atomic/unix/solaris.lo atomic/unix/ia32.lo atomic /unix/s390.lo atomic/unix/builtins.lo atomic/unix/ppc.lo -lpthread nm: |: 0654-200 Cannot open the specified file. nm: No such file or directory nm: awk: 0654-200 Cannot open the specified file. nm: No such file or directory nm: if \(\(\(\libapr-1.so == \T\\) \|\| \(\libapr-1.so == \D\\) \|\| \(\libapr-1.so == \B\\)\) \&\& \(substr\(\: 0654-200 Cannot open the specified file. nm: No such file or directory nm: |: 0654-200 Cannot open the specified file. nm: No such file or directory nm: sort: 0654-200 Cannot open the specified file. nm: No such file or directory nm: -u: 0654-200 Cannot open the specified file. nm: No such file or directory make: 1254-004 The error code from the last command is 1. 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 1. Stop. make: 1254-004 The error code from the last command is 1. Stop.