Hi all, I've struggled with this for most of today, so thought see if anyone here had any clues to my troubles.
I'm following the below guide to compile GRASS and related libraries from scratch on Windows using MinGW: http://www.webalice.it/marco.pasetti/grass/BuildFromSource.html I've gotten up to compiling GDAL, but it doesn't link... saying: ---- libtool: link: g++ -shared -nostdlib C:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../dllcrt2.o C:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/crtbegin.o .libs/libgdal.la.lnkscript -L/usr/local/lib /usr/local/lib/libgeos_c.dll.a /usr/local/lib/libgeos.dll.a -L/usr/local/sqlite/lib /usr/local/sqlite/lib/libsqlite3.dll.a -LC:/msys/local/pgsql/lib -lpq -LC:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5 -LC:/msys/mingw/bin/../lib/gcc -LC:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../mingw32/lib -LC:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/../../.. -lstdc++ -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt C:/msys/mingw/bin/../lib/gcc/mingw32/3.4.5/crtend.o -o .libs/libgdal-1.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libgdal.dll.a C:\msys\mingw\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find /usr/local/src/gdal-1.5.1/ogr/ogrsf_frmts/o/.libs/arraylist.o collect2: ld returned 1 exit status make[1]: *** [libgdal.la] Error 1 make[1]: Leaving directory `/usr/local/src/gdal-1.5.1' make: *** [check-lib] Error 2 ---- When I check for the missing file, /usr/local/src/gdal-1.5.1/ogr/ogrsf_frmts/o/.libs/arraylist.o seems to be sitting there with appropriate permissions and all. Looking around, alot of the GDAL compilation guides say to configure using "--without-libtool" but that just results in lots of undefined references. Has any one successfully compiled GDAL 1.5.1 using the above guide? Thanks in advance for any help, J _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
