Article View: gnu.g++.help
Article #602Help compile libg++2.2 (almost have it)
From: John O'neill
Date: Mon, 23 Nov 1992 18:05
Date: Mon, 23 Nov 1992 18:05
44 lines
2213 bytes
2213 bytes
I am having Problems installing libg++-2.2.
I got everything to compile except 2 files from the iostream library.
I made libg++ without these two files but when I ran g++ I got the
following error message:
ld:
Undefined:
vscan__9streambufPCcPcPUc
vform__9streambufPCcPc
Seems like I need to compile sbufvscan.C and sbufvform.C.
Can someone tell me how to compile these two routines. I'm using
gcc version 2.1 on a decstation 5000/240 running Ultrix v4.2a.
( can version libg++-2.2 be used with gcc v2.1? ).
I include the output of running make and the error messages.
Thanks Alot,
John O'Neill
PS Quick question, how can you tell what version of libg++ you are using?
========================================================================
%make -f Makefile
`if [ -f ${rootprefix}../../gcc/gcc ] ; then echo ${rootprefix}../../gcc/gcc -B
${rootprefix}../../gcc/ ; else echo gcc ; fi` -g -I. -I.. -I. -I./../src -I./.
./g++-include -c `if [ -f ${rootprefix}../../gcc/gcc ] ; then echo -I${rootpref
ix}../../gcc/include ; else echo ; fi` sbufvform.C
sbufvform.C: In method `int streambuf::vform (const char *, char *)':
sbufvform.C:248: warning: implicit declaration of function `__builtin_alignof'
sbufvform.C:248: parse error before `4'
sbufvform.C:248: parse error before `4'
sbufvform.C:248: parse error before `['
sbufvform.C:260: parse error before `4'
sbufvform.C:260: parse error before `4'
sbufvform.C:260: parse error before `)'
.
. similar errors
.
sbufvform.C:427: parse error before `4'
sbufvform.C:427: parse error before `)'
*** Error code 1
Stop.
Similiar problem with sbufvscan.C (comment out sbufvform.C)
Technical Details
Message-ID:
<1992Nov23.180553.9257@sarah.albany.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!sarah!thor.albany.edu!jjo619References:
<1992Nov23.172435.8111@brtph560.bnr.ca>Show Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!sarah!thor.albany.edu!jjo619 From: jjo619@thor.albany.edu (John O'neill) Subject: Help compile libg++2.2 (almost have it) Message-ID: <1992Nov23.180553.9257@sarah.albany.edu> Summary: Cant compile 2 files in iostream Keywords: libg++,iostream install,dec5000 Sender: news@sarah.albany.edu (News Administrator) Organization: State University of New York at Albany References: <1992Nov23.172435.8111@brtph560.bnr.ca> Date: Mon, 23 Nov 92 18:05:53 GMT Lines: 45