Article View: gnu.g++.lib.bug
Article #431HELP: libg++2.3/gcc 2.3.3 undefined symbols(HP9k700)
From: Bart Muyzer
Date: Fri, 08 Jan 1993 08:39
Date: Fri, 08 Jan 1993 08:39
51 lines
2571 bytes
2571 bytes
Hello,
As a followup to the patches I posted a while ago which make libg++ 2.2 work
for HP9000/700 with gcc 2.3.1, I'm currently porting libg++ 2.3 to the
9000/700. I use gcc 2.3.3 fo this.
The port has been fairly easy so far, however one problem remains that I
haven't been able to solve yet:
While running "make check" in libg++/etc/fib I get:
gcc -O -I./../../iostream -I./../../src -I./../.. -o fib fib.o ../../li bg++.a
ld: Unsatisfied symbols:
__ls__FR7ostreamd (code)
__ls__FR7ostreami (code)
__ls__FR7ostreamPCc (code)
collect: /bin/ld returned 1 exit status
*** Error code 1
Adding a little more verbosity, I get:
gcc -v -O -I./../../iostream -I./../../src -I./../.. -o fib fib.o ../../libg++.a
Reading specs from /usr/local/lib/gcc-lib/hp700-hpux/2.3.3/specs
gcc version 2.3.3
/usr/local/lib/gcc-lib/hp700-hpux/2.3.3/ld -u main -a archive -o fib /lib/crt0.o fib.o ../../libg++.a /usr/local/lib/gcc-lib/hp700-hpux/2.3.3/libgcc.a -lc /usr/local/lib/gcc-lib/hp700-hpux/2.3.3/libgcc.a
ld: Unsatisfied symbols:
__ls__FR7ostreamd (code)
__ls__FR7ostreami (code)
__ls__FR7ostreamPCc (code)
collect: /bin/ld returned 1 exit status
Poking around in libg++ learned me that all of the symbols aren't even there!!
I compiled libg++ 2.3 with gcc 2.3.3 so it cannot be the "name mangling
problem" described by Brendan Kehoe (I guess).
The funny thing is that when I link with libg++ 2.2 (built with gcc 2.3.1),
all works well. In libg++ 2.2, the symbols seem to come from the "iostream.o"
module.
Could anybody please help me with this? I would like to post a new set of
patches ASAP to share my experiences...
Any help will be greatly appreciated!
>] Bartm [<
--
Bart Muyzer, Systems and Network Administrator, [NIC-Whois handle: BJM9]
3D Computer Vision, Room E02.222, University Hospital Utrecht,
Heidelberglaan 100, 3584 CX Utrecht, Holland. E-mail: bartm@cv.ruu.nl
Fax: +31-30-513399. Tel: +31-30-506711 (w), +31-3402-52157 (h).
Technical Details
Message-ID:
<1993Jan8.083903.23153@cv.ruu.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cv.ruu.NL!bartmShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.lib.bug Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!cv.ruu.NL!bartm From: bartm@cv.ruu.NL (Bart Muyzer) Subject: HELP: libg++2.3/gcc 2.3.3 undefined symbols(HP9k700) Message-ID: <1993Jan8.083903.23153@cv.ruu.nl> Keywords: undefined,iostream Sender: gnulists@ai.mit.edu Organization: University of Utrecht, 3D Computer Vision Research Group Distribution: gnu Date: Fri, 8 Jan 1993 08:39:03 GMT Approved: bug-lib-g++@prep.ai.mit.edu Lines: 53