public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* problems with include files during compilation
@ 2001-09-20  2:14 Nikolakakos Christor
  2001-09-28 17:04 ` Alexandre Oliva
  0 siblings, 1 reply; 3+ messages in thread
From: Nikolakakos Christor @ 2001-09-20  2:14 UTC (permalink / raw)
  To: gcc-help

Hi,
I have installed gcc-3.0.1.0.exe on my AIX machine but when trying to make a
simple hello World program to test it, I get the following:

# gcc test.cpp
In file included from /usr/include/sys/pri.h:29,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:52,
                 from /usr/include/pthread.h:43,
                 from
/usr/local/include/g++-v3/powerpc-ibm-aix4.3.2.0/bits/gthr-default.h:37,
                 from
/usr/local/include/g++-v3/powerpc-ibm-aix4.3.2.0/bits/gthr.h:98,
                 from
/usr/local/include/g++-v3/powerpc-ibm-aix4.3.2.0/bits/c++io.h:37,
                 from /usr/local/include/g++-v3/bits/fpos.h:39,
                 from /usr/local/include/g++-v3/bits/std_iosfwd.h:41,
                 from /usr/local/include/g++-v3/bits/std_ios.h:39,
                 from /usr/local/include/g++-v3/bits/std_ostream.h:39,
                 from /usr/local/include/g++-v3/bits/std_iostream.h:40,
                 from /usr/local/include/g++-v3/iostream:31,
                 from test.cpp:1:
/usr/include/sys/proc.h:203: 'crid_t' is used as a type, but is not defined
as 
   a type.
/usr/include/sys/proc.h:212: 'class_id_t' is used as a type, but is not
defined 
   as a type.

What could be wrong?

Thank you in advance for your time

Christos Nikolakakos
Systems engineer
BBS 
Intrasoft SA

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

* Re: problems with include files during compilation
  2001-09-20  2:14 problems with include files during compilation Nikolakakos Christor
@ 2001-09-28 17:04 ` Alexandre Oliva
  0 siblings, 0 replies; 3+ messages in thread
From: Alexandre Oliva @ 2001-09-28 17:04 UTC (permalink / raw)
  To: Nikolakakos Christor; +Cc: gcc-help

On Sep 20, 2001, Nikolakakos Christor <cniko@intrasoft.gr> wrote:

> /usr/include/sys/proc.h:203: 'crid_t' is used as a type, but is not defined
> as 
>    a type.
> /usr/include/sys/proc.h:212: 'class_id_t' is used as a type, but is not
> defined 
>    as a type.

> What could be wrong?

Perhaps you've got a pre-compiled GCC for a different version of AIX,
that had fixincluded headers for that different version?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* problems with include files during compilation
@ 2001-09-21  0:16 Nikolakakos Christor
  0 siblings, 0 replies; 3+ messages in thread
From: Nikolakakos Christor @ 2001-09-21  0:16 UTC (permalink / raw)
  To: help-gcc

Hi,
I have installed gcc-3.0.1.0.exe on my AIX machine but when trying to make a
simple hello World program to test it, I get the following:

# gcc test.cpp
In file included from /usr/include/sys/pri.h:29,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:52,
                 from /usr/include/pthread.h:43,
                 from
/usr/local/include/g++-v3/powerpc-ibm-aix4.3.2.0/bits/gthr-default.h:37,
                 from
/usr/local/include/g++-v3/powerpc-ibm-aix4.3.2.0/bits/gthr.h:98,
                 from
/usr/local/include/g++-v3/powerpc-ibm-aix4.3.2.0/bits/c++io.h:37,
                 from /usr/local/include/g++-v3/bits/fpos.h:39,
                 from /usr/local/include/g++-v3/bits/std_iosfwd.h:41,
                 from /usr/local/include/g++-v3/bits/std_ios.h:39,
                 from /usr/local/include/g++-v3/bits/std_ostream.h:39,
                 from /usr/local/include/g++-v3/bits/std_iostream.h:40,
                 from /usr/local/include/g++-v3/iostream:31,
                 from test.cpp:1:
/usr/include/sys/proc.h:203: 'crid_t' is used as a type, but is not defined
as 
   a type.
/usr/include/sys/proc.h:212: 'class_id_t' is used as a type, but is not
defined 
   as a type.

What could be wrong?

Thank you in advance for your time

Christos Nikolakakos
Systems engineer
BBS 
Intrasoft SA

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

end of thread, other threads:[~2001-09-28 17:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20  2:14 problems with include files during compilation Nikolakakos Christor
2001-09-28 17:04 ` Alexandre Oliva
2001-09-21  0:16 Nikolakakos Christor

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