Open yifangt opened 7 years ago
It looks like an issue with kyotocabinet when ussing gcc 6/7: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=811627
One possible workaround would be to include that patch from here: http://pkgs.fedoraproject.org/cgit/rpms/kyotocabinet.git/commit/?h=f24&id=988ed3a17b1a5ba659c4f3758b5a262859b0e4e1
--- kyotocabinet-1.2.76/kcdbext.h 2016-05-25 11:32:53.591866016 +0200
+++ kyotocabinet-1.2.76/kcdbext.h 2012-05-24 18:27:59.000000000 +0200
@@ -1278,7 +1278,7 @@
if (omode_ == 0) {
set_error(_KCCODELINE_, BasicDB::Error::INVALID, "not opened");
*sp = 0;
- return false;
+ return nullptr;
}
if (!cache_) return db_.get(kbuf, ksiz, sp);
size_t dvsiz = 0;
I had error at make step: In file included from kcdbext.cc:16:0:
I am using Linux,
Thanks for any help on the issue.