public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc 4.3.0 on AIX
@ 2008-07-17 10:50 Vardhan, Sundara (GE Infra, Energy)
  2008-07-17 11:20 ` Andrew Haley
  0 siblings, 1 reply; 2+ messages in thread
From: Vardhan, Sundara (GE Infra, Energy) @ 2008-07-17 10:50 UTC (permalink / raw)
  To: gcc-help

Hi All

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.

With Regards


Vardhan

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc 4.3.0 on AIX
  2008-07-17 10:50 gcc 4.3.0 on AIX Vardhan, Sundara (GE Infra, Energy)
@ 2008-07-17 11:20 ` Andrew Haley
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2008-07-17 11:20 UTC (permalink / raw)
  To: Vardhan, Sundara (GE Infra, Energy); +Cc: gcc-help

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-17 10:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-17 10:50 gcc 4.3.0 on AIX Vardhan, Sundara (GE Infra, Energy)
2008-07-17 11:20 ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).