sudo apt install csh
این کار رو انجام دادم. اوکی شد اما در نهایت دوباره با این error زیر مواجه شدم.(اخرش دوباره error داد)
حالا باید چیکار کنم؟
make
make depend
make[1]: Entering directory '/home/mahsa/Desktop/vic_model/code_vic'
make[1]: Nothing to be done for 'depend'.
make[1]: Leaving directory '/home/mahsa/Desktop/vic_model/code_vic'
make model
make[1]: Entering directory '/home/mahsa/Desktop/vic_model/code_vic'
gcc -o vicNl CalcAerodynamic.o CalcBlowingSnow.o SnowPackEnergyBalance.o StabilityCorrection.o advected_sensible_heat.o alloc_atmos.o arno_evap.o calc_air_temperature.o calc_atmos_energy_bal.o calc_cloud_cover_fraction.o calc_forcing_stats.o calc_longwave.o calc_rainonly.o calc_root_fraction.o calc_snow_coverage.o calc_surf_energy_bal.o calc_veg_params.o calc_water_energy_balance_errors.o canopy_evap.o check_files.o check_state_file.o close_files.o cmd_proc.o compress_files.o compute_dz.o compute_pot_evap.o compute_treeline.o correct_precip.o display_current_settings.o dist_prec.o estimate_T1.o free_dist_prcp.o free_vegcon.o frozen_soil.o full_energy.o func_atmos_energy_bal.o func_atmos_moist_bal.o func_canopy_energy_bal.o func_surf_energy_bal.o get_dist.o get_force_type.o get_global_param.o initialize_atmos.o initialize_model_state.o initialize_global.o initialize_new_storm.o initialize_snow.o initialize_soil.o initialize_veg.o latent_heat_from_snow.o make_cell_data.o make_dist_prcp.o make_dmy.o make_energy_bal.o make_in_and_outfiles.o make_snow_data.o make_veg_var.o massrelease.o modify_Ksat.o mtclim42_vic.o mtclim42_wrapper.o newt_raph_func_fast.o nrerror.o open_debug.o open_file.o open_state_file.o output_list_utils.o parse_output_info.o penman.o prepare_full_energy.o put_data.o read_arcinfo_ascii.o read_atmos_data.o read_forcing_data.o read_initial_model_state.o read_snowband.o read_soilparam.o read_soilparam_arc.o read_veglib.o read_vegparam.o redistribute_during_storm.o root_brent.o runoff.o set_output_defaults.o snow_intercept.o snow_melt.o snow_utility.o soil_conduction.o soil_thermal_eqn.o solve_snow.o store_moisture_for_debug.o surface_fluxes.o svp.o vicNl.o vicerror.o write_atmosdata.o write_data.o write_debug.o write_forcing_file.o write_header.o write_layer.o write_model_state.o write_snow_data.o write_soilparam.o write_vegparam.o write_vegvar.o lakes.eb.o initialize_lake.o read_lakeparam.o ice_melt.o IceEnergyBalance.o water_energy_balance.o water_under_ice.o -I. -g -Wall -Wno-unused -lm
/usr/bin/ld: CalcAerodynamic.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: CalcBlowingSnow.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: SnowPackEnergyBalance.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: alloc_atmos.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: arno_evap.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: calc_air_temperature.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: calc_atmos_energy_bal.o: relocation R_X86_64_32 against symbol `func_atmos_energy_bal' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: calc_cloud_cover_fraction.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: calc_rainonly.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: calc_root_fraction.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: calc_surf_energy_bal.o: relocation R_X86_64_32 against symbol `func_surf_energy_bal' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: calc_water_energy_balance_errors.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: check_files.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: check_state_file.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: cmd_proc.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: compress_files.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: compute_dz.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: compute_pot_evap.o: relocation R_X86_64_32S against symbol `ref_veg_ref_crop' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: display_current_settings.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: dist_prec.o: relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: frozen_soil.o: relocation R_X86_64_32S against `.bss' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: func_surf_energy_bal.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: get_force_type.o: relocation R_X86_64_32S against undefined symbol `param_set' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: get_global_param.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: initialize_atmos.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: initialize_model_state.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: initialize_global.o: relocation R_X86_64_32S against undefined symbol `param_set' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: initialize_new_storm.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: make_dmy.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: make_in_and_outfiles.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: mtclim42_vic.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: mtclim42_wrapper.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: nrerror.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: open_file.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: open_state_file.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: output_list_utils.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: parse_output_info.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: put_data.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_arcinfo_ascii.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_atmos_data.o: relocation R_X86_64_32S against undefined symbol `param_set' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_forcing_data.o: relocation R_X86_64_32S against undefined symbol `param_set' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_initial_model_state.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_snowband.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_soilparam.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_soilparam_arc.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_veglib.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_vegparam.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: redistribute_during_storm.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: root_brent.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: set_output_defaults.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: snow_intercept.o: relocation R_X86_64_32 against symbol `func_canopy_energy_bal' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: snow_melt.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: soil_conduction.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: solve_snow.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: vicNl.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: vicerror.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: write_data.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: write_header.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: write_layer.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: write_model_state.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: write_snow_data.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: write_soilparam.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: write_vegparam.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: write_vegvar.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: lakes.eb.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: initialize_lake.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: read_lakeparam.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: ice_melt.o: relocation R_X86_64_32 against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: IceEnergyBalance.o: relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:139: recipe for target 'model' failed
make[1]: *** [model] Error 1
make[1]: Leaving directory '/home/mahsa/Desktop/vic_model/code_vic'
Makefile:112: recipe for target 'all' failed
make: *** [all] Error 2