gcc 4.3.0 on AIX
Andrew Haley
aph@redhat.com
Thu Jul 17 11:20:00 GMT 2008
Vardhan, Sundara (GE Infra, Energy) wrote:
> I am in the process of compiling gcc 4.3.0 on AIX and get the following error :
>
> if [ x"" != x ]; then xlc -c -DHAVE_CONFIG_H -g -I. -I../.././libiberty
> /../include ../.././libiberty/pex-common.c -o pic/./pex-common.o; else true;
> fi
> xlc -c -DHAVE_CONFIG_H -g -I. -I../.././libiberty/../include ../.././l
> ibiberty/pex-common.c -o ./pex-common.o
> "./config.h", line 435.9: 1506-213 (S) Macro name inline cannot be redefined.
> "./config.h", line 435.9: 1506-358 (I) "inline" is defined on line 182 of ../../
> ./libiberty/../include/ansidecl.h.
> make: The error code from the last command is 1.
>
> Any ideas as to what this is and how I can fix this. Your help will be greatly appreciated.
It;s quite hard to know for sure what is in your config.h at line 435,
but I'm guessing it's
#define inline
This should be easy enough to fix. You are a C programmer, aren't you?
Andrew.
More information about the Gcc-help
mailing list