[GRASS-user] Re: Compiling winGRASS with OSGEO4w- #2

António Rocha antonio.rocha at deimos.com.pt
Tue Jun 15 03:47:27 EDT 2010


Hi Luisa and Hamish and the rest

While I was reading your log file I realized two things:
1- You only have a problem with libgrass_display.dll
2- GRASS cannot find -lgrass_raster

This is the "creation of libgrass_display.dll:
gcc -shared -o 
/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib/libgrass_display.6.4.0svn.dll 
-L/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib 
-Wl,--export-dynamic,--enable-runtime-pseudo-reloc  
-L/c/OSGeo4W/apps/gdal-16/lib -L/c/OSGeo4W/lib     
OBJ.i686-pc-mingw32/cnversions.o OBJ.i686-pc-mingw32/color_list.o 
OBJ.i686-pc-mingw32/draw.o OBJ.i686-pc-mingw32/draw2.o 
OBJ.i686-pc-mingw32/get_win.o OBJ.i686-pc-mingw32/ident_win.o 
OBJ.i686-pc-mingw32/list.o OBJ.i686-pc-mingw32/popup.o 
OBJ.i686-pc-mingw32/raster.o OBJ.i686-pc-mingw32/raster2.o 
OBJ.i686-pc-mingw32/setup.o OBJ.i686-pc-mingw32/symbol.o 
OBJ.i686-pc-mingw32/tran_colr.o OBJ.i686-pc-mingw32/window.o -lgrass_gis 
-lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl  -lgrass_raster 
-lgrass_pngdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lxdr 
-liberty -lws2_32    -lz   -lintl  -lfreetype  -liconv  -lgrass_gis 
-lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl  -lpng  -lz    
-lgrass_psdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lxdr 
-liberty -lws2_32    -lz   -lintl  -lfreetype  -liconv  -lgrass_gis 
-lgrass_datetime -lxdr -liberty -lws2_32    -lz   -lintl   
-lgrass_driver -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    
-lz   -lintl  -lfreetype  -liconv  -lgrass_gis -lgrass_datetime -lxdr 
-liberty -lws2_32    -lz   -lintl   
../../lib/gis/OBJ.i686-pc-mingw32/dllmain.o && \
    (cd 
/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib; 
ln -f -s libgrass_display.6.4.0svn.dll 
/c/osgeo4w/usr/src/grass-6.4.svn_src_snapshot_2010_06_12/dist.i686-pc-mingw32/lib/libgrass_display.dll)
c:\OSGeo4W\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
cannot find -lgrass_raster
collect2: ld returned 1 exit status
make[3]: ***

can it be some old library or package that was installed?


__________ Information from ESET NOD32 Antivirus, version of virus signature database 5196 (20100614) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




More information about the grass-user mailing list