This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

problem building gcc 3.3 on Solaris 9


I'm trying to build gcc 3.3 on Solaris 9.  The bootstrap works fine, but it's
dying while trying to compile the 32-bit parts of libstdc++.  Here are the error
messages:

/pkgs/build/gcc-3.3/gcc/xgcc -shared-libgcc -B/pkgs/build/gcc-3.3/gcc/
-nostdinc++
-L/pkgs/build/gcc-3.3/sparcv9-sun-solaris2.9/sparcv7/libstdc++-v3/src
-L/pkgs/build/gcc-3.3/sparcv9-sun-solaris2.9/sparcv7/libstdc++-v3/src/.libs
-B/pkgs/sparcv9-sun-solaris2.9/bin/ -B/pkgs/sparcv9-sun-solaris2.9/lib/ -isystem
/pkgs/sparcv9-sun-solaris2.9/include -m32 -nostdinc++
-I/pkgs/build/gcc-3.3/sparcv9-sun-solaris2.9/sparcv7/libstdc++-v3/include/sparcv9-sun-solaris2.9
-I/pkgs/build/gcc-3.3/sparcv9-sun-solaris2.9/sparcv7/libstdc++-v3/include
-I../../../../../../src/gcc-3.3/libstdc++-v3/libsupc++
-I../../../../../../src/gcc-3.3/libstdc++-v3/libmath -g -O2 -m32
-fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings
-fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c
basic_file.cc  -fPIC -DPIC -o .libs/basic_file.o
basic_file.cc: In member function `streamsize 
   std::__basic_file<char>::showmanyc_helper()':
basic_file.cc:245: error: `ioctl' undeclared (first use this function)
basic_file.cc:245: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
make[7]: *** [basic_file.lo] Error 1


ioctl() is defined in /usr/include/unistd.h on Solaris.  I don't see this
explicity included in basic_file.cc, but it may happen somewhere else.  Has
anyone else run into this problem?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]