🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gnu.g++.lib.bug
2 messages
2 total messages Started by Bart Muyzer Thu, 07 Jan 1993 11:06
libg++ 2.3 and gcc 2.3.3 on HP9k700; unsatisfied symbols??
#425
Author: Bart Muyzer
Date: Thu, 07 Jan 1993 11:06
46 lines
2379 bytes
Hello,

As a followup to the patches for libg++ 2.2 on HP9000/700 systems, I'm
currently putting together a set of patches that makes a working libg++ 2.3 
with gcc 2.3.3 on  that kind of systems. I've managed to build the library and
to run nearly all the checks.

There's one problem I have been unable to  solve so far.
In the directory libg++/etc/fib, I get the following while running "make
check":

 gcc -O  -I./../../iostream -I./../../src -I./../.. -o fib fib.o ../../libg++.a
 ld: Unsatisfied symbols:
    __ls__FR7ostreamd (code)
    __ls__FR7ostreami (code)
    __ls__FR7ostreamPCc (code)
 collect: /bin/ld returned 1 exit status

Adding a little more verbosity uncovers:

 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

It turns out that the "Unsatisfied symbols" aren't even in the just build
libg++.a!!????

When I link with version 2.2 of libg++, all works well. In libg++ 2.2, the
"Unsatisfied symbols" seem to come from the file 'iostream.o'.

Could anybody please help me ASAP? I want to post the patches the minute I
have things work to share them with other net-ters...

Thans very much in advance,
							>] 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). 
Re: libg++ 2.3 and gcc 2.3.3 on HP9k700; unsatisfied symbols??
#436
Author: Adrian Thomas Filipi-Martin
Date: Fri, 08 Jan 1993 15:43
39 lines
2125 bytes
--
In article <1993Jan7.110644.14286@cv.ruu.nl>, bartm@cv.ruu.NL (Bart
Muyzer) writes:
|> 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
|>
|>It turns out that the "Unsatisfied symbols" aren't even in the just
|>build
|>libg++.a!!????
|>
|>When I link with version 2.2 of libg++, all works well. In libg++ 2.2,
|>the
|>"Unsatisfied symbols" seem to come from the file 'iostream.o'.
|>

Try putting 'setenv LDOPTS -L /usr/local/lib' in your .cshrc. I just
expierienced
a similar linker problem when I installed gcc yesterday on a 345 w/8.0.

The hp linker doesn't look in any directories other than /lib. :(.

Hope this helps.

Adrian
----------------------------------+--------------------------------------------
adrian@cs.wm.edu          ---->>>>| Support you local programmer,
adrian@cebafi.cebaf.gov     --->>>| STOP Software Patent Abuses NOW!
Member: The League for        -->>| membership info at prep.ai.mit.edu:/pub/lpf
       Programming Freedom      ->| print "join.ps" for an application
----------------------------------+--------------------------------------------
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