Re: Compile from source with Kinetic support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's ok for KeyValueDB.cc now, but I have another problem with src/os/KineticStore.h :

http://pastebin.com/nhSDQs70


On 12/01/2014 05:58 PM, Haomai Wang wrote:
Sorry, it's a typo

/WITH_KINETIC/HAVE_KINETIC/

:-)

On Tue, Dec 2, 2014 at 12:51 AM, Julien Lutran <julien.lutran@xxxxxxx> wrote:

Sorry, It didn't change anything :

root@host:~/sources/ceph# head -12 src/os/KeyValueDB.cc
// -*- mode:C++; tab-width:8; c-basic-offset:2; indent-tabs-mode:t -*-
// vim: ts=8 sw=2 smarttab

#include "KeyValueDB.h"
#include "LevelDBStore.h"
#ifdef HAVE_LIBROCKSDB
#include "RocksDBStore.h"
#endif
#ifdef WITH_KINETIC
#include "KineticStore.h"
#endif

root@host:~/sources/ceph# make
[...]
  CXX      os/libos_la-KeyValueDB.lo
os/KeyValueDB.cc: In static member function 'static KeyValueDB* KeyValueDB::create(CephContext*, const string&, const string&)':
os/KeyValueDB.cc:21:16: error: expected type-specifier before 'KineticStore'
     return new KineticStore(cct);
                ^
os/KeyValueDB.cc:21:16: error: expected ';' before 'KineticStore'
os/KeyValueDB.cc:21:32: error: 'KineticStore' was not declared in this scope
     return new KineticStore(cct);
                                ^
os/KeyValueDB.cc: In static member function 'static int KeyValueDB::test_init(const string&, const string&)':
os/KeyValueDB.cc:39:12: error: 'KineticStore' has not been declared
     return KineticStore::_test_init(g_ceph_context);
            ^
make[3]: *** [os/libos_la-KeyValueDB.lo] Error 1


On 12/01/2014 03:22 PM, Haomai Wang wrote:
#ifdef WITH_KINETIC
#include "KineticStore.h"
#endif




--

Best Regards,

Wheat


_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux