Invalid preprocessing directives in "gthr.h"

Edward Duffy eduffy3@bellsouth.net
Mon Jul 16 17:43:00 GMT 2001


Hi,

  This is my first time compiling GCC, and I've got some errors during the
"make bootstrap" after about an hour or
some of compilation.  I'm compiling on "i686-pc-linux-gnu", kernel version
2.4.3-20mdk (Mandrake).

The error is -

In file included from
../../../../gcc-3.0/libstdc++-v3/libsupc++/eh_alloc.cc:39:
../include/bits/gthr.h:29:2: invalid preprocessing directive
#_GLIBCPP_ifndef
../include/bits/gthr.h:30:2: invalid preprocessing directive
#_GLIBCPP_define
../include/bits/gthr.h:84:2: invalid preprocessing directive #_GLIBCPP_if
../include/bits/gthr.h:85:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:86:2: invalid preprocessing directive #_GLIBCPP_elif
../include/bits/gthr.h:87:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:88:2: invalid preprocessing directive #_GLIBCPP_elif
../include/bits/gthr.h:89:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:92:2: invalid preprocessing directive #_GLIBCPP_elif
../include/bits/gthr.h:93:2: invalid preprocessing directive #_GLIBCPP_if
../include/bits/gthr.h:94:2: invalid preprocessing directive
#_GLIBCPP_ifndef
../include/bits/gthr.h:95:2: invalid preprocessing directive
#_GLIBCPP_define
../include/bits/gthr.h:96:2: invalid preprocessing directive #_GLIBCPP_endif
../include/bits/gthr.h:97:2: invalid preprocessing directive #_GLIBCPP_endif
../include/bits/gthr.h:98:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:101:2: invalid preprocessing directive #_GLIBCPP_else
../include/bits/gthr.h:102:2: invalid preprocessing directive
#_GLIBCPP_include
../include/bits/gthr.h:103:2: invalid preprocessing directive
#_GLIBCPP_endif
../include/bits/gthr.h:105:2: invalid preprocessing directive
#_GLIBCPP_endif
gmake[2]: *** [eh_alloc.lo] Error 1

which ends up causing 3 more errors right after that.  Is there some option
I should enable with
the "make bootstrap"?

 Thank you,
   -duffy




More information about the Gcc-help mailing list