home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / g / help / 1404 < prev    next >
Encoding:
Text File  |  1992-11-06  |  1.5 KB  |  47 lines

  1. Newsgroups: gnu.g++.help
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!usc!cs.utexas.edu!sun-barr!ames!purdue!mentor.cc.purdue.edu!noose.ecn.purdue.edu!sparkyfs.erg.sri.com!hight
  3. From: hight@sri.com (John Hight)
  4. Subject: problem installing libg++-2.2
  5. Message-ID: <1992Nov6.010052.13094@erg.sri.com>
  6. Originator: hight@gorilla.erg.sri.com
  7. Sender: news@erg.sri.com
  8. Organization: SRI International, Menlo Park, CA
  9. Date: Fri, 6 Nov 92 01:00:52 GMT
  10. Lines: 35
  11.  
  12. Ok, my first problem was this:
  13.  
  14.     make install-libg++
  15.     ...[installs, ranlibs libg++.a]...
  16.     ...[installs header files]...
  17.     ./foo_main.run > foo_main.out
  18.     foo_main.cc:32: failed assertion `Foo::nb_foos() == 2'
  19.  
  20. But I knew I wasn't using GNU ld.
  21.  
  22. I also thought I'd install gcc 2.3.1.  And after getting over a few
  23. stubling blocks, I got GNU ld installed (from binutils 2.0), and then
  24. I remade libg++2.2.  No problem with building libg++ again.
  25.  
  26. This time, upon doing "make install-libg++", test-install gets a
  27. little further.  But it still fails, this time at the diff:
  28.  
  29.     diff ./expected.out foo_main.out >foo_main.diff
  30.     *** Error code 1
  31.     make: Fatal error: Command failed for target `foo_main.diff
  32.  
  33. and foo_main.diff contains:
  34.  
  35.   14,15d13
  36.   < Destructing Foo(2) "static_foo" (remaining foos: 1)
  37.   < Destructing Foo(1) "static_foo" (remaining foos: 0)
  38.  
  39. so it looks like foo_main is not calling the destructors for the first
  40. two statif Foos.
  41.  
  42. Where do I start looking for the problem?
  43.  
  44. Thanks
  45. -- 
  46. John Hight, SRI International    hight@sri.com    415-859-4279
  47.