problems with include files during compilation

Nikolakakos Christor cniko@intrasoft.gr
Fri Sep 21 00:16:00 GMT 2001


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



More information about the Gcc-help mailing list