When I try to compile gcc-3.3 as a native compiler on Solaris 8 I get the following error: 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.) gmake[7]: *** [basic_file.lo] Error 1 gmake[7]: Leaving directory `/afs/clarkson.edu/software/Development/gcc-3.3/sun4x_58/src/devdir/sparc-sun-solaris2.8/sparcv9/libstdc++-v3/src' gmake[6]: *** [all-recursive] Error 1 gmake[6]: Leaving directory `/afs/clarkson.edu/software/Development/gcc-3.3/sun4x_58/src/devdir/sparc-sun-solaris2.8/sparcv9/libstdc++-v3' gmake[5]: *** [all-recursive-am] Error 2 gmake[5]: Leaving directory `/afs/clarkson.edu/software/Development/gcc-3.3/sun4x_58/src/devdir/sparc-sun-solaris2.8/sparcv9/libstdc++-v3' gmake[4]: *** [multi-do] Error 1 gmake[4]: Leaving directory `/afs/clarkson.edu/software/Development/gcc-3.3/sun4x_58/src/devdir/sparc-sun-solaris2.8/libstdc++-v3' gmake[3]: *** [all-multi] Error 2 gmake[3]: Leaving directory `/afs/clarkson.edu/software/Development/gcc-3.3/sun4x_58/src/devdir/sparc-sun-solaris2.8/libstdc++-v3' gmake[2]: *** [all-recursive-am] Error 2 gmake[2]: Leaving directory `/afs/clarkson.edu/software/Development/gcc-3.3/sun4x_58/src/devdir/sparc-sun-solaris2.8/libstdc++-v3' gmake[1]: *** [all-target-libstdc++-v3] Error 2 gmake[1]: Leaving directory `/afs/clarkson.edu/software/Development/gcc-3.3/sun4x_58/src/devdir' gmake: *** [bootstrap] Error 2 Has anyone seen this before, and if so, what is the solution? I am using gcc-3.3 and the latest versions of gmake, as, and ld. Thanks. Edward Andocs andocser@xxxxxxxxxxxx