Article View: gnu.g++.help
Article #675Undefined symbols?? (building libg++ 2.3 with gcc 2.3.3 on HP9k700)
From: Bart Muyzer
Date: Fri, 08 Jan 1993 11:30
Date: Fri, 08 Jan 1993 11:30
54 lines
2666 bytes
2666 bytes
Hello,
[Sorry if you see this message more than once; there seems to be something
wrong with posting to "world"...]
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.113025.25153@cv.ruu.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!ruuinf!prisma.cv.ruu.nl!bartmShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.help Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sun4nl!ruuinf!prisma.cv.ruu.nl!bartm From: bartm@cv.ruu.nl (Bart Muyzer) Subject: Undefined symbols?? (building libg++ 2.3 with gcc 2.3.3 on HP9k700) Originator: bartm@mind.cv.ruu.nl Sender: usenet@cv.ruu.nl (Usenet Network) Message-ID: <1993Jan8.113025.25153@cv.ruu.nl> Date: Fri, 8 Jan 1993 11:30:25 GMT Nntp-Posting-Host: mind.cv.ruu.nl Organization: University of Utrecht, 3D Computer Vision Research Group Lines: 54