[R] fortran compile problem with R-1.1.0

Jim Robison-Cox jimrc at gauss.math.montana.edu
Tue Jun 20 01:04:21 CEST 2000


Hello List,

   Knowing I would eventually need to ask for help on the list, I've held
off my thanks and congratulations on the 1.+ releases of R.  I am amazed
at the dedication of the R-core team, and do add my applause and thanks.

  I've had a compile problem with the latest version which has not
occurred before.  I'm compiling under:

platform sparc-sun-solaris2.6
arch     sparc               
os       solaris2.6          
system   sparc, solaris2.6   

 and have used f77 without problems in the past.  Now --with-f77 gives a
compile error, --with-g77 gives a different error, but --with-f2c does
work.

Specifying  --with-f77 I got the following in config.log:
*****  config.log file:  *****
configure:2187: checking whether the Fortran 77 compiler (f77  ) works
configure:2200: f77 -o conftest   conftest.f -L/usr/local/lib 1>&5
conftest.f:
 MAIN conftest:
Undefined                       first referenced
 symbol                             in file
__f77_exit                          conftest.o
f77_init                            conftest.o
__f77_init                          conftest.o
ld: fatal: Symbol referencing errors. No output written to conftest
configure: failed program was:

      program conftest
      end

*** EOF config.log  ****

And if I try --with-g77 I get:
 ***  config.log contains: ***
configure:2187: checking whether the Fortran 77 compiler (g77  ) works
configure:2200: g77 -o conftest   conftest.f -L/usr/local/lib 1>&5
gcc: language f77 not recognized
ld: elf error: file conftest.f: unknown type, unable to process using
elf(3E) libraries
ld: fatal: File processing errors. No output written to conftest
configure: failed program was:

      program conftest
      end

  *** EOF config.log


  I've seen no reports of compile problem under Solaris, so I assume I'm
the only one with this problem.  Does anyone have suggestions about where
to look for a solution?  

Thanks for any suggestions, and again for all the hard work.
Jim

Jim Robison-Cox               ____________    
Department of Math Sciences  |            |       phone: (406)994-5340
2-214 Wilson Hall             \   BZN, MT |       FAX:   (406)994-1789
Montana State University       |  *_______|
Bozeman, MT 59717-2400          \_|      e-mail: jimrc at math.montana.edu 




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list