public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Compilation problems using gcc 2.95.2 on AIX 4.3.3
@ 2002-01-30 13:23 Venkatakrishnan, V
  0 siblings, 0 replies; 5+ messages in thread
From: Venkatakrishnan, V @ 2002-01-30 13:23 UTC (permalink / raw)
  To: gcc-help

Hi,
	I've just built an AIX box running v4.3.3 and have gcc 2.95.2
running.  When I try to compile my code the compiler goes looking for the
system header files like types.h, stdio.h etc. in the
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys and then
gives me a lot of errors.  Why does it go looking there?  How do I make it
to look under /usr/include/sys ??

Confused :-/
Venky

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

* RE: Compilation problems using gcc 2.95.2 on AIX 4.3.3
@ 2002-02-07  7:39 Venkatakrishnan, V
  0 siblings, 0 replies; 5+ messages in thread
From: Venkatakrishnan, V @ 2002-02-07  7:39 UTC (permalink / raw)
  To: 'David Edelsohn'; +Cc: gcc-help, fwyzard

Thanks David, the install of the bos.adt.include fileset gave me all the
header files that I needed.  Sorry 'bout posting this here, but I really
looked around a lot of places and did this as my last resort.  Thanks again,
have a nice day :).

-----Original Message-----
From: David Edelsohn [mailto:dje@watson.ibm.com] 
Sent: Wednesday, February 06, 2002 3:05 PM
To: V.Venkatakrishnan@channels.usa.xerox.com
Cc: gcc-help@gcc.gnu.org; fwyzard@inwind.it
Subject: Re: Compilation problems using gcc 2.95.2 on AIX 4.3.3


	You should be able to install the header filesets from the AIX 4.3
CDs.  A good fileset to start with is bos.adt.include.  This is an AIX
support question, not a GCC question.

David

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

* Re: Compilation problems using gcc 2.95.2 on AIX 4.3.3
@ 2002-02-06 12:07 David Edelsohn
  0 siblings, 0 replies; 5+ messages in thread
From: David Edelsohn @ 2002-02-06 12:07 UTC (permalink / raw)
  To: V.Venkatakrishnan; +Cc: gcc-help, fwyzard

	You should be able to install the header filesets from the AIX 4.3
CDs.  A good fileset to start with is bos.adt.include.  This is an AIX
support question, not a GCC question.

David

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

* RE: Compilation problems using gcc 2.95.2 on AIX 4.3.3
@ 2002-02-01 13:45 Venkatakrishnan, V
  0 siblings, 0 replies; 5+ messages in thread
From: Venkatakrishnan, V @ 2002-02-01 13:45 UTC (permalink / raw)
  To: 'Andrea 'Fyre Wyzard' Bocci', gcc-help

Hi,
	I copied the files under /usr/include from another m/c (an AIX 4.1)
to my AIX 4.3 box ( I know I shudn't do that) and ran the make file.  I got
the following errors...
In file included from intern3.h:2,
                 from block.c:4:
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys/types.h:55:
sys/inttypes.h: A file or directory in the path name does not exist.
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys/types.h:211:
parse error
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys/types.h:275:
parse error
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys/types.h:358:
parse error
In file included from /usr/include/netdb.h:173,
                 from intern3.h:9,
                 from block.c:4:
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/stdio.h:246:
parse error
In file included from /usr/include/netdb.h:173,
                 from intern3.h:9,
                 from block.c:4:
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/stdio.h:264:
parse error
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/stdio.h:283:
parse error
/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/stdio.h:379:
parse error
make: *** [block.o] Error 1
	
	As you can see this is coz. Sys/inttypes.h does not exist (guess it
wasn't there on the AIX 4.1 m/c), also I dunno why it's talking of parse
errors in stdio.h.
	All in all I guess this is all coz. Of improper header files, can
any AIX user tell me how I can get the right bunch of the system header
files.  If it's available with the AIX 4.3 OS CDs, where is it and how do I
go about installing them.
	Thanks,

Regards,
Venky

-----Original Message-----
From: Andrea 'Fyre Wyzard' Bocci [mailto:fwyzard@inwind.it] 
Sent: Thursday, January 31, 2002 7:54 PM
To: Venkatakrishnan, V; gcc-help@gcc.gnu.org
Subject: Re: Compilation problems using gcc 2.95.2 on AIX 4.3.3


At 16.23 30/01/2002 (GMT -0500), Venkatakrishnan, V wrote:
>Hi,
>         I've just built an AIX box running v4.3.3 and have gcc 2.95.2 
>running.  When I try to compile my code the compiler goes looking for 
>the system header files like types.h, stdio.h etc. in the 
>/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys and 
>then gives me a lot of errors.

What kind of errors ?

>Why does it go looking there?

If I understand correctly the behaviour of gcc, the installation should put 
in /usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys some 
header files needed to fix inconsistencies with the system header files.
Note that I'm just guessing. This might be utterly false, actually :-)

>How do I make it to look under /usr/include/sys ??

The GCC ones should be including the system ones, in the end. Assuming you
configured and built gcc on that (or a similar) machine, it 
should look for them automatically.
However, you can specify where to look for header files (see the GCC manual 
<http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc_2.html#SEC11> for the command 
line flags and their meaning).

Hope this helps, someway
fwyzard

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

* Re: Compilation problems using gcc 2.95.2 on AIX 4.3.3
       [not found] <8229C4577A00D511ABC00090277A45A0ADB9BD@us0111-ch-ms1.chann els.mc.xerox.com>
@ 2002-01-31 16:55 ` Andrea 'Fyre Wyzard' Bocci
  0 siblings, 0 replies; 5+ messages in thread
From: Andrea 'Fyre Wyzard' Bocci @ 2002-01-31 16:55 UTC (permalink / raw)
  To: Venkatakrishnan, V, gcc-help

At 16.23 30/01/2002 (GMT -0500), Venkatakrishnan, V wrote:
>Hi,
>         I've just built an AIX box running v4.3.3 and have gcc 2.95.2
>running.  When I try to compile my code the compiler goes looking for the
>system header files like types.h, stdio.h etc. in the
>/usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys and then
>gives me a lot of errors.

What kind of errors ?

>Why does it go looking there?

If I understand correctly the behaviour of gcc, the installation should put 
in /usr/local/lib/gcc-lib/rs6000-ibm-aix4.3.2.0/2.95.2/include/sys some 
header files needed to fix inconsistencies with the system header files.
Note that I'm just guessing. This might be utterly false, actually :-)

>How do I make it to look under /usr/include/sys ??

The GCC ones should be including the system ones, in the end.
Assuming you configured and built gcc on that (or a similar) machine, it 
should look for them automatically.
However, you can specify where to look for header files (see the GCC manual 
<http://gcc.gnu.org/onlinedocs/gcc-2.95.3/gcc_2.html#SEC11> for the command 
line flags and their meaning).

Hope this helps, someway
fwyzard

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

end of thread, other threads:[~2002-02-07 15:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-30 13:23 Compilation problems using gcc 2.95.2 on AIX 4.3.3 Venkatakrishnan, V
     [not found] <8229C4577A00D511ABC00090277A45A0ADB9BD@us0111-ch-ms1.chann els.mc.xerox.com>
2002-01-31 16:55 ` Andrea 'Fyre Wyzard' Bocci
2002-02-01 13:45 Venkatakrishnan, V
2002-02-06 12:07 David Edelsohn
2002-02-07  7:39 Venkatakrishnan, V

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).