[Gdal-dev] Error building gdal/ogr: undefined reference to `_gfortran_ ...

Mateusz Loskot mateusz at loskot.net
Mon Apr 23 09:06:53 EDT 2007


Hernán De Angelis wrote:
>> Could you run "make clean" first and then add --without-libtool 
>> option to your configure command and make again, and see if that
>> will work.
> 
> Yes! It worked flawlessly, only with a long series of warnings at the
>  end of the make, when making pymod, of the type:
> 
> gdal_wrap.c:1211: warning: dereferencing type-punned pointer will 
> break strict-aliasing rules
> 
> Although this is not an unusual thing in gdal.

Right.

> Now I will check that everything works.

OK

> I noted that in previous installations in this same machine (P4 3.0
> GHz, 2Gb RAM) gdal/ogr used to take 9 minutes to make, whereas it too
> only 5 min now. Do you thing this is because of having disabled
> libtool, is it something about this new version or is it that 
> something went wrong?

The timing is very correct to me.
It's well known that libtool increases building time significantly.

> In any case the cause of the original error is not clear for me.

It's not clear to me too, perhaps it's a libtool problem but I don't know.

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list