🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by John Hight Fri, 06 Nov 1992 01:00
problem installing libg++-2.2
#441
Author: John Hight
Date: Fri, 06 Nov 1992 01:00
35 lines
1595 bytes
Ok, my first problem was this:

    make install-libg++
    ...[installs, ranlibs libg++.a]...
    ...[installs header files]...
    ./foo_main.run > foo_main.out
    foo_main.cc:32: failed assertion `Foo::nb_foos() == 2'

But I knew I wasn't using GNU ld.

I also thought I'd install gcc 2.3.1.  And after getting over a few
stubling blocks, I got GNU ld installed (from binutils 2.0), and then
I remade libg++2.2.  No problem with building libg++ again.

This time, upon doing "make install-libg++", test-install gets a
little further.  But it still fails, this time at the diff:

    diff ./expected.out foo_main.out >foo_main.diff
    *** Error code 1
    make: Fatal error: Command failed for target `foo_main.diff

and foo_main.diff contains:

  14,15d13
  < Destructing Foo(2) "static_foo" (remaining foos: 1)
  < Destructing Foo(1) "static_foo" (remaining foos: 0)

so it looks like foo_main is not calling the destructors for the first
two statif Foos.

Where do I start looking for the problem?

Thanks
-- 
John Hight, SRI International	hight@sri.com	415-859-4279
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