首页 新闻 赞助 找找看

netcdf3.6.3 安装问题,紧急,求解。

0
悬赏园豆:30 [待解决问题]

netcdf 3.6.3 执行make check 完毕后,报错如下:
libtool: link: ( cd ".libs" && rm -f "libnetcdf.la" && ln -s "../libnetcdf.la" "libnetcdf.la" )
m4 -DAPI=C ../man/netcdf.m4 >netcdf.3 || rm netcdf.3
/bin/sh: m4: 未找到命令
make t_nc
make[3]: 进入目录“/home/sun/netcdf-3.6.3/libsrc”
/bin/sh ../libtool --tag=CC --mode=link cc -g -O2 -L/usr/local/tool/hdf5/lib -o t_nc t_nc-t_nc.o libnetcdf.la
libtool: link: cc -g -O2 -o t_nc t_nc-t_nc.o -L/usr/local/tool/hdf5/lib ./.libs/libnetcdf.a
t_nc-t_nc.o: In function main': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:380: undefined reference to nc_put_att_text'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:382: undefined reference to nc_get_att_text' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:385: undefined reference to nc_put_att_text'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:387: undefined reference to nc_get_att_text' t_nc-t_nc.o: In function createtestvars':
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:216: undefined reference to nc_put_att_text' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:220: undefined reference to nc_put_att_double'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:224: undefined reference to nc_put_att_double' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:228: undefined reference to nc_put_att_double'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:232: undefined reference to nc_put_att_double' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:236: undefined reference to nc_put_att_text'
t_nc-t_nc.o: In function main': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:400: undefined reference to nc_put_att_int'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:402: undefined reference to nc_put_att_double' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:408: undefined reference to nc_put_var1_int'
t_nc-t_nc.o: In function fill_seq': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:276: undefined reference to nc_put_vara_float'
t_nc-t_nc.o: In function main': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:434: undefined reference to nc_put_vara_schar'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:437: undefined reference to nc_put_var1_schar' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:439: undefined reference to nc_put_var1_schar'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:442: undefined reference to nc_put_vara_text' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:444: undefined reference to nc_put_var1_text'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:446: undefined reference to nc_put_var1_text' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:449: undefined reference to nc_put_var1_short'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:452: undefined reference to nc_put_var1_float' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:455: undefined reference to nc_put_var1_double'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:457: undefined reference to nc_put_var1_double' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:498: undefined reference to nc_inq_attname'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:500: undefined reference to nc_inq_att' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:503: undefined reference to nc_get_att_text'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:547: undefined reference to nc_inq_attname' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:556: undefined reference to nc_inq_att'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:560: undefined reference to nc_get_att_text' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:566: undefined reference to nc_inq_att'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:571: undefined reference to nc_get_att_double' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:576: undefined reference to nc_inq_att'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:581: undefined reference to nc_get_att_double' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:586: undefined reference to nc_inq_att'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:591: undefined reference to nc_get_att_double' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:596: undefined reference to nc_inq_att'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:601: undefined reference to nc_get_att_double' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:605: undefined reference to nc_inq_att'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:609: undefined reference to nc_get_att_text' t_nc-t_nc.o: In function check_fill_seq':
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:303: undefined reference to nc_get_var1_float' t_nc-t_nc.o: In function main':
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:619: undefined reference to nc_get_var1_double' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:622: undefined reference to nc_get_var1_double'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:625: undefined reference to nc_get_var1_float' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:628: undefined reference to nc_get_var1_int'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:631: undefined reference to nc_get_var1_short' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:634: undefined reference to nc_get_var1_text'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:638: undefined reference to nc_get_var1_text' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:643: undefined reference to nc_get_vara_text'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:646: undefined reference to nc_get_var1_schar' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:650: undefined reference to nc_get_var1_schar'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:655: undefined reference to nc_get_vara_schar' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/t_nc.c:661: undefined reference to nc_get_var_double'
./.libs/libnetcdf.a(nc.o): In function free_NC': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/nc.c:94: undefined reference to free_NC_attrarrayV'
./.libs/libnetcdf.a(nc.o): In function read_NC': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/nc.c:409: undefined reference to free_NC_attrarrayV'
./.libs/libnetcdf.a(nc.o): In function fill_added': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/nc.c:560: undefined reference to fill_NC_var'
./.libs/libnetcdf.a(nc.o): In function fill_added_recs': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/nc.c:533: undefined reference to fill_NC_var'
./.libs/libnetcdf.a(nc.o): In function fillerup': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/nc.c:487: undefined reference to fill_NC_var'
./.libs/libnetcdf.a(nc.o): In function read_numrecs': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/nc.c:353: undefined reference to ncx_get_size_t'
./.libs/libnetcdf.a(nc.o): In function write_numrecs': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/nc.c:387: undefined reference to ncx_put_size_t'
./.libs/libnetcdf.a(nc.o): In function dup_NC': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/nc.c:143: undefined reference to dup_NC_attrarrayV'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_put_NCtype': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:210: undefined reference to ncx_put_int_int'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_get_NCtype': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:223: undefined reference to ncx_get_int_int'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_get_NC_string': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:314: undefined reference to ncx_pad_getn_text'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_put_nc_type': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:165: undefined reference to ncx_put_int_int'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_get_nc_type': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:179: undefined reference to ncx_get_int_int'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_get_NC_attrarray': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:810: undefined reference to free_NC_attrarrayV'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_get_NC_attr': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:672: undefined reference to new_x_NC_attr'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:682: undefined reference to free_NC_attr' ./.libs/libnetcdf.a(v1hpg.o): In function ncx_put_NC':
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:1240: undefined reference to ncx_putn_schar_schar' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:1246: undefined reference to ncx_put_size_t'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:1238: undefined reference to ncx_putn_schar_schar' ./.libs/libnetcdf.a(v1hpg.o): In function v1h_put_NC_var':
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:864: undefined reference to ncx_putn_int_int' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:884: undefined reference to ncx_put_off_t'
./.libs/libnetcdf.a(v1hpg.o): In function nc_get_NC': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:1343: undefined reference to ncx_getn_schar_schar'
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:1373: undefined reference to ncx_get_size_t' ./.libs/libnetcdf.a(v1hpg.o): In function v1h_get_NC_var':
/space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:919: undefined reference to ncx_getn_int_int' /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:939: undefined reference to ncx_get_off_t'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_put_size_t': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:138: undefined reference to ncx_put_size_t'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_get_size_t': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:149: undefined reference to ncx_get_size_t'
./.libs/libnetcdf.a(v1hpg.o): In function v1h_put_NC_string': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/v1hpg.c:276: undefined reference to ncx_pad_putn_text'
./.libs/libnetcdf.a(var.o): In function free_NC_var': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/var.c:26: undefined reference to free_NC_attrarrayV'
./.libs/libnetcdf.a(var.o): In function dup_NC_var': /space/cmadaas/dpl/NMIC_ART_P/app/netcdf-3.6.3/libsrc/var.c:119: undefined reference to dup_NC_attrarrayV'
collect2: error: ld returned 1 exit status
make[3]: *** [t_nc] 错误 1
make[3]: 离开目录“/home/sun/netcdf-3.6.3/libsrc”
make[2]: *** [check-am] 错误 2
make[2]: 离开目录“/home/sun/netcdf-3.6.3/libsrc”
make[1]: *** [check] 错误 2
make[1]: 离开目录“/home/sun/netcdf-3.6.3/libsrc”
make: *** [check-recursive] 错误 1

沐雨&清杺的主页 沐雨&清杺 | 初学一级 | 园豆:120
提问于:2022-08-24 10:10
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册