- 积分
- 832
- 贡献
-
- 精华
- 在线时间
- 小时
- 注册时间
- 2012-4-11
- 最后登录
- 1970-1-1
|
发表于 2014-5-3 22:05:07
|
显示全部楼层
用提到的一键安装,遇到了问题,求帮助啊。
make check-am
make[4]: Entering directory `/home/usr/netcdf/GEOS-Chem-Libraries/src/netcdf-fortran-4.2/fortran'
depbase=`echo fort-attio.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DDLL_EXPORT -I/usr/library_dir/include -fpic -mcmodel=medium -MT fort-attio.lo -MD -MP -MF $depbase.Tpo -c -o fort-attio.lo fort-attio.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -DDLL_EXPORT -I/usr/library_dir/include -fpic -mcmodel=medium -MT fort-attio.lo -MD -MP -MF .deps/fort-attio.Tpo -c fort-attio.c -o fort-attio.o
In file included from fort-attio.c:8:
ncfortran.h:24:42: error: NF_INT_IS_C_... not defined: No such file or directory
fort-attio.c: In function 'NF_INT_cfF':
fort-attio.c:14: error: expected declaration specifiers before 'NF_INTEGER'
fort-attio.c:21: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER'
fort-attio.c:122: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER'
fort-attio.c:134: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER'
fort-attio.c:142: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER'
fort-attio.c:149: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NF_INTEGER'
fort-attio.c:149: error: expected '{' at end of input
make[4]: *** [fort-attio.lo] Error 1
make[4]: Leaving directory `/home/usr/netcdf/GEOS-Chem-Libraries/src/netcdf-fortran-4.2/fortran'
make[3]: *** [check] Error 2
make[3]: Leaving directory `/home/usr/netcdf/GEOS-Chem-Libraries/src/netcdf-fortran-4.2/fortran'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/usr/netcdf/GEOS-Chem-Libraries/src/netcdf-fortran-4.2'
make[1]: *** [nc4] Error 2
make[1]: Leaving directory `/home/usr/netcdf/GEOS-Chem-Libraries/src'
make: *** [all] Error 2
BTW,
我是用的大型机,CentOS 5.8 AMD x86-64。
我没有搜索到“NF_INT_IS_C_”这个文件 |
|