* COFF format problems
@ 1995-04-12 4:00 Mahnu Promayon
1995-04-13 4:00 ` David Metsky
0 siblings, 1 reply; 2+ messages in thread
From: Mahnu Promayon @ 1995-04-12 4:00 UTC (permalink / raw)
Hi !
In our Lab we've got Alpha AXP machines running OSF/1 v2.1
I've got from ftp an extraordinary GUI tools enterely based on Xlib
(named xforms).
The authors (T.C. Zhao and M. Overmans) deliver the library (libform.a)
to use it.
I can't link with this library on my alpha.
cc -c -O -std -I../FORMS freedraw.c
cc -O -s freedraw.o -o freedraw -L../FORMS -lforms -lXpm -lX11 -lm
ld:
Object file format error in: ../FORMS/libforms.a(forms.o): unknown type of section
*** Exit 1 (ignored)
The problem comes from the COFF format. This lib is compiled on a OSF/1 v3.0
using object files (.o) in
"COFF format alpha executable or object module not stripped -
version 3.11-6" (output of the command file)
Our OSF/1 v2.1 system product and use
"COFF format alpha executable or object module not stripped -
version 3.11-4"
Is there a mean to use this library ?
How can I tell 'ld' to use other COFF format ?
Is there a big difference between COFF 3.11-6 and COFF 3.11-4 (as the
version name doesn't tell) ?
Please help me !
This lib is very useful and powerful (you can ftp-ed it on
ftp://bloch.phys.uwm.edu/pub/xforms
PS :
The exact name of our OSF/1 version is :
DEC OSF/1 V2.1 (Rev. 250); Mon Apr 10 16:57:06 MET DST 1995
DEC OSF/1 V2.0 Worksystem Software (Rev. 240)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: COFF format problems
1995-04-12 4:00 COFF format problems Mahnu Promayon
@ 1995-04-13 4:00 ` David Metsky
0 siblings, 0 replies; 2+ messages in thread
From: David Metsky @ 1995-04-13 4:00 UTC (permalink / raw)
Sorry, but what you are doing is unsupported. The linker on your V2.0 system
doesn't know about changes that were made to the object file format on V3.0
system. The last digit in the version string (6 vs 4) shows which release
of the OS the object came from. We don't support running V3.0 objects on
V2.0 systems, or in general running new objects on old systems.
In specific, the error message from the V2.0 linker is refering to the .rconst
section that was added in V3.0. That library will only work on V3.0 and
greater systems.
--
David Metsky Digital UNIX Software Group metsky@zk3.dec.com
--
David Metsky Digital UNIX Software Group metsky@zk3.dec.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1995-04-13 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-04-12 4:00 COFF format problems Mahnu Promayon
1995-04-13 4:00 ` David Metsky
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox