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

GRASS GIS trac at osgeo.org
Tue Apr 1 08:09:29 EDT 2008


#110: db/drivers/dbf fail to build due to undefined reference to
'SASetupDefaultHooks'
-----------------------+----------------------------------------------------
  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                      
-----------------------+----------------------------------------------------
Changes (by marisn):

  * keywords:  => dbf

Comment:

 On 32bit Gentoo box with gdal-1.5.0 GRASS trunk rev. 30831 compiles just
 fine, but any module, that uses dbf, fails with error:
 dbmi: Protocol error
 WARNING:Cannot open select cursor

 {{{
 (gdb) run -a map=geology at PERMANENT east_north=592948.879668,4927119.3361
 distance=296.261682243
 Starting program: /home/ddd/soft/grass_trunk/dist.i686-pc-linux-
 gnu/bin/v.what -a map=geology at PERMANENT
 east_north=592948.879668,4927119.3361 distance=296.261682243
 [Thread debugging using libthread_db enabled]
 [New Thread 0xb751e6d0 (LWP 17661)]

 East: 592948.879668
 North: 4927119.3361

 Map: geology
 Mapset: PERMANENT
 Objekta tips: Laukums
 Kavadrātmetri: 10056250.000
 Hektāri: 1005.625
 Akri: 2484.893
 Kvadrātjūdzes: 3.8826
 Līmenis: 1
 Kategorija: 6

 Driver: dbf
 Database: /home/ddd/hdo/maris/gis_dati/spearfish60/PERMANENT/dbf/
 Table: geology
 Key column: cat
 dbmi: Protocol error
 BRĪDINĀJUMS:Cannot open select cursor

 Program received signal SIGPIPE, Broken pipe.
 [Switching to Thread 0xb751e6d0 (LWP 17661)]
 0xb7fb0410 in __kernel_vsyscall ()
 (gdb) bt
 #0  0xb7fb0410 in __kernel_vsyscall ()
 #1  0xb79b7453 in write () from /lib/libc.so.6
 #2  0xb79651d7 in _IO_file_write () from /lib/libc.so.6
 #3  0xb7964e85 in ?? () from /lib/libc.so.6
 #4  0xb7965136 in _IO_file_xsputn () from /lib/libc.so.6
 #5  0xb795b19f in fwrite () from /lib/libc.so.6
 #6  0xb7f77f4b in db__send (buf=0xbfe42d70, size=4) at xdr.c:80
 #7  0xb7f78c55 in db__send_int (n=101) at xdrint.c:9
 #8  0xb7f78d22 in db__start_procedure_call (procnum=101) at
 xdrprocedure.c:11
 #9  0xb7edc3b9 in db_close_database (driver=0x80e5730) at c_closedb.c:17
 #10 0xb7a5d948 in F_generate (drvname=0x80e3e18 "dbf",
     dbname=0x809ec88
 "/home/ddd/hdo/maris/gis_dati/spearfish60/PERMANENT/dbf/",
 tblname=0x80e3df8 "geology",
     key=0x80e3e08 "cat", keyval=6, frmname=0x0, frmmapset=0x0,
 edit_mode=1, format=2, form=0xbfe447dc)
     at generate.c:88
 #11 0x0804a864 in what (east=592948.87966800004, north=4927119.3361,
 maxdist=296.261682243, width=7, mwidth=9,
     topo=0, showextra=1) at what.c:276
 #12 0x08049ae4 in main (argc=5, argv=0xbfe42db0) at main.c:175
 }}}

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


More information about the grass-dev mailing list