Re: stk and solaris

From: Andrew Dorrell <andrewd_at_ee.uts.edu.au>
Date: Wed, 22 Nov 95 12:24:25 EST

>
> andrewd_at_ee.uts.edu.au (Andrew Dorrell) writes:
>
> >Cannot open object file (ld.so.1: /usr/local/lib/stk/2.2/SunOS-5.4-sun4/stk-bin: fatal: relocation error: symbol not found: STk_eq: referenced in /usr/local/lib/stk/2.2/SunOS-5.4-sun4/hash.so): "/usr/local/lib/stk/2.2/SunOS-5.4-sun4/hash.so"
> >
>
> Looks like it might have trouble with the hash code not being -PIC...
>
> >I am using gcc-2.7.1 with gnu-as and gnu-ld (from binutils-2.6--this might
> >be the source of the problem?). As can be seen, it is a Solaris 2.4 system
> >(Sparc 10) and the STk version is 2.2.
>
> My understanding is that a new version of the binutils has just been
> released, ostensibly with support for -PIC in the as program. I don't
> know if this is the version you're using or not.

        I believe that 2.6 is the latest binutils release---the documentation
certainly says it has PIC support. However binutils is THE problem. The
above problem disappeared when I recompiled gcc using native ld and as.

Ta,
-- 
------------------------------------------------------------------------------
Mr Andrew Dorrell
School of Electrical Engineering                 *
University of Technology, Sydney                     *
PO Box 123                                     *
Broadway NSW 2007                                   .  
AUSTRALIA
                                                    *       /---\  Whoo?
Phone:   61 2 330 2395                                      (o o) /
Fax:     61 2 330 2435                                      ( : )  
email:   andrewd_at_ee.uts.edu.au                               ^ ^     
    OR   dorrell_at_ihf.uts.edu.au
------------------------------------------------------------------------------
Received on Wed Nov 22 1995 - 02:26:57 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST