home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: gnu.g++.lib.bug
- Path: sparky!uunet!stanford.edu!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!coco.ms.washington.edu!rcf
- From: rcf@coco.ms.washington.edu (Richard Fairfield)
- Subject: need help with libg++ on DECstation running OSF/1
- Message-ID: <1992Nov10.005239.21699@coco.ms.washington.edu>
- Sender: gnulists@ai.mit.edu
- Organization: Univ of Wash , Math Sciences Computing Center
- Distribution: gnu
- Date: Tue, 10 Nov 1992 00:52:39 GMT
- Approved: bug-lib-g++@prep.ai.mit.edu
- Lines: 46
-
- 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
-
-