From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4195 invoked by alias); 1 Feb 2002 21:45:38 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 4160 invoked from network); 1 Feb 2002 21:45:36 -0000 Received: from unknown (HELO ariel.eastgw.xerox.com) (208.140.33.25) by sources.redhat.com with SMTP; 1 Feb 2002 21:45:36 -0000 Received: from sdi-adm1.sdi.xcdg.xerox.com (sdi-adm1.sdi.xcdg.xerox.com [13.231.36.100]) by ariel.eastgw.xerox.com (8.9.3/8.9.3) with ESMTP id QAA09359; Fri, 1 Feb 2002 16:45:29 -0500 (EST) Received: by sdi-adm1.sdi.xcdg.xerox.com with Internet Mail Service (5.5.2654.89) id ; Fri, 1 Feb 2002 16:45:34 -0500 Message-ID: <8229C4577A00D511ABC00090277A45A0ADB9D6@us0111-ch-ms1.channels.mc.xerox.com> From: "Venkatakrishnan, V" To: "'Andrea 'Fyre Wyzard' Bocci'" , gcc-help@gcc.gnu.org Subject: RE: Compilation problems using gcc 2.95.2 on AIX 4.3.3 Date: Fri, 01 Feb 2002 13:45:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2654.89) Content-Type: text/plain X-SW-Source: 2002-02/txt/msg00022.txt.bz2 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 for the command line flags and their meaning). Hope this helps, someway fwyzard