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

Ari Jolma ari.jolma at tkk.fi
Fri Apr 27 16:39:32 EDT 2007


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.

Mateusz? Frank?

Ari





More information about the Gdal-dev mailing list