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

GRASS GIS trac at osgeo.org
Wed Feb 4 19:36:54 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 glynn):

 Replying to [comment:12 neteler]:

 > The lib/gis/ patch still fails to compile on my Linux box:
 >
 {{{
 dllmain.c:1:21: error: windows.h: No such file or directory
 }}}
 >
 > as it doesn't exclude dllmain.c from compilation.

 I think that you need to modify ARCH_LIB_OBJS (which has the $(OBJDIR)/
 prefix added) on 6.x. That uses eager assignment (:=), so its value is set
 based upon the value of $(LIB_OBJS) at the point that Lib.make is
 included; subsequent changes to LIB_OBJS won't have any effect.

 7.0 added an extra lazy assignment step to make it easier to override the
 list of object files.

 > 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.

 They aren't necessary. Rules.make treats all header files in the current
 directory as pre-requisites for each object file (see LOCAL_HEADERS).

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


More information about the grass-dev mailing list