HDF-EOS5 향상 도구를 컴파일하려고 합니다. 그러나 내가 실행할 때 :
./configure --with-hdfeos5=/HDF-EOS5-path/
오류가 발생합니다.
checking for inv_init in -lGctp... no
configure: error: invalid Gctp in hdfeos5
config.log 파일을 확인하려고 하면 다음과 같은 결과가 나타납니다.
configure:3571: $? = 0
configure:3580: result: yes
configure:3608: checking for compress2 in -lz
configure:3633: gcc -o conftest -g -O2 conftest.c -lz -lm >&5
configure:3633: $? = 0
configure:3642: result: yes
configure:4325: checking for inv_init in -lGctp
configure:4350: gcc -o conftest -g -O2 -
I/home/midawn/ClimateResearch/hdfeos5//include -L/home/midawn/ClimateResearch/hdfeos5//lib conftest.c -lGctp -lz -lm >&5
/usr/bin/ld: cannot find -lGctp
collect2: error: ld returned 1 exit status
configure:4350: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "aug_eos5"
| #define PACKAGE_TARNAME "aug_eos5"
| #define PACKAGE_VERSION "2.2"
| #define PACKAGE_STRING "aug_eos5 2.2"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "aug_eos5"
| #define VERSION "2.2"
| #define HAVE_LIBM 1
| #define HAVE_LIBZ 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char inv_init ();
| int
| main ()
| {
| return inv_init ();
| ;
| return 0;
| }
configure:4359: result: no
configure:4369: error: invalid Gctp in hdfeos5