home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / g / lib / bug / 585 < prev    next >
Encoding:
Text File  |  1992-11-09  |  2.5 KB  |  59 lines

  1. Newsgroups: gnu.g++.lib.bug
  2. 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
  3. From: rcf@coco.ms.washington.edu (Richard Fairfield)
  4. Subject: need help with libg++ on DECstation running OSF/1
  5. Message-ID: <1992Nov10.005239.21699@coco.ms.washington.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Univ of Wash , Math Sciences Computing Center
  8. Distribution: gnu
  9. Date: Tue, 10 Nov 1992 00:52:39 GMT
  10. Approved: bug-lib-g++@prep.ai.mit.edu
  11. Lines: 46
  12.  
  13. Can anyone help me figure out how to build libg++.a on a DECstation 5000
  14. running DEC OSF/1 1.1?
  15.  
  16. I have successfully built and installed gcc 2.3.1 but it did not include
  17. libg++.a (why not?).
  18.  
  19. I got a copy of libg++-2.2 but the configure program does not seem to like
  20. "decstation-osf1" as a host type.
  21.  
  22. I tried "decstation" as a host type. configure swallowed that but "make all"
  23. failed with this error:
  24.  
  25. Next, I edited config/mh-decstation to specify the gcc compiler instead of cc.
  26. THe "make all" got a lot further this time but eventually it failed with
  27. these errors:
  28.  
  29.    gcc -g -nostdinc++ -I. -I.. -I. -I./../src -I./../g++-include -c  filebuf.C
  30.    In file included from /usr/include/machine/machparam.h:50, from /usr/include/sys
  31.    /param.h:79, from ./../g++-include/sys/param.h:13, from /usr/include/sys/file.h:
  32.    68, from ./../g++-include/sys/file.h:17, from filebuf.C:20:
  33.    /usr/include/machine/endian.h:109: `w' undeclared, outside of functions
  34.    /usr/include/machine/endian.h:110: parse error before `w'
  35.    /usr/include/machine/endian.h:111: register name not specified for `w'
  36.    /usr/include/machine/endian.h:111: parse error before `{'
  37.    /usr/include/machine/endian.h:118: `l' undeclared, outside of functions
  38.    /usr/include/machine/endian.h:119: parse error before `l'
  39.    /usr/include/machine/endian.h:120: register name not specified for `l'
  40.    /usr/include/machine/endian.h:120: parse error before `{'
  41.    In file included from /usr/include/sys/file.h:68, from ./../g++-include/sys/file
  42.    .h:17, from filebuf.C:20:
  43.    ./../g++-include/sys/param.h:20: parse error before `}'
  44.    In file included from filebuf.C:20:
  45.    ./../g++-include/sys/file.h:27: parse error before `}'
  46.    filebuf.C: In method `int  filebuf::sys_write (const void *, long int)':
  47.    filebuf.C:484: warning: ANSI C++ forbids implicit conversion from `void *' in argument passing
  48.  
  49.  
  50. Now I'm really stumped.
  51.  
  52. thanks,
  53. Richard Fairfield
  54. Math Sciences Computing Center
  55. University of Washington
  56. 206-685-2303
  57. rcf@ms.washington.edu
  58.  
  59.