Article View: gnu.g++.lib.bug
Article #91libg++ 2.2 problem
From: Jon Freeman
Date: Mon, 27 Jul 1992 20:47
Date: Mon, 27 Jul 1992 20:47
36 lines
1390 bytes
1390 bytes
I built libg++ version 2.2 on a HP 9000/730 (running HP-UX 8.05)
using GCC version 2.2.2. Whenever I try to link libg++.a with
any C++ program, no matter how trivial, I always get the following
error from the linker:
ld: Unsatisfied symbols:
_vt.filebuf (data)
For example, here's what happens when I try to install libg++-2.2:
-----------------------------------------------
...
cd test-install; make test-90S \
CC=/usr/local/bin/gcc COMPILE_FLAGS="" LIBS=-lg++
./foo_main.run > foo_main.out
diff ./expected.out foo_main.out >foo_main.diff
/usr/local/bin/gcc -c a.cc
/usr/local/bin/gcc -o a a.o -lg++
ld: Unsatisfied symbols:
_vt.filebuf (data)
collect: /bin/ld returned 1 exit status
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
-----------------------------------------------
What is the cause of this error?
Thanks,
Jon
(freeman@devon.prepnet.com)
Technical Details
Message-ID:
<9207272047.AA14817@_devon.prepnet.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!devon.prepnet.com!freemanShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!devon.prepnet.com!freeman From: freeman@devon.prepnet.com (Jon Freeman) Subject: libg++ 2.2 problem Message-ID: <9207272047.AA14817@_devon.prepnet.com> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Mon, 27 Jul 1992 20:47:24 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 37