Problems compiling libstdc++-2.90.3 on Solaris 2.6

Dave Wreski dave@nic.com
Wed Feb 17 20:55:00 GMT 1999


Hi Ulrich,

Ok, I've compiled and installed egcs:

# gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/egcs-2.91.60/specs
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)

but now I still can't build libstdc++.  I had to add -I/usr/include/g++ to
the ./src/Makefile becuase it couldn't find libio.h.  This helped, but
then failed with:

g++ -DHAVE_CONFIG_H -I. -I../../src -I.. -nostdinc++ -I../.. -I../../stl
-I/usr/local/include/g++ -fno-implicit-templates -D_GNU_SOURCE -g -c -fPIC
-DPIC ../../src/os_raw.cc
../../src/os_raw.cc: In function `struct file_type * _S_os_open(const char
*, enum _Ios_Openmode)':
../../src/os_raw.cc:80: type `file_type' is not a base type for type
`FILE'
../../src/os_raw.cc: In function `int _S_os_close(struct file_type *)':

[...]

Am I missing another header?
Thanks,
Dave





More information about the Libstdc++ mailing list