Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems of the 'make' step of installing the netcdf-c #423

Open
zrjxmu opened this issue Dec 4, 2023 · 0 comments
Open

Problems of the 'make' step of installing the netcdf-c #423

zrjxmu opened this issue Dec 4, 2023 · 0 comments

Comments

@zrjxmu
Copy link

zrjxmu commented Dec 4, 2023

$ make
make all-recursive
make[1]: Entering directory '/home/zrj/Downloads/netcdf/netcdf-c-4.9.2'
Making all in include
make[2]: Entering directory '/home/zrj/Downloads/netcdf/netcdf-c-4.9.2/include'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/zrj/Downloads/netcdf/netcdf-c-4.9.2/include'
Making all in libncxml
make[2]: Entering directory '/home/zrj/Downloads/netcdf/netcdf-c-4.9.2/libncxml'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/zrj/Downloads/netcdf/netcdf-c-4.9.2/libncxml'
Making all in libdispatch
make[2]: Entering directory '/home/zrj/Downloads/netcdf/netcdf-c-4.9.2/libdispatch'
/bin/bash ../libtool --tag=CC --mode=compile icc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I../oc2 -I../libnczarr -I/usr/local/hdf5/include -fno-strict-aliasing -MT libdispatch_la-nctime.lo -MD -MP -MF .deps/libdispatch_la-nctime.Tpo -c -o libdispatch_la-nctime.lo test -f 'nctime.c' || echo './'nctime.c
libtool: compile: icc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -I../oc2 -I../libnczarr -I/usr/local/hdf5/include -fno-strict-aliasing -MT libdispatch_la-nctime.lo -MD -MP -MF .deps/libdispatch_la-nctime.Tpo -c nctime.c -fPIC -DPIC -o .libs/libdispatch_la-nctime.o
/opt/intel/composer_xe_2013.2.146/compiler/include/math.h(1181): error: identifier "_LIB_VERSION_TYPE" is undefined
_LIBIMF_EXT _LIB_VERSIONIMF_TYPE _LIBIMF_PUBVAR _LIB_VERSIONIMF;
^

compilation aborted for nctime.c (code 2)
make[2]: *** [Makefile:897: libdispatch_la-nctime.lo] Error 1
make[2]: Leaving directory '/home/zrj/Downloads/netcdf/netcdf-c-4.9.2/libdispatch'
make[1]: *** [Makefile:769: all-recursive] Error 1
make[1]: Leaving directory '/home/zrj/Downloads/netcdf/netcdf-c-4.9.2'
make: *** [Makefile:614: all] Error 2

When I make the netcdf-c ,it went wrong. And the same situation occurred when I make the netcdf-fortran. Can someone tell me where the problem is?
My config.log is attached.

config.log

@zrjxmu zrjxmu changed the title problems when i make the netcdf-c Problems when I make the netcdf-c Dec 4, 2023
@zrjxmu zrjxmu changed the title Problems when I make the netcdf-c Problems of the 'make' step of installing the netcdf-c Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant