我在Centos上用自带的GCC4.4.7编译WPS,ungrib.exe出现了,但是metgrid.exe和geogrid.exe却没有出现,之前编译的WRF已经没问题,zlib,libpng,jasper以及netcdf安装应该没问题,make check 全部都通,问题出在哪儿啊? 下面是编译log里的错误:
/usr/include/endian.h:47:1: warning: this is the location of the previous definition
read_geogrid.c:24:1: warning: "LITTLE_ENDIAN" redefined
/usr/include/endian.h:46:1: warning: this is the location of the previous definition
read_geogrid.c: In function ?.ead_geogrid_?.
read_geogrid.c:123: warning: left shift count >= width of type
collect2: ld returned 1 exit status
make[1]: [geogrid.exe] Error 1 (ignored)
make[1]: Leaving directory `/home/src/WPS/geogrid/src'
collect2: ld returned 1 exit status
make[1]: [metgrid.exe] Error 1 (ignored)