This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Apache Install


I'm attempting to install Apache 2.0 on AIX 5.2.  Ran into problems with my IBM C Compiler, so installed GCC.  
Configure worked fine.  Only used one option in the configure ./configure --enable-so

Getting errors on the make command.  

The command it is running is as follows:

Making all in srclib
Making all in apr
Making all in strings
        /bin/sh /803Environment/httpd-2.0.50/srclib/apr/libtool --silent --mode=
compile gcc -g -O2   -DHAVE_CONFIG_H -U__STR__ -D_THREAD_SAFE -D_USE_IRS   -I../
include -I../include/arch/unix  -c apr_snprintf.c && touch apr_snprintf.lo


The error:

In file included from ../include/apr_portable.h:46,
                 from apr_snprintf.c:22:
/usr/include/pthread.h:554: error: parse error before '*' token
/usr/include/pthread.h:557: error: parse error before '*' token
/usr/include/pthread.h:561: error: parse error before '*' token
/usr/include/pthread.h:564: error: parse error before '*' token
/usr/include/pthread.h:567: error: parse error before '*' token
/usr/include/pthread.h:570: error: parse error before '*' token
/usr/include/pthread.h:573: error: parse error before '*' token
/usr/include/pthread.h:576: error: parse error before '*' token
/usr/include/pthread.h:579: error: parse error before '*' token
/usr/include/pthread.h:583: error: parse error before '*' token
/usr/include/pthread.h:586: error: parse error before '*' token

make: 1254-004 The error code from the last command is 1.

I installed gcc binaries without any configuration.  Any ideas greatly appreciated.


Tom Richardson
Application Services
(336) 373-2016

tom.richardson@greensboro-nc.gov


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]