From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c19c3d938c9383d9,start X-Google-Attributes: gidfee84,public From: kern@donald.inria.fr (Michel Kern) Subject: Re: g77 running on dUNIX 3.2? Date: 1995/10/11 Message-ID: <45g73k$qvc@news-rocq.inria.fr>#1/1 X-Deja-AN: 117379391 references: content-type: text/plain; charset=iso-8859-1 organization: I.N.R.I.A., Rocquencourt mime-version: 1.0 reply-to: Michel.Kern@inria.fr newsgroups: comp.unix.osf.osf1 In article , grzes@twins.pk.edu.pl (Grzegorz Mucha) writes: |> Hi, |> |> I've compiled g77 0.5.16 using gcc 2.7.0 on DEC Alpha running dUNIX 3.2. |> Everything seemed to be OK, but that's all I get during compilation: |> |> (73)|alpha:~/FORTRAN> g77 aqq.f |> collect2: ld returned 1 exit status |> /usr/ucb/ld: |> Object file format error in: /usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.0/libf2c.a(main.o): bad isym in proc table entry |> |> aqq.f is as follows: |> |> program aqq |> write(*,*)'Hello world' |> end |> |> Any idea? Yup, I gpot through this one :) You have to modify the Makefiles (or more precisely Makefile.in) in /f/runtime/{libF77,libI77} Comment out the last 2 lines in the .c.o rule .c.o: $(CC) -c -DSkip_f2c_Undefs $(ALL_CFLAGS) $(CGFLAGS) $< ## ld -r -x -o $@x $@ ## mv $@x $@ I don't know why it doesn't work that way, but that fixed it for me, and Dave Love agrees that these 2 lines shouldn't be there. Hope that helps, Michel -- Michel KERN | Tel. (33) (1) 39 63 58 41 INRIA Rocquencourt | E-mail: Michel.Kern@inria.fr 78153 Le Chesnay Cedex | FRANCE |