Skip to content

Ncview doesn't build #4

Open
Open
@aaschwanden

Description

The error is

mpicc  -g -L/u/aaschwan/local/lib -lpng -L. -ludunits2 -lexpat -L. -ludunits2 -L/u/aaschwan/local/netcdf/lib -lnetcdf -lSM -lICE  -lX11   -Wl,-rpath,/u/aaschwan/local/netcdf/lib -L/u/aaschwan/local/netcdf/lib -L/u/aaschwan/local/lib -o ncview  ncview.o file.o util.o do_buttons.o file_netcdf.o view.o do_print.o epic_time.o interface.o x_interface.o dataedit.o display_info.o plot_xy.o utils.o range.o printer_options.o overlay.o filesel.o set_options.o plot_range.o udu.o SciPlot.o RadioWidget.o cbar.o utCalendar2_cal.o calcalcs.o colormap_funcs.o make_tc_data.o stringlist.o handle_rc_file.o -lpng -L. -ludunits2 -lexpat -L. -ludunits2 -lm -L/u/aaschwan/local/netcdf/lib -lnetcdf -lXaw -lXt  -lSM -lICE  -lX11   -lpng 
file_netcdf.o: In function `netcdf_att_string':
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1793: undefined reference to `ncattget'
file_netcdf.o: In function `netcdf_global_att_string':
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1844: undefined reference to `ncattname'
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1845: undefined reference to `ncattinq'
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1862: undefined reference to `ncattget'
file_netcdf.o: In function `netcdf_dimvar_bounds_id':
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1932: undefined reference to `ncattinq'
/u/aaschwan/local/sources/ncview-2.1.7/src/file_netcdf.c:1937: undefined reference to `ncattget'

it does find the netcdf libs, I'm not sure what this is about.

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions