[GRASS-dev] Compile errors - dllmain and fmode - releasebranch_6_4 and develbranch_6

Markus Neteler neteler at osgeo.org
Mon Mar 9 05:00:23 EDT 2009


On Sun, Mar 8, 2009 at 11:27 PM, Colin Nielsen <colin.nielsen at gmail.com> wrote:
>> if you have time: does 6.5.svn compile now?
>
> I am happy to report that 6.5.svn compiles now, straight off of the
> svn.

finally! great.

> (As usual with mingw, only the lidar modules fail.)

please send the error(s).

> Congratulations. However, I think something is missing from 6.4.0svn
> because there is still an fmode error in lib/gis. Or maybe you just
> haven't backported the fixes yet.
>
> $ make
> gcc -I/usr/local/src/grass-6.4_release/dist.i686-pc-mingw32/include
> -I/usr/local/include -g -O2  -I/usr/local/include
> -DPACKAGE=\""grasslibs"\" -D_FILE_OFFSET_BITS=64 -DGDAL_LINK=1
> -DGDAL_DYNAMIC=1   -DPACKAGE=\""grasslibs"\"  -I/usr/local/include
> -I/usr/local/include
> -I/usr/local/src/grass-6.4_release/dist.i686-pc-mingw32/include -o
> OBJ.i686-pc-mingw32/fmode.o -c fmode.c
> fmode.c:8: error: redefinition of '_fmode'
> fmode.c:4: error: previous definition of '_fmode' was here
> make: *** [OBJ.i686-pc-mingw32/fmode.o] Error 1

Fixed in 6.4.0svn: I have made a full diff of include/ and lib/gis/ and
found a difference in fmode.c. now they are back in sync.

The entire stuff needs to be merged in GRASS 7 later (since the Makefile
system is different, I leave that to someone else).

Please check if the remaining 4-5 patches in
http://trac.osgeo.org/grass/ticket/519
are necessary.

Markus


More information about the grass-dev mailing list