Open arlottang opened 3 years ago
Hello,Rocksdb has made incompatible changes to the functions rocksdb_approximate_sizes and rocksdb_approximate_sizes_cf in version 6.16.0. Refer to: https://github.com/facebook/rocksdb/blob/master/HISTORY.md, The content is:rocksdb_approximate_sizes and rocksdb_approximate_sizes_cf in the C API now requires an error pointer (char** errptr) for receiving any error.
Therefore, there will be no errors when compiling with 6.15.x or earlier versions of rocksdb.
Hello,Rocksdb has made incompatible changes to the functions rocksdb_approximate_sizes and rocksdb_approximate_sizes_cf in version 6.16.0. Refer to: https://github.com/facebook/rocksdb/blob/master/HISTORY.md, The content is:
rocksdb_approximate_sizes and rocksdb_approximate_sizes_cf in the C API now requires an error pointer (char** errptr) for receiving any error.
Therefore, there will be no errors when compiling with 6.15.x or earlier versions of rocksdb.
Thanks for your answer
Hello, I meet the same question, have any plan to fix it?
have the same problem. Looks like the repo is dead.
Hello,Rocksdb has made incompatible changes to the functions rocksdb_approximate_sizes and rocksdb_approximate_sizes_cf in version 6.16.0. Refer to: https://github.com/facebook/rocksdb/blob/master/HISTORY.md, The content is:
rocksdb_approximate_sizes and rocksdb_approximate_sizes_cf in the C API now requires an error pointer (char** errptr) for receiving any error.
Therefore, there will be no errors when compiling with 6.15.x or earlier versions of rocksdb.
Hi, I still met this problem with RocksDB 6.15.2:
if ( APPLE )
set( ROCKSDB_VERSION "6.27.3" )
set( ROCKSDB_SOURCE_URL
"https://github.com/facebook/rocksdb/archive/v${ROCKSDB_VERSION}.tar.gz")
else ()
set( ROCKSDB_VERSION "6.15.2" )
set( ROCKSDB_SOURCE_URL
"https://github.com/facebook/rocksdb/archive/v${ROCKSDB_VERSION}.tar.gz")
endif ()
go: github.com/tecbot/gorocksdb upgrade => v0.0.0-20191217155057-f0fad39f321c
github.com/tecbot/gorocksdb
../DB/GOPATH/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/db.go:609:29: not enough arguments in call to _Cfunc_rocksdb_approximate_sizes have (*_Ctype_struct_rocksdb_t, _Ctype_int, _Ctype_char, *_Ctype_ulong, *_Ctype_char, _Ctype_ulong, _Ctype_ulong) want (_Ctype_struct_rocksdb_t, _Ctype_int, _Ctype_char, *_Ctype_ulong, _Ctype_char, _Ctype_ulong, _Ctype_ulong, _Ctype_char) ../DB/GOPATH/pkg/mod/github.com/tecbot/gorocksdb@v0.0.0-20191217155057-f0fad39f321c/db.go:650:32:not enough arguments in call to _Cfunc_rocksdb_approximate_sizes_cf have (_Ctype_struct_rocksdb_t, _Ctype_struct_rocksdb_column_family_handle_t, _Ctype_int, _Ctype_char, *_Ctype_ulong, _Ctype_char, _Ctype_ulong, _Ctype_ulong) want (_Ctype_struct_rocksdb_t, _Ctype_struct_rocksdb_column_family_handle_t, _Ctype_int, _Ctype_char, *_Ctype_ulong, _Ctype_char, _Ctype_ulong, _Ctype_ulong, **_Ctype_char)