home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / hp / 13993 < prev    next >
Encoding:
Text File  |  1992-12-11  |  2.4 KB  |  56 lines

  1. Newsgroups: comp.sys.hp
  2. Path: sparky!uunet!think.com!paperboy.osf.org!osf.org!gilles
  3. From: gilles@osf.org (Gilles Benati)
  4. Subject: libg++-2.3 with gcc-2.3.1 on HP9000/720
  5. Message-ID: <1992Dec11.205758.14442@osf.org>
  6. Keywords: libg++ gcc
  7. Sender: news@osf.org (USENET News System)
  8. Organization: Open Software Foundation
  9. Date: Fri, 11 Dec 1992 20:57:58 GMT
  10. Lines: 44
  11.  
  12. (repost)
  13.  
  14. I need some help to compile libg++-2.3 on Hp9000/720 HP-UX
  15. I got the HP binaries of gcc-2.3.1 from jaguar.cs.utah.edu (including gas)
  16.  
  17. I run `configure hp9k720' them `make all'.
  18. The compilation dies in libg++/src
  19.     gcc -g -O -nostdinc++ -I.. -I. -I./../iostream   -c BitSet.cc
  20. /usr/tmp/cca13777.s:unknown:FATAL:XXX symbol_value: scope=0, type=1073799168
  21.  
  22. I get the same error in many other files :
  23. src/BitString.cc, src/Fix.cc, iostream/strstream.C, iostream/PlotFile
  24. I got discouraged and stopped compiling at this point.
  25.  
  26.  
  27. Here is a more verbose output of what is happening :
  28.  
  29.     gcc -v -g -O -nostdinc++ -I.. -I. -I./../iostream   -c BitSet.cc
  30. Reading specs from /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/specs
  31. gcc version 2.3.1
  32.  /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/cpp -lang-c++ -nostdinc++ -v -I.. -I. -I./../iostream -undef -D__GNUC__=2 -D__GNUG__=2 -D__cplusplus -Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D_HPUX_SOURCE -D__hppa__ -D__hp9000s800__ -D__hp9000s800 -D__hp9k8__ -D__PWB__ -D__hpux__ -D__unix__ -D___HPUX_SOURCE__ -D__hppa -D__hp9000s800 -D__hp9000s800 -D__hp9k8 -D__PWB -D__hpux -D__unix -D___HPUX_SOURCE -D__OPTIMIZE__ -g BitSet.cc /usr/tmp/cca14464.i
  33. GNU CPP version 2.3.1 (hppa)
  34.  /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/cc1plus /usr/tmp/cca14464.i -quiet -dumpbase BitSet.cc -g -O -version -o /usr/tmp/cca14464.s
  35. GNU C++ version 2.3.1 (hppa) compiled by GNU C version 2.3.1.
  36.  /usr/local/lib/gcc-lib/hp700-hpux/2.3.1/as -o BitSet.o /usr/tmp/cca14464.s
  37. /usr/tmp/cca14464.s:unknown:FATAL:XXX symbol_value: scope=0, type=1073799168
  38.  
  39.  
  40. First, I thought that I didn't have the right version of gas but it is said
  41. to be working equally well on 700 and 800 series.
  42.  
  43. Isn't this version of gcc supposed to be working on hp9k720 ? I only see
  44. reference to hp9k8 on the compiler output, though the binaries are stored
  45. in gcc-lib/hp700-hpux.
  46.  
  47. I saw quite a few patches for libg++2.2 on hp. Do I have to go through all
  48. of them and try to figure out what is still to be needed on libg++2.3 ?
  49.  
  50. By the way, is it necessary to run fixinclude on hp ?
  51.  
  52. I would appreciate any help.
  53. Thanks.
  54.  
  55. Gilles
  56.