[GRASS-dev] wingrass: problems with some Makefiles
glynn at gclements.plus.com
Sat Oct 13 18:21:04 CEST 2007
Moritz Lennert wrote:
> > 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:
> make: *** No rule to make target `|', needed by
> `/c/grasssrc/grass6/dist.i686-pc-mingw32/etc/lister/cell'. Stop.
What version of make do you have? The project page indicates that 3.81
> After reverting to previous version of Makefile, the error in d.frame
> compilation is different:
> make /c/grasssrc/grass6/dist.i686-pc-mingw32/docs/html/d.frame.html
> make: Entering directory `/c/grasssrc/grass6/display/d.frame'
> make: *** No rule to make target
> `/c/grasssrc/grass6/dist.i686-pc-mingw32/docs/html/d.frame.html'. Stop.
Try "make -p -C display/d.frame".
> make: 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'
> first defined here
> It seems to have some difficulty separating v.voronoi and v.delaunoy
Try moving the lines:
VORONOI = v.voronoi$(EXE)
DELAUNAY = v.delaunay$(EXE)
PROGRAMS = $(VORONOI) $(DELAUNAY)
to after Module.make is included. I think that it's not getting the
.exe extension, so it's try to use the default compilation rule (which
uses all .o files) rather than those at the bottom of the Makefile.
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev