[GRASS-dev] [GRASS GIS] #993: gem fails to compile on ubuntu 9.1

GRASS GIS trac at osgeo.org
Tue Mar 9 09:35:55 EST 2010


#993: gem fails to compile on ubuntu 9.1
-------------------------+--------------------------------------------------
 Reporter:  mlechner     |       Owner:  grass-dev at lists.osgeo.org
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  default      |     Version:  unspecified              
 Keywords:  gem compile  |    Platform:  Linux                    
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 gem fails to compile (ubuntu 9.1):
 [[BR]]
 {{{

 user at comp:/svn/grass/trunk/gem$ make
 gcc  -g -O2   -I/svn/grass/trunk/dist.i686-pc-linux-gnu/include
 -I/svn/grass/trunk/dist.i686-pc-linux-gnu/include  -D_FILE_OFFSET_BITS=64
 -DPACKAGE=\"\"   -I/svn/grass/trunk/dist.i686-pc-linux-gnu/include
 -I/svn/grass/trunk/dist.i686-pc-linux-gnu/include -o OBJ.i686-pc-linux-
 gnu/actions.o -c actions.c
 actions.c: In function ‘check_extension’:
 actions.c:51: warning: ignoring return value of ‘fscanf’, declared with
 attribute warn_unused_result
 actions.c:79: warning: ignoring return value of ‘chdir’, declared with
 attribute warn_unused_result
 actions.c: In function ‘unpack_extension’:
 actions.c:99: warning: ignoring return value of ‘mkstemp’, declared with
 attribute warn_unused_result
 actions.c: In function ‘query_extension’:
 actions.c:233: warning: ignoring return value of ‘system’, declared with
 attribute warn_unused_result
 actions.c: In function ‘source_clean’:
 actions.c:943: warning: ignoring return value of ‘system’, declared with
 attribute warn_unused_result
 actions.c: In function ‘run_post’:
 actions.c:1095: warning: ignoring return value of ‘getcwd’, declared with
 attribute warn_unused_result
 In file included from /usr/include/fcntl.h:217,
                  from actions.c:26:
 In function ‘open’,
     inlined from ‘unpack_extension’ at actions.c:100:
 /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’
 declared with attribute error: open with O_CREAT in second argument needs
 3 arguments
 make: *** [OBJ.i686-pc-linux-gnu/actions.o] Fehler 1

 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/993>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list