This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: Problems compiling libstdc++-2.90.3 on Solaris 2.6
- To: drepper@cygnus.com
- Subject: Re: Problems compiling libstdc++-2.90.3 on Solaris 2.6
- From: Dave Wreski <dave@nic.com>
- Date: Wed, 17 Feb 1999 23:55:08 -0500 (EST)
- cc: libstdc++-v3@cygnus.com
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