Gong, Shawn (Contractor) wrote:
Hi list,
I am trying to build gdal-1.6.0 on a 64-bit CentOS Linux.
Error message shows that –fPIC must be used.
However after I have added –fPIC in HDF4.2r4’s CFLAGS in Makefile and in
Gdal CFLAGS in GDALmake.opt, the error persists:
/usr/bin/ld: /home/sgong/build_openev/dist/lib/libmfhdf.a(mfsd.o):
relocation R_X86_64_32 against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
Would someone help?
Shawn,
I would guess you haven't rebuilt all portion of the HDF libraries with
-fPIC. I'd keep working on hdf makefiles.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev