Opened 12 years ago

Last modified 12 years ago

#4515 closed defect

sqlite build error on SUSE Enterprise Server — at Version 1

Reported by: dassau Owned by: warmerdam
Priority: normal Milestone: 1.9.1
Component: OGR_SF Version: 1.9.0
Severity: normal Keywords: ogr sqlite
Cc:

Description (last modified by Even Rouault)

Hi,

I try to build RPM packages for SUSE Enterprise Server 11 and 11 SP 1 on the OpensuseBuildServer and get following error.

https://build.opensuse.org/package/show?package=libgdal&project=Application%3AGeo

For newer packages the sources compile without any problem. Could someone have a look and try to fix this? Or maybe the sqlite used in SLE is too old?

ogrsqlitevfs.cpp: In function 'void (* OGRSQLiteVFSDlSym(sqlite3_vfs*, void*, const char*))()':
ogrsqlitevfs.cpp:309: error: invalid conversion from 'void*' to 'void (*)()'
ogrsqlitevfs.cpp: In function 'sqlite3_vfs* OGRSQLiteCreateVFS()':
ogrsqlitevfs.cpp:362: error: invalid conversion from 'void (* (*)(sqlite3_vfs*, void*, const char*))()' to 'void* (*)(sqlite3_vfs*, void*, const char*)'
make[3]: *** [../o/ogrsqlitevfs.lo] Error 1
make[3]: Leaving directory `/usr/src/packages/BUILD/gdal-1.9.0/ogr/ogrsf_frmts/sqlite'
make[2]: *** [sqlite-target] Error 2
make[2]: Leaving directory `/usr/src/packages/BUILD/gdal-1.9.0/ogr/ogrsf_frmts'
make[1]: *** [sublibs] Error 2
make[1]: Leaving directory `/usr/src/packages/BUILD/gdal-1.9.0/ogr'
make: *** [ogr-target] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.11916 (%build)

Regards Otto

Change History (1)

comment:1 by Even Rouault, 12 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.