[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LYNX-DEV Intallation Problem
From: |
Roger Hill |
Subject: |
Re: LYNX-DEV Intallation Problem |
Date: |
Wed, 28 May 1997 08:13:59 -0400 (GMT+4) |
On Wed, 28 May 1997, T.E.Dickey wrote:
> > encountered the following error :
> >
> > /usr/ccs/bin/ld : Invalid fixup : 0x76 in file LYKeymap.o
>
From the HP-uX FAQ...may help:
------------------------BEGIN QUOTE ------------------------
Subject: 8.1 What's a P-FIXUP error?
Several questions in comp.sys.hp.hpux have involved the Gnu C compiler
and the linker message below :
gcc test_h.o -o test_h ../libg++.a -lm
ld: R_DATA_ONE_SYMBOL fixup in file ../libg++.a(streambuf.o) for code
unsat
symbol "abort" - use P' fixup
collect: /bin/ld returned 1 exit status
This is caused by the code generator emitting assembly code in a data
subspace to initialize a function pointer, equivalent to :
.word foo
where (in this case) foo() is an extern, and shared libraries are
referenced
by the executable being built (usually libc.sl).
NOTE:
This problem has been fixed in gcc-2.4.5.u5; if people are still running
into this error, then:
1) They've got an old version of gas (pa-gas-1.36.u8 I believe is the
first one do handle this correctly).
2) They're linking with a library built with some old combination of
gcc and gas.
The solution is to make sure gcc and gas are up-to-date and any libraries
have been built with the latest gcc/gas combination. For a temporary
workaround the option "-static" to gcc will suppress dynamic linking and
thus avoids the error.
-------------------------END QUOTE ---------------------
============================================================================
Roger Hill, P.O.Box 4T, Barbados, West Indies.
Tel:246-230-9596 Fax:246-433-8365 E-mail: address@hidden
============================================================================
;
; To UNSUBSCRIBE: Send a mail message to address@hidden
; with "unsubscribe lynx-dev" (without the
; quotation marks) on a line by itself.
;