Contribute  :  Advanced Search  :  Site Statistics  :  Directory  :  Background  :  Links  :  Polls  :  FAQ  :  My Downloads  :  Forum  :  Calendar  
RSPt Site The best RSPt in the world!
Welcome to RSPt Site
Sunday, September 05 2010 @ 05:13 AM CEST
 

 
 Home »  Install »  Compiling error
Prev Topic Next Next Topic Printable Version
Compiling error Views: 1111
 Wednesday, June 11 2008 @ 10:10 PM CEST
Hi,

I am trying to compile rspt144 on my SuSE 10.2 based notebook using ifort_9.1. But I got the next message when I type "make rspt":

make[3]: *** No rule to make target `comlib/orbmom_ad_com', needed by `conden.o'. Stop.

This file is really absent. Where I can find it?

Thanks,
Eyvaz.

  Profile    PM    Email   
 Quote 
 
 Thursday, June 12 2008 @ 09:04 AM CEST
Duh! I have for some stupid reason put the file in src/include instead of src/comlib. Move the file and try again. Sorry for this.

/Admin

  Profile    PM    Email    Website 
 Quote 
 
 Thursday, June 12 2008 @ 03:37 PM CEST
Thanks, this one now is fixed. But I met another problem. Right after compiling of mdos_par.F, makefile tries to do something strange using command "m2c".

ifort -O3 -assume nounderscore -extend_source -DF_APPENDS_UNDERSCORE=0 -c -o mdos_par.o mdos_par.F
m2c -o mdos_erot.o mdos_erot.mod
make[3]: m2c: Command not found

My question is whether it is really correct or it is a bug of compiler/system.

Bests,
Eyvaz.

  Profile    PM    Email   
 Quote 
 
 Thursday, June 12 2008 @ 03:56 PM CEST
This has to do with the makefile and where mod files are, an architecture that should be modifierd. The simplest solution is to do "make -r".

jxw
  Profile    PM    Email   
 Quote 
 
 Thursday, June 12 2008 @ 04:21 PM CEST
This can happen if the source file for a module is touched after the module has been compiled. If so, remove the mod file (NN.mod) and compile again or as jxw said, use make -r which really is a better solution.

/Admin

  Profile    PM    Email    Website 
 Quote 
 
 Friday, August 29 2008 @ 06:33 PM CEST
This error can be fixed by adding one line somewhere (e.g. one line below .SUFFIXS) in the Makefile under rsptDir/src ----
%.o: %.mod

/jxz

  Profile    PM    Email    Website 
 Quote 
 

 
Topic Legend:
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
Subscribe to this topic Subscribe to this topic
You may not post messages
Full HTML is allowed
Words are not censored