Thread View: gnu.g++.lib.bug
1 messages
1 total messages
Started by Bart Muyzer
Fri, 08 Jan 1993 08:45
Undefined symbols?? (building libg++ 2.3 with gcc 2.3.3 on HP9k700)
Author: Bart Muyzer
Date: Fri, 08 Jan 1993 08:45
Date: Fri, 08 Jan 1993 08:45
54 lines
2676 bytes
2676 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).
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