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: Dave Wreski <dave@nic.com>
- Subject: Re: Problems compiling libstdc++-2.90.3 on Solaris 2.6
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Wed, 17 Feb 1999 21:22:55 -0800 (pst)
- cc: drepper@cygnus.com, libstdc++-v3@cygnus.com
Dave:
I strongly urge you to use the CVS sources. We've been working on the
Solaris build/link problems, and the repository sources will get you much
further.
> 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:
libio has been imported and the Makefile's tweaked.
> 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 *)':
filebuf has been re-written, this file no longer exists.
-Benjamin