[Gdal-dev] Changes to libtool (or something) break MinGW build

Mateusz Loskot mateusz at loskot.net
Sat Apr 28 10:40:18 EDT 2007


Ari Jolma wrote:
> Ari Jolma kirjoitti:
>> Andrea Aime kirjoitti:
>> 
>>> 
>>> c:\MinGW\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe:
>>>  cannot find
>>> /c/progetti/gdal/gdalMing/frmts/o/.libs/EnvisatFile.o
>> 
> 
> this can also be fixed (assuming mingw is on C: drive) in libtool by:
> 
> 
> $ECHO "$obj" | sed -e "s/\/c\//c:\//" >> $output
> 
> the | sed -e "s/\/c\//c:\//" has to be added by hand
> 
> that's line 6114 at least in my libtool, just after "for obj in 
> $save_libobjs"
> 
> But the basic problem is probably a recent change somewhere which
> causes libtool to use full paths for _some_ of the object files that
> it writes into .libs/libgdal.la.lnkscript.

Ari,

I suppose this may be caused by ltmain.sh update a week ago:

http://trac.osgeo.org/gdal/changeset/11290

It's a big update to the libtool script.

Sorry, I feel a bit lost reading the magic of libtool script,
not sure if this is the problem.

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



More information about the Gdal-dev mailing list