[R] 1501-511 Compilation failed for file ch2inv.f - R on AIX 5.2.

Prof Brian Ripley ripley at stats.ox.ac.uk
Fri May 23 08:39:16 CEST 2008


Look like you need to use a Fortran compiler set to accept Fortran 77 
(which the R sources are).

We don't know what 'f95' is, and this is not really an R issue so please 
ask your sysadmins for help.

On Thu, 22 May 2008, Senthilkumaran wrote:

>
> Hi,
>
> While executing the make after successful configuration (./configure
> --with-readline=no --without-iconv), the following error occurs:
>
> mbf2n11s (Regatta) /saswork/R/R-2.7.0$ make
> Target "R" is up to date.
> Target "R" is up to date.
> Target "R" is up to date.
> Target "R" is up to date.
> Target "Makedeps" is up to date.
> Target "libbz2.a" is up to date.
> Target "Makedeps" is up to date.
> Target "libpcre.a" is up to date.
> Target "Makedeps" is up to date.
> Target "libz.a" is up to date.
> Target "Makedeps" is up to date.
>        f95   -g -c ch2inv.f -o ch2inv.o
> "ch2inv.f", line 1.2: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 2.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 3.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 4.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 5.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 6.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 7.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 7.39: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 8.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 9.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 9.41: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 10.8: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 11.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 12.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 13.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 13.38: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 14.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 15.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 16.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 17.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 18.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 18.32: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 19.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 20.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 21.2: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 22.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 23.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 24.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 25.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 26.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 27.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 28.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 29.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 30.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 30.30: 1515-018 (S) Incorrect character found in source at
> line 30 in column 30.  Hexadecimal value of character is 7B.
> "ch2inv.f", line 30.39: 1515-018 (S) Incorrect character found in source at
> line 30 in column 39.  Hexadecimal value of character is 7D.
> "ch2inv.f", line 31.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 32.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 33.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 34.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 35.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 36.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 37.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 38.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 39.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 40.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 41.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 42.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 43.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 44.0: 1515-010 (S) String is missing a closing delimiter.
> Closing delimiter assumed at end of line.
> "ch2inv.f", line 44.4: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 45.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 46.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 47.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 48.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 49.0: 1515-010 (S) String is missing a closing delimiter.
> Closing delimiter assumed at end of line.
> "ch2inv.f", line 49.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 50.3: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 51.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", 1515-002 (S) END card is missing.  One is assumed.
> ** _main   === End of Compilation 1 ===
> "ch2inv.f", line 53.7: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 54.6: 1514-050 (S) Specification statement is out of order.
> Statement is ignored.
> "ch2inv.f", line 55.6: 1514-050 (S) Specification statement is out of order.
> Statement is ignored.
> "ch2inv.f", line 56.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 57.6: 1514-050 (S) Specification statement is out of order.
> Statement is ignored.
> "ch2inv.f", line 58.6: 1514-050 (S) Specification statement is out of order.
> Statement is ignored.
> "ch2inv.f", line 59.1: 1515-019 (S) Syntax is incorrect.
> "ch2inv.f", line 66.11: 1515-025 (S) Only a name of a variable, array
> element, or character substring is permitted on the left hand side of an
> assignment statement.
> "ch2inv.f", line 69.18: 1516-040 (S) Item has not been defined with the
> EXTERNAL or INTRINSIC attribute.
> "ch2inv.f", line 72.11: 1515-025 (S) Only a name of a variable, array
> element, or character substring is permitted on the left hand side of an
> assignment statement.
> ** ch2inv   === End of Compilation 2 ===
> 1501-511  Compilation failed for file ch2inv.f.
> make: 1254-004 The error code from the last command is 1.
>
> Stop.
> make: 1254-004 The error code from the last command is 2.
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
> Stop.
> make: 1254-004 The error code from the last command is 1.
>
> Stop.
> mbf2n11s (Regatta) /saswork/R/R-2.7.0$
>
> Can someone help me out on this issue?
>
> Thanks,
> Senthilkumaran Ramaiyan
> Miller Brewing Company
> 414-931-2436
> -- 
> View this message in context: http://www.nabble.com/1501-511--Compilation-failed-for-file-ch2inv.f---R-on-AIX-5.2.-tp17412439p17412439.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list