From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <38f1bd9ff835628d86540cc3b0aaacbc.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199712112038.PAA09948@brg0> Date: Thu, 11 Dec 1997 12:37:51 -0700 (MST) From: Michal Jaegermann Subject: Re: problems with compilers bundled with RH Linux? > > My problems are : > 1. When it compiles a fortran subroutine of matrix > multiplication with parameter and dimension statements, the > compilation fails: > The error message is : floating exception during constant evaluation; > cannot recover. Which compiler? Unpatched f2c? When I fed this fstuff.f to g77 I got: g77 -o fstuff fstuff.f fstuff.f: In subroutine `matrixmulc': fstuff.f:40: do j=1,lx3 1 fstuff.f:51: (continued): end 2 Statement at (2) invalid in context established by statement at (1) fstuff.f:40: do j=1,lx3 ^ End of source file before end of block started at (^) I thought that g77 is a Fortran 77 compiler and it does not support extensions like 'do ... enddo'. Am I wrong? BTW - fort77 brought, correctly, Error on line 51: DO loop or BLOCK IF not closed > 2. If I don't use that subroutine, I still cannot get through. > The error is > /usr/lib/libf2c.so: undefined reference to 'MAIN__' ^^^^ This is your main entry point for a Fortran program. If you failed to compile then it does not exist. --mj -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ----- End Included Message ----- -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com