This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
I've made some investigations concerning this compile error.
In the file libio/libioP.h on the line 569 there is a macro
VTABLE_LABEL(builtinbuf_vtable, builtinbuf, 10)
which does not expand correctly because the macro
_G_VTABLE_LABEL_PREFIX
is not defined. I can not find any file in the
libstdc++-2.90.5 distribution that sets this macro. So I assume
it must be set by the compiler.
Benjamin Kosnik wrote:
>
> > These are the steps I have made:
> >
> > 1) I created a directory bld-libstdc++
> > 2) I changed to that directory and excuted configure:
> > bash-2.03$ ../configure --prefix=${PWD%/*}/H-libstdc++
> > 3) Typing 'make' gives the above listed result
> >
> > I am using the following compiler:
> > bash-2.03$ gcc -v
> > Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.6/gcc-2.95/specs
> > gcc version gcc-2.95 19990615 (prerelease)
>
> Hmm. I just built the 2.90.5 release and today's CVS sources on solaris
> 2.6, and everything seems to work fine. Here's what I did:
>
> 1) pwd = /snowy
>
> 2) mkdir bld-sol2.6-libstdc++
>
> 3) ls gives:
> bld-sol2.6-libstdc++
> libstdc++-2.90.5
>
> 4) cd bld-sol2.6-libstdc++
>
> 5) ../libstdc++2.90.5/configure --verbose --prefix=/snowy/H-sol2.6-libstdc++
>
> 6) after it's done configuring, I type:
> make CC=gcc all
> and it builds.
>
> -benjamin
--
Dr. Ronald Tanner
SEMAFOR Informatik & Energie AG tel. +41 61 690 9888
Sperrstrasse 104B fax. +41 61 690 9880
CH 4057 Basel Switzerland mailto:tanner@semafor.ch
S/MIME Cryptographic Signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |