Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[photran] Could not find a file to match the module name

Dear all,

I've just updated from Fedora 12 to Fedora 14, and so, from "Eclipse Galileo 
3.3.201" and "Photran 5.0.0" to "Eclipse Helios 3.6.1" and "Photran 6.0.3".

I have a fortran program with several files and modules, which worked in the 
previous versions of Photran, and now, when I try to build it, I get the 
following error:


An internal error occurred during: "Build Project".
Could not find a file to match the module name: SDATA


When this happens the release folder is deleted.
The file SDATA.f90 is in the same directory of the rest of the files.


The only way to work around this problem is to rename the file SDATA.f90 to say 
aSDATA.f90 and build the program. This will give an error in the Eclipse console 
during the compilation. Next I rename the file back to SDATA.f90 and manually 
change the subdir.mk file (replace aSDATA by SDATA) and run make in a console 
outside Eclipse.


I've tried to rename the module to MODSDATA but I get the same error.
As I've mentioned before, I have several modules. However, this is the only one 
giving me problems.

How can I solve this? Can anyone help me?


Thanks,
JSantos


      


Back to the top