Re: [Rd] FORTRAN compilation error

From: Simon Urbanek <simon.urbanek_at_r-project.org>
Date: Wed, 08 Feb 2012 20:13:31 -0500

On Feb 8, 2012, at 3:16 PM, David L Lorenz wrote:

> I get an error when trying to compile a FORTRAN source file for use in a
> package that I am developing. The error, reported in 00install.out is
> below.
>
> * installing *source* package 'USGSstats' ...
> ** libs
>
> *** arch - i386
> C:/PROGRA~1/R/R-214~1.1/etc/i386/Makeconf:194: warning: overriding recipe
> for target `.m.o'
> C:/PROGRA~1/R/R-214~1.1/etc/i386/Makeconf:187: warning: ignoring old
> recipe for target `.m.o'
> gfortran -O3 -mtune=core2 -c seakenF.f -o seakenF.o
> "zseakenF.o" was unexpected at this time.
> make: *** [USGSstats.dll] Error 255
> ERROR: compilation failed for package 'USGSstats'
>
> I am running R 2.14.1 on a Windows 7 pc. The gnu compilers are all
> installed and work just fine. In fact, the .o file is created and I can
> manually create the .dll file.
> The error seems to be in the generation of the object name zseakenF.o. I
> do not see where that might have been generated in the Makeconf file.
>

The problem is caused by your Makeconf which you didn't share, so there is not much we can help you with ... You should remove the offending Makeconf to start with ...

Cheers,
Simon



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 09 Feb 2012 - 01:15:11 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 09 Feb 2012 - 15:40:16 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive