Code Monkey home page Code Monkey logo

miniraft-cpp's People

Contributors

resetius avatar saad-hussain31 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

miniraft-cpp's Issues

Error while compiling.

Hello, thank you for your work on raft. I'm currently facing some issues while compiling. Can you help me?

zhousy26@zhousy26-virtual-machine:~/Desktop/testc/miniraft-cpp$ make
Consolidate compiler generated dependencies of target coroio
[ 2%] Building CXX object coroio/CMakeFiles/coroio.dir/coroio/uring.cpp.o
[ 5%] Building CXX object coroio/CMakeFiles/coroio.dir/coroio/resolver.cpp.o
[ 7%] Linking CXX static library libcoroio.a
[ 25%] Built target coroio
Consolidate compiler generated dependencies of target miniraft
[ 27%] Building CXX object CMakeFiles/miniraft.dir/src/server.cpp.o
[ 30%] Linking CXX static library libminiraft.a
[ 35%] Built target miniraft
Consolidate compiler generated dependencies of target test_raft
[ 37%] Building CXX object CMakeFiles/test_raft.dir/test/test_raft.cpp.o
[ 40%] Linking CXX executable test_raft
[ 40%] Built target test_raft
Consolidate compiler generated dependencies of target test_read_write
[ 42%] Building CXX object CMakeFiles/test_read_write.dir/test/test_read_write.cpp.o
[ 45%] Linking CXX executable test_read_write
/usr/bin/ld: coroio/libcoroio.a(uring.cpp.o): in function NNet::TUring::TUring(int)': uring.cpp:(.text+0x459): undefined reference to io_uring_queue_init'
/usr/bin/ld: coroio/libcoroio.a(uring.cpp.o): in function NNet::TUring::~TUring()': uring.cpp:(.text+0x758): undefined reference to io_uring_queue_exit'
/usr/bin/ld: coroio/libcoroio.a(uring.cpp.o): in function NNet::TUring::Wait(timespec)': uring.cpp:(.text+0xb92): undefined reference to io_uring_wait_cqe_timeout'
/usr/bin/ld: coroio/libcoroio.a(uring.cpp.o): in function NNet::TUring::Submit()': uring.cpp:(.text+0xde9): undefined reference to io_uring_submit'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/test_read_write.dir/build.make:99: test_read_write] Error 1
make[1]: *** [CMakeFiles/Makefile2:180: CMakeFiles/test_read_write.dir/all] Error 2
make: *** [Makefile:101: all] Error 2

Support disk storage

Add storage abstraction in order to support different log storages (in-memory, disk, etc)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.