problem compiling libstdc++-v3 on MacOS 10.1.1

Sailor Quasar squasar@squasar.dhs.org
Mon Dec 10 22:22:00 GMT 2001


Hi everyone. I'm sure this is some kind of newbie question, and that it's 
been answered before, but I looked in the archives and couldn't find 
anything helpful about it, so I guess I'll ask you :). I'm trying to 
compile the latest CVS sources of gcc under MacOS 10.1.1 (original 
compiler is the one that Apple ships with the Developer Tools). The 
compiler itself bootstraps fine (after some twiddling with configure and 
using the 4-stage bootstrap), but I can't get libstdc++ to compile. My 
error output is below; can anyone help me? I'm at my wits' end; I've been 
trying to get GCC to compile forever. I know the system-specific notes 
say that Darwin isn't supported until GCC 3.1, but right up until here 
everything works absolutely great. Thanks for your help :).

[snip a huge pile of stuff where GCC itself compiles]
Making all in src
/bin/sh ../libtool --tag CXX --mode=compile 
/Users/squasar/src/gccobj/gcc/xgcc -B/Users/squasar/src/gccobj/gcc/ 
-nostdinc++  
-L/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/src 
-L/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/src/.libs 
-B/usr/local/powerpc-apple-darwin5.1/bin/ 
-B/usr/local/powerpc-apple-darwin5.1/lib/ -isystem 
/usr/local/powerpc-apple-darwin5.1/include -nostdinc++ 
-I/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/po
werpc-apple-darwin5.1 
-I/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include 
-I../../../../gcc/libstdc++-v3/libsupc++  
-I../../../../gcc/libstdc++-v3/libmath    -g -O2 -fno-implicit-templates  
-Wall -Wno-format -W -Wwrite-strings -Winline  
-fdiagnostics-show-location=once  -g    -c basic_file.cc
/Users/squasar/src/gccobj/gcc/xgcc -B/Users/squasar/src/gccobj/gcc/ 
-nostdinc++ 
-L/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/src 
-L/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/src/.libs 
-B/usr/local/powerpc-apple-darwin5.1/bin/ 
-B/usr/local/powerpc-apple-darwin5.1/lib/ -isystem 
/usr/local/powerpc-apple-darwin5.1/include -nostdinc++ 
-I/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/po
werpc-apple-darwin5.1 
-I/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include 
-I../../../../gcc/libstdc++-v3/libsupc++ 
-I../../../../gcc/libstdc++-v3/libmath -g -O2 -fno-implicit-templates 
-Wall -Wno-format -W -Wwrite-strings -Winline 
-fdiagnostics-show-location=once -g -c basic_file.cc -o basic_file.o
In file included from 
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/localefwd.h:48,
                 from 
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_ios.h:48,
                 from 
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/basic_file.h:45,
                 from basic_file.cc:34:
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:57: `
   isalnum' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:58: `
   isalpha' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:59: `
   iscntrl' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:60: `
   isdigit' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:61: `
   isgraph' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:62: `
   islower' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:63: `
   isprint' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:64: `
   ispunct' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:65: `
   isspace' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:66: `
   isupper' not declared
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_cctype.h:67: `
   isxdigit' not declared
In file included from 
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/locale_facets.h:393,
                 from 
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/basic_ios.h:41,
                 from 
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/std_ios.h:51,
                 from 
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/bits
/basic_file.h:45,
                 from basic_file.cc:34:
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h: In
   member function `bool std::ctype<char>::is(unsigned int, char) const':
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:50: no
   matching function for call to `isspace(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:53: no
   matching function for call to `isprint(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:56: no
   matching function for call to `iscntrl(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:59: no
   matching function for call to `isupper(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:62: no
   matching function for call to `islower(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:65: no
   matching function for call to `isalpha(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:68: no
   matching function for call to `isdigit(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:71: no
   matching function for call to `ispunct(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:74: no
   matching function for call to `isxdigit(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:77: no
   matching function for call to `isalnum(char&)'
/Users/squasar/src/gccobj/powerpc-apple-darwin5.1/libstdc++-v3/include/powe
rpc-apple-darwin5.1/bits/ctype_inline.h:80: no
   matching function for call to `isgraph(char&)'
make[4]: *** [basic_file.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive-am] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [bootstrap4] Error 2


-- Sailor Quasar, High CodeMaster of the Web, scourge of systems.

Thy constants shall become volatile.

Email: squasar@squasar.dhs.org



More information about the Libstdc++ mailing list