[Snort-users] GCC compile error with AIX 4.3

Jeffrey M Collins collinmj at ...2135...
Tue Aug 27 08:36:05 EDT 2002


When I try to compile gcc on an AIX box I get the following:

(root at ...6723... /snort-1.8.7)->./configure
loading cache ./config.cache
checking for a BSD compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot
create executabl
es.

I'm not sure why it can't create executables.  I searched the snort mailing
list archives and saw something about needing to install binutil, which I
did but had no luck.  Here's the output from attempting to compile a simple
.c file:

(root at ...6723... /snort-1.8.7)->gcc /foo.c -o /foo
In file included from /foo.c:2:
/usr/bin/../lib/gcc-lib/powerpc-ibm-aix4.3.3.0/2.9-aix51-020209/include/stdio.h:57:

standar
ds.h: A file or directory in the path name does not exist.

Thank you for any advice you have.

Jeff






More information about the Snort-users mailing list