[GRASS-dev] wingrass: problems with some Makefiles

Moritz Lennert mlennert at club.worldonline.be
Tue Oct 23 04:31:07 EDT 2007


On Tue, October 23, 2007 06:57, Moritz Lennert wrote:

>> v.voronoi.exe.exe?
>
> This problem goes away with your fix. But there is a new one that shows
> up.
>
> Now I have the following three problems (see also log attached):
>
> 1) lib/gis
> /bin/install -c  -m 644 colors/CVS
> /c/grasssrc/grass6/dist.i686-pc-mingw32/etc/c
> olors/CVS
> /bin/install: `colors/CVS' is a directory
> make: *** [/c/grasssrc/grass6/dist.i686-pc-mingw32/etc/colors/CVS] Error 1

moving the CVS directory out of the way solves this.

> 2) raster3d/base (linked to the previous ?)
> gcc.exe:
> OBJ.i686-pc-mingw32/r3.info.main.o../../lib/gis/OBJ.i686-pc-mingw32/fmo
> de.o: No such file or directory^M
> make: *** [/c/grasssrc/grass6/dist.i686-pc-mingw32/bin/r3.info.exe] Error
> 1

That's due to a small typo in the Makefile:

--- Makefile    Tue Oct 23 08:31:54 2007
+++ Makefile.new        Tue Oct 23 08:31:47 2007
@@ -27,5 +27,5 @@
        $(CC) $(LDFLAGS) -o $@ $^ $(FMODE_OBJ) $(LIBES) $(XDRLIB) $(MATHLIB)

 $(R3INFO): $(OBJDIR)/r3.info.main.o
-       $(CC) $(LDFLAGS) -o $@ $^$(FMODE_OBJ) $(LIBES) $(XDRLIB) $(MATHLIB)
+       $(CC) $(LDFLAGS) -o $@ $^ $(FMODE_OBJ) $(LIBES) $(XDRLIB) $(MATHLIB)


>
> 3) vector/v.voronoi (looks like another problem with my MinGW
> installation, but did not see this before)
> /mingw/lib/libmingw32.a(main.o):main.c:(.text+0x104): undefined reference
> to `WinMain at 16'^M
> collect2: ld returned 1 exit status^M



Still working on that.

Moritz




More information about the grass-dev mailing list