I tried to install Plotting Package in my PC(MAC with apple silicon). But when I 'make', it errors like that. How to solve it?
Thank you
Code: Select all
Warning: Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
/opt/homebrew/Cellar/open-mpi/4.1.4_1/bin/mpif90 -frepack-arrays -fallow-argument-mismatch -O3 Build_plt/cnt.o Build_plt/cpmpxy2d.o Build_plt/mapeod.o Build_plt/stumsl.o Build_plt/stumxy.o Build_plt/vvumxy.o -o /Users/usename/bin/cnt Build_plt/libUTIL.a -L/opt/homebrew/ncl-6.6.2/lib -lncarg -lncarg_gks -lncarg_c -L/opt/X11/lib -lX11 -L/opt/homebrew/Cellar/netcdf/4.8.1_3/lib -lnetcdff -lnetcdf
ld: warning: ignoring file /opt/homebrew/ncl-6.6.2/lib/libncarg_gks.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /opt/homebrew/ncl-6.6.2/lib/libncarg_c.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
ld: warning: ignoring file /opt/homebrew/ncl-6.6.2/lib/libncarg.a, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
Undefined symbols for architecture arm64:
"_aredam_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_arinam_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
_streamlines_ in libUTIL.a(streamlines.o)
_vecpack_ in libUTIL.a(vecpack.o)
_wind_barbs_ in libUTIL.a(wind_barbs.o)
"_arpram_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
_streamlines_ in libUTIL.a(streamlines.o)
_vecpack_ in libUTIL.a(vecpack.o)
_wind_barbs_ in libUTIL.a(wind_barbs.o)
"_arscam_", referenced from:
_streamlines_ in libUTIL.a(streamlines.o)
_vecpack_ in libUTIL.a(vecpack.o)
_wind_barbs_ in libUTIL.a(wind_barbs.o)
"_clsgks_", referenced from:
_crash_ in libUTIL.a(crash.o)
"_cpcldm_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cpdrpl_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cpgeti_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cpgetr_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cplbam_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cplbdr_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cppkcl_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cprect_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cprset_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cpsetc_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cpseti_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cpsetr_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_cufx_", referenced from:
_vvumxy_ in vvumxy.o
"_cufy_", referenced from:
_vvumxy_ in vvumxy.o
"_curve_", referenced from:
_stumsl_ in stumsl.o
_dombox_ in libUTIL.a(dombox.o)
"_curved_", referenced from:
_drawcl_ in libUTIL.a(drawcl.o)
"_dashdb_", referenced from:
_hbackground_ in libUTIL.a(hbackground.o)
"_frame_", referenced from:
_pltfield_ in cnt.o
(maybe you meant: _cnt_frame_)
"_frstpt_", referenced from:
_dombox_ in libUTIL.a(dombox.o)
_draw_line_ in libUTIL.a(draw_line.o)
"_getset_", referenced from:
_maplbm_ in libUTIL.a(hbackground.o)
_vecpack_ in libUTIL.a(vecpack.o)
_box_ in libUTIL.a(box.o)
"_gfa_", referenced from:
_clrbox_ in libUTIL.a(clrbox.o)
_colram_ in libUTIL.a(colram.o)
"_gpl_", referenced from:
_clrbox_ in libUTIL.a(clrbox.o)
_box_ in libUTIL.a(box.o)
"_gsasf_", referenced from:
_gksinit_ in libUTIL.a(gksinit.o)
"_gsclip_", referenced from:
_gksinit_ in libUTIL.a(gksinit.o)
_hbackground_ in libUTIL.a(hbackground.o)
_vecpack_ in libUTIL.a(vecpack.o)
_wind_barbs_ in libUTIL.a(wind_barbs.o)
"_gscr_", referenced from:
_get_parm_ in cnt.o
_draw_line_ in libUTIL.a(draw_line.o)
"_gsfaci_", referenced from:
_clrbox_ in libUTIL.a(clrbox.o)
_colram_ in libUTIL.a(colram.o)
"_gsfais_", referenced from:
_gksinit_ in libUTIL.a(gksinit.o)
_box_ in libUTIL.a(box.o)
"_gslwsc_", referenced from:
_dombox_ in libUTIL.a(dombox.o)
_clrbox_ in libUTIL.a(clrbox.o)
_colorbar_ in libUTIL.a(colorbar.o)
_draw_user_ in libUTIL.a(draw_user.o)
"_gsplci_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
_streamlines_ in libUTIL.a(streamlines.o)
_vecpack_ in libUTIL.a(vecpack.o)
_draw_line_ in libUTIL.a(draw_line.o)
_draw_user_ in libUTIL.a(draw_user.o)
_box_ in libUTIL.a(box.o)
"_icfell_", referenced from:
_mapgrd_.part.0 in libUTIL.a(hbackground.o)
_mapgrd_ in libUTIL.a(hbackground.o)
_hbackground_ in libUTIL.a(hbackground.o)
"_kfpx_", referenced from:
_maplbm_ in libUTIL.a(hbackground.o)
"_kfpy_", referenced from:
_maplbm_ in libUTIL.a(hbackground.o)
"_line_", referenced from:
_dombox_ in libUTIL.a(dombox.o)
_maplbm_ in libUTIL.a(hbackground.o)
_hbackground_ in libUTIL.a(hbackground.o)
(maybe you meant: _draw_line_)
"_lined_", referenced from:
_hbackground_ in libUTIL.a(hbackground.o)
"_mapaci_", referenced from:
_colram_ in libUTIL.a(colram.o)
"_mapbla_", referenced from:
_landmask_ in libUTIL.a(landmask.o)
"_mapdrw_", referenced from:
_cnt_frame_ in libUTIL.a(cnt_frame.o)
"_mapgtc_", referenced from:
_maplbm_ in libUTIL.a(hbackground.o)
"_mapgti_", referenced from:
_maplbm_ in libUTIL.a(hbackground.o)
"_mapgtr_", referenced from:
_maplbm_ in libUTIL.a(hbackground.o)
"_mapint_", referenced from:
_cnt_frame_ in libUTIL.a(cnt_frame.o)
"_mapiqa_", referenced from:
_landmask_ in libUTIL.a(landmask.o)
"_mapit_", referenced from:
_mapgrd_.part.0 in libUTIL.a(hbackground.o)
"_mapita_", referenced from:
_landmask_ in libUTIL.a(landmask.o)
"_maplmb_", referenced from:
_mapgrd_.part.0 in libUTIL.a(hbackground.o)
"_maproj_", referenced from:
_cnt_frame_ in libUTIL.a(cnt_frame.o)
"_mapset_", referenced from:
_cnt_frame_ in libUTIL.a(cnt_frame.o)
"_mapstc_", referenced from:
_cnt_frame_ in libUTIL.a(cnt_frame.o)
"_mapsti_", referenced from:
_cnt_frame_ in libUTIL.a(cnt_frame.o)
"_mapstl_", referenced from:
_cnt_frame_ in libUTIL.a(cnt_frame.o)
"_maptra_", referenced from:
_stumxy_ in stumxy.o
_vvumxy_ in vvumxy.o
"_maptri_", referenced from:
_stuixy_ in stumxy.o
"_maptrn_", referenced from:
_cpmpxy_ in cpmpxy2d.o
_stumxy_ in stumxy.o
_cnt_frame_ in libUTIL.a(cnt_frame.o)
_dombox_ in libUTIL.a(dombox.o)
_mapgrd_.part.0 in libUTIL.a(hbackground.o)
_hbackground_ in libUTIL.a(hbackground.o)
_wind_barbs_ in libUTIL.a(wind_barbs.o)
...
"_mdpchi_", referenced from:
_mapgrd_.part.0 in libUTIL.a(hbackground.o)
"_opngks_", referenced from:
_gksinit_ in libUTIL.a(gksinit.o)
"_pcseti_", referenced from:
_cntpack_ in libUTIL.a(cntpack.o)
"_plchhq_", referenced from:
_hbackground_ in libUTIL.a(hbackground.o)
_colorbar_ in libUTIL.a(colorbar.o)
_draw_line_ in libUTIL.a(draw_line.o)
_maptitles_ in libUTIL.a(maptitles.o)
"_plchmq_", referenced from:
_maptitles_ in libUTIL.a(maptitles.o)
"_pwrit_", referenced from:
_maplbm_ in libUTIL.a(hbackground.o)
"_set_", referenced from:
_pltfield_ in cnt.o
_cnt_frame_ in libUTIL.a(cnt_frame.o)
_dombox_ in libUTIL.a(dombox.o)
_hbackground_ in libUTIL.a(hbackground.o)
_wind_barbs_ in libUTIL.a(wind_barbs.o)
_colorbar_ in libUTIL.a(colorbar.o)
_maptitles_ in libUTIL.a(maptitles.o)
...
"_sflush_", referenced from:
_draw_line_ in libUTIL.a(draw_line.o)
_draw_user_ in libUTIL.a(draw_user.o)
"_stinit_", referenced from:
_streamlines_ in libUTIL.a(streamlines.o)
"_stream_", referenced from:
_streamlines_ in libUTIL.a(streamlines.o)
"_strset_", referenced from:
_streamlines_ in libUTIL.a(streamlines.o)
"_stseti_", referenced from:
_streamlines_ in libUTIL.a(streamlines.o)
"_stsetr_", referenced from:
_streamlines_ in libUTIL.a(streamlines.o)
"_vector_", referenced from:
_dombox_ in libUTIL.a(dombox.o)
_draw_line_ in libUTIL.a(draw_line.o)
"_vvectr_", referenced from:
_vecpack_ in libUTIL.a(vecpack.o)
"_vvgetr_", referenced from:
_vecpack_ in libUTIL.a(vecpack.o)
"_vvinit_", referenced from:
_vecpack_ in libUTIL.a(vecpack.o)
"_vvrset_", referenced from:
_vecpack_ in libUTIL.a(vecpack.o)
"_vvsetc_", referenced from:
_vecpack_ in libUTIL.a(vecpack.o)
"_vvseti_", referenced from:
_vecpack_ in libUTIL.a(vecpack.o)
"_vvsetr_", referenced from:
_vecpack_ in libUTIL.a(vecpack.o)
"_vvudmv_", referenced from:
_vecpack_ in libUTIL.a(vecpack.o)
"_wmbarb_", referenced from:
_wind_barbs_ in libUTIL.a(wind_barbs.o)
"_wmseti_", referenced from:
_wind_barbs_ in libUTIL.a(wind_barbs.o)
"_wmsetr_", referenced from:
_wind_barbs_ in libUTIL.a(wind_barbs.o)
ld: symbol(s) not found for architecture arm64
collect2: error: ld returned 1 exit status
make: *** [/Users/usename/bin/cnt] Error 1