[Gdal-dev] gdal on amd64 needs -fPIC?

Vincent Schut schut at sarvision.com
Tue Mar 30 06:15:59 EST 2004


More info:
both netcdf/hdf and gdal need -fPIC. I tried compiling gdal with -fPIC while 
having hdf4 compiled without, and that didn't work out.
Might be that gdal when compiled without hdf4 support doesn't need -fPIC, but 
as I need hdf4 support I didn't try that yet.

Vincent.

On Tuesday 30 March 2004 12:50, Vincent Schut wrote:
> I just tried to compile gdal on my new amd64. It complained about needing
> -fPIC in the final install phase (where all libs are archived together into
> one I think). After I recompiled netcdf and hdf4 with -fPIC, I tried to
> compile gdal with -fPIC and then it compiled fine. To do this, I both
> changed GDALmake.opt and libtool.
> I will investigate some more, e.g. do only hdf/netcdf need -fPIC or also
> GDAL (this seemed to be the case, but I'm not yet sure).
> Does it sound likely that gdal needs -fPIC on amd64? I really need to check
> out what this -fPIC thing does...
> Frank and other developers, your comments please...?
> If you need some amd64 testing, please inform me.
>
> Cheers,

-- 
-----------------------------
 Vincent Schut
 SarVision B.V.
 Wageningen, The Netherlands
 www.sarvision.com



More information about the Gdal-dev mailing list