[GRASS-dev] wingrass: problems with some Makefiles

Moritz Lennert mlennert at club.worldonline.be
Fri Oct 12 18:44:39 EDT 2007


Been working a bit more on this:

On Mon, October 8, 2007 22:11, Moritz Lennert wrote:
> Hello,
>
> Trying to recompile in windows (mingw), I get the errors in the attached
> log, which I never saw before and which seem to be linked to recent
> changes in Makefiles.

These errors go away if I revert to the previous version of the Makefile:

/c/grasssrc/grass6/general/manage/lister
make: *** No rule to make target `|', needed by
`/c/grasssrc/grass6/dist.i686-pc-mingw32/etc/lister/cell'.  Stop.

/c/grasssrc/grass6/lib/form
make: *** No rule to make target `|', needed by
`/c/grasssrc/grass6/dist.i686-pc-mingw32/etc/form/html_library.tcl'. 
Stop.

After reverting to previous version of Makefile, the error in d.frame
compilation is different:

-lgrass_display -lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32   
-lz     -lgrass_raster -lgrass_pngdriver -lgrass_driver -lgrass_gis
-lgrass_datetime -lxdr -liberty -lws2_32    -lz     -lfreetype   
-lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz     -lpng  -lz
   -lgrass_psdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lxdr
-liberty -lws2_32    -lz     -lfreetype    -lgrass_gis -lgrass_datetime
-lxdr -liberty -lws2_32    -lz      -lgrass_driver -lgrass_gis
-lgrass_datetime -lxdr -liberty -lws2_32    -lz     -lfreetype   
-lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz      
-lgrass_raster -lgrass_pngdriver -lgrass_driver -lgrass_gis
-lgrass_datetime -lxdr -liberty -lws2_32    -lz     -lfreetype   
-lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz     -lpng  -lz
   -lgrass_psdriver -lgrass_driver -lgrass_gis -lgrass_datetime -lxdr
-liberty -lws2_32    -lz     -lfreetype    -lgrass_gis -lgrass_datetime
-lxdr -liberty -lws2_32    -lz      -lgrass_driver -lgrass_gis
-lgrass_datetime -lxdr -liberty -lws2_32    -lz     -lfreetype   
-lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz     
-lgrass_gis -lgrass_datetime -lxdr -liberty -lws2_32    -lz      -lxdr
-liberty -lws2_32    -lz
make /c/grasssrc/grass6/dist.i686-pc-mingw32/docs/html/d.frame.html
HTMLSRC=/c/grasssrc/grass6/dist.i686-pc-mingw32/bin/d.frame.exe
make[1]: Entering directory `/c/grasssrc/grass6/display/d.frame'
make[1]: *** No rule to make target
`/c/grasssrc/grass6/dist.i686-pc-mingw32/docs/html/d.frame.html'.  Stop.
make[1]: Leaving directory `/c/grasssrc/grass6/display/d.frame'
make: *** [htmlcmd] Error 2

The same happens when I go another step back in cvs revisions. When I
comment the htmlcmd line compilation completes as it should, except that
there is no d.frame.html in docs/html.

For v.voronoi I also continue to have an error:

OBJ.i686-pc-mingw32/vo_main.o: In function
`main':c:/grasssrc/grass6/vector/v.voronoi/vo_main.c:89: multiple
definition of `main'
OBJ.i686-pc-mingw32/dt_main.o:c:/grasssrc/grass6/vector/v.voronoi/dt_main.c:32:
first defined here
collect2: ld returned 1 exit status
make[2]: ***
[/c/grasssrc/grass6/dist.i686-pc-mingw32/bin/v.delaunay.exe.exe] Error 1
make[2]: Leaving directory `/c/grasssrc/grass6/vector/v.voronoi'
make[1]: *** [htmlcmd] Error 2
make[1]: Leaving directory `/c/grasssrc/grass6/vector/v.voronoi'
make: *** [htmlmulti] Error 2

It seems to have some difficulty separating v.voronoi and v.delaunoy
builds...

Moritz





More information about the grass-dev mailing list