Re: [gdal-dev] Error in GDAL compiling with HDF4

2009-07-30 Thread Frank Warmerdam
Limei Ran wrote: Hi Frank: I tried setting -fPIC based on the web site. But, it failed as well. I checked config.log file and it has errors like: == /nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/HDF4.2r4/local/lib/libdf.a(cszip.o): In function `HCIcszip_term': cszip.c:

Re: [gdal-dev] Error in GDAL compiling with HDF4

2009-07-30 Thread Limei Ran
Hi Frank: I tried setting -fPIC based on the web site. But, it failed as well. I checked config.log file and it has errors like: == /nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/HDF4.2r4/local/lib/libdf.a(cszip.o): In function `HCIcszip_term': cszip.c:(.text+0x2ae): und

Re: [gdal-dev] Error in GDAL compiling with HDF4

2009-07-29 Thread Frank Warmerdam
Limei Ran wrote: ... checking for FMEObjects... no checking for SDreaddata in -lmfhdf... no checking for SDreaddata in -lhdf4... no checking for SDreaddata in -lmfhdf... no checking for SDreaddata in -lmfhdf... no configure: error: HDF4 support requested with arg "/nas/uncch/depts/cep/emc/lran/m

[gdal-dev] Error in GDAL compiling with HDF4

2009-07-29 Thread Limei Ran
Hi: I am having the following errors when I was compiling GDAL with HDF4 on a 64bits Linux server: == Command: >./configure --prefix=/nas/uncch/depts/cep/emc/lran/mims/sa_06_2009/src/libs/gdal-1.6.1/local --with-static-proj4=/nas/uncch/depts/cep/emc/lran/mims/sa_06_200