Hello,
I am trying to compile a code containing many files and I get the following error. I am not too sure what I need to change - any insights would be appreciated.
g95 -cpp -O3 model_Function.o model_Global.o model_Init.o model_Initialize.o model_Integrator.o model_Jacobian.o model_JacobianSP.o model_LinearAlgebra.o model_Main.o model_Model.o model_Monitor.o model_Parameters.o model_Precision.o model_Rates.o model_Util.o constants.o tuv_old/TUV.o tuv_old/functs.o tuv_old/grids.o tuv_old/la_srb.o tuv_old/numer.o tuv_old/odo3.o tuv_old/odrl.o tuv_old/orbit.o tuv_old/qys.o tuv_old/rdetfl.o tuv_old/rdinp.o tuv_old/rdxs.o tuv_old/rtrans.o tuv_old/rxn.o tuv_old/savout.o tuv_old/setaer.o tuv_old/setalb.o tuv_old/setcld.o tuv_old/setno2.o tuv_old/seto2.o tuv_old/setsnw.o tuv_old/setso2.o tuv_old/sphers.o tuv_old/swbiol.o tuv_old/swchem.o tuv_old/swphys.o tuv_old/vpair.o tuv_old/vpo3.o tuv_old/vptmp.o tuv_old/wshift.o -o model
ld: duplicate symbol _MAIN_ in tuv_old/TUV.o and model_Main.o
make: *** [model] Error 1
Cheers,
Anoop
I am trying to compile a code containing many files and I get the following error. I am not too sure what I need to change - any insights would be appreciated.
g95 -cpp -O3 model_Function.o model_Global.o model_Init.o model_Initialize.o model_Integrator.o model_Jacobian.o model_JacobianSP.o model_LinearAlgebra.o model_Main.o model_Model.o model_Monitor.o model_Parameters.o model_Precision.o model_Rates.o model_Util.o constants.o tuv_old/TUV.o tuv_old/functs.o tuv_old/grids.o tuv_old/la_srb.o tuv_old/numer.o tuv_old/odo3.o tuv_old/odrl.o tuv_old/orbit.o tuv_old/qys.o tuv_old/rdetfl.o tuv_old/rdinp.o tuv_old/rdxs.o tuv_old/rtrans.o tuv_old/rxn.o tuv_old/savout.o tuv_old/setaer.o tuv_old/setalb.o tuv_old/setcld.o tuv_old/setno2.o tuv_old/seto2.o tuv_old/setsnw.o tuv_old/setso2.o tuv_old/sphers.o tuv_old/swbiol.o tuv_old/swchem.o tuv_old/swphys.o tuv_old/vpair.o tuv_old/vpo3.o tuv_old/vptmp.o tuv_old/wshift.o -o model
ld: duplicate symbol _MAIN_ in tuv_old/TUV.o and model_Main.o
make: *** [model] Error 1
Cheers,
Anoop