[GRASS-dev] Re: [GRASS GIS] #110: db/drivers/dbf fail to build due to undefined reference to 'SASetupDefaultHooks' (SHAPELIB)

GRASS GIS trac at osgeo.org
Tue Apr 15 11:26:51 EDT 2008


#110: db/drivers/dbf fail to build due to undefined reference to
'SASetupDefaultHooks' (SHAPELIB)
-----------------------+----------------------------------------------------
  Reporter:  marisn    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect    |      Status:  new                      
  Priority:  critical  |   Milestone:  6.4.0                    
 Component:  default   |     Version:  svn-trunk                
Resolution:            |    Keywords:  dbf                      
-----------------------+----------------------------------------------------
Comment (by neteler):

 Maris, William, is the problem solved (for now)?

 Question: Can we remove the Shapelib copy and use only GDAL/OGR for this?
 The needed functions are

 {{{
 nm /home/neteler/grass63/dist.x86_64-unknown-linux-gnu/driver/db/dbf |
 grep DBF
                  U DBFAddField
                  U DBFClose
                  U DBFCreate
                  U DBFGetFieldCount
                  U DBFGetFieldInfo
                  U DBFGetRecordCount
                  U DBFIsAttributeNULL
                  U DBFOpen
                  U DBFReadDoubleAttribute
                  U DBFReadIntegerAttribute
                  U DBFReadStringAttribute
                  U DBFWriteDoubleAttribute
                  U DBFWriteIntegerAttribute
                  U DBFWriteNULLAttribute
                  U DBFWriteStringAttribute
 }}}

 In GDAL/OGR, the AVC driver uses DBF bindings:

 gdal/ogr/ogrsf_frmts/avc/

 There is a local copy of dbfopen.h. Perhaps we can do the same?

 Markus

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/110#comment:18>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list