[GRASS-dev] Re: [GRASS GIS] #469: raster data needs binary mode on windows

GRASS GIS trac at osgeo.org
Wed Feb 4 11:00:58 EST 2009


#469: raster data needs binary mode on windows
---------------------------+------------------------------------------------
  Reporter:  jef           |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect        |      Status:  new                      
  Priority:  major         |   Milestone:  6.4.0                    
 Component:  default       |     Version:  6.4.0 RCs                
Resolution:                |    Keywords:                           
  Platform:  MSWindows XP  |         Cpu:  Unspecified              
---------------------------+------------------------------------------------
Comment (by neteler):

 The r.li part I have submitted with correction (it needs to come after the

 include $(MODULE_TOPDIR)/include/Make/Platform.make

 line).

 The lib/gis/ patch still fails to compile on my Linux box:

 {{{
 gcc -I/home/neteler/grass64/dist.x86_64-unknown-linux-gnu/include  -g
 -Wall  -fno-common -mtune=nocona -m64 -minline-all-stringops    -fPIC
 -DPACKAGE=\""grasslibs"\" -D_FILE_OFFSET_BITS=64 -DGDAL_LINK=1
 -DGDAL_DYNAMIC=1   -DPACKAGE=\""grasslibs"\"
 -I/usr/local/include -I/usr/local/include -I/home/neteler/grass64/dist.
 x86_64-unknown-linux-gnu/include -o OBJ.x86_64-unknown-linux-gnu/dllmain.o
 -c dllmain.c
 dllmain.c:1:21: error: windows.h: No such file or directory
 dllmain.c:5: error: expected '=', ',', ';', 'asm' or '__attribute__'
 before 'WINAPI'
 make: *** [OBJ.x86_64-unknown-linux-gnu/dllmain.o] Error 1
 }}}

 as it doesn't exclude dllmain.c from compilation.

 I also wonder (unrelated) if the last lines in
 http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/lib/gis/Makefile
 are GRASS 5 junk.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/469#comment:12>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list