From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e83947befde46936,start X-Google-Attributes: gidfee84,public From: Mahnu Promayon Subject: COFF format problems Date: 1995/04/12 Message-ID: <3mgeqp$fqm@imag.imag.fr>#1/1 X-Deja-AN: 100355196 organization: IMAG, Grenoble, France content-type: text/plain; charset="iso-8859-1" mime-version: 1.0 newsgroups: comp.unix.osf.osf1 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)