undefined reference to 'chdir_' and 'system_'

Hi,

I am getting this error when I compile CCSM.


Code:
shr_sys_mod.o: In function `__shr_sys_mod_MOD_shr_sys_chdir':
shr_sys_mod.F90:(.text+0x7da): undefined reference to `chdir_'
shr_sys_mod.o: In function `__shr_sys_mod_MOD_shr_sys_system':
shr_sys_mod.F90:(.text+0x7fb): undefined reference to `system_'
collect2: ld returned 1 exit status


My Macros.Linux can be found here - http://pastebin.com/f24c5c581

I have configured it as generic_linux and am trying T31_gx3v5.

Could someone tell me what is missing? Let me know if you may require any other information.

Thanks,
Sumit
 
Back
Top