🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
1 messages
1 total messages Started by Richard Fairfield Tue, 10 Nov 1992 00:52
need help with libg++ on DECstation running OSF/1
#319
Author: Richard Fairfield
Date: Tue, 10 Nov 1992 00:52
45 lines
2614 bytes
Can anyone help me figure out how to build libg++.a on a DECstation 5000
running DEC OSF/1 1.1?

I have successfully built and installed gcc 2.3.1 but it did not include
libg++.a (why not?).

I got a copy of libg++-2.2 but the configure program does not seem to like
"decstation-osf1" as a host type.

I tried "decstation" as a host type. configure swallowed that but "make all"
failed with this error:

Next, I edited config/mh-decstation to specify the gcc compiler instead of cc.
THe "make all" got a lot further this time but eventually it failed with
these errors:

   gcc -g -nostdinc++ -I. -I.. -I. -I./../src -I./../g++-include -c  filebuf.C
   In file included from /usr/include/machine/machparam.h:50, from /usr/include/sys
   /param.h:79, from ./../g++-include/sys/param.h:13, from /usr/include/sys/file.h:
   68, from ./../g++-include/sys/file.h:17, from filebuf.C:20:
   /usr/include/machine/endian.h:109: `w' undeclared, outside of functions
   /usr/include/machine/endian.h:110: parse error before `w'
   /usr/include/machine/endian.h:111: register name not specified for `w'
   /usr/include/machine/endian.h:111: parse error before `{'
   /usr/include/machine/endian.h:118: `l' undeclared, outside of functions
   /usr/include/machine/endian.h:119: parse error before `l'
   /usr/include/machine/endian.h:120: register name not specified for `l'
   /usr/include/machine/endian.h:120: parse error before `{'
   In file included from /usr/include/sys/file.h:68, from ./../g++-include/sys/file
   .h:17, from filebuf.C:20:
   ./../g++-include/sys/param.h:20: parse error before `}'
   In file included from filebuf.C:20:
   ./../g++-include/sys/file.h:27: parse error before `}'
   filebuf.C: In method `int  filebuf::sys_write (const void *, long int)':
   filebuf.C:484: warning: ANSI C++ forbids implicit conversion from `void *' in argument passing


Now I'm really stumped.

thanks,
Richard Fairfield
Math Sciences Computing Center
University of Washington
206-685-2303
rcf@ms.washington.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads