安装netcdf 出错了,请大家帮忙看看吧

编译打包和其他
回复
haha_ha
帖子: 3
注册时间: 2007-10-08 20:35

安装netcdf 出错了,请大家帮忙看看吧

#1

帖子 haha_ha » 2007-11-04 19:04

在装netcdf 时,运行./configure后,再make check 时出现了以下错误:

make[2]: Entering directory `/home/Desktop/netcdf-3.6.1/src/nf_test'
+ f77 -c test_get.F
+ f77 -c test_put.F
+ f77 -c nf_error.F
+ f77 -c nf_test.F
+ f77 -c test_read.F
+ f77 -c test_write.F
+ f77 -c util.F
cc -c -g -O2 -Df2cFortran fortlib.c
f77 -o nf_test test_get.o test_put.o nf_error.o nf_test.o test_read.o test_write.o util.o fortlib.o ../libsrc/libnetcdf.a -lm
nf_test.o: In function `MAIN__':
ccsnds7S.f:(.text+0x4c0): undefined reference to `test_nf_get_var1_text__'
ccsnds7S.f:(.text+0x4dc): undefined reference to `test_nf_get_var1_int1__'
ccsnds7S.f:(.text+0x4f8): undefined reference to `test_nf_get_var1_int2__'
ccsnds7S.f:(.text+0x514): undefined reference to `test_nf_get_var1_int__'
ccsnds7S.f:(.text+0x530): undefined reference to `test_nf_get_var1_real__'
ccsnds7S.f:(.text+0x54c): undefined reference to `test_nf_get_var1_double__'
collect2: ld returned 1 exit status

大家帮忙看看吧,这是什么错误???谢谢啦~~
回复