Building Error on WSL

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

 



I'm trying to build Ceph.
I'm encountering a build error on an Ubuntu environment using WSL and wondering if it's related to the kernel version or WSL itself.
Can anyone know about this?

=== Env : WSL2 + Ubuntu 20.04 ===
- Kernel Version : 5.15.153.1-microsoft-standard-WSL2

=== Execution ===
$> git clone and pull submodules
$> ./install-deps.sh
$> ./do_cmake.sh
$> ninja -j1

=== Error Logs ===
[1/1714] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Graylog.cc.o
FAILED: src/common/CMakeFiles/common-common-objs.dir/Graylog.cc.o
/usr/bin/g++-11 -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DBOOST_ASIO_HAS_IO_URING -DBOOST_ASIO_NO_TS_EXECUTORS -DCEPH_INSTALL_DATADIR=\"/usr/local/share/ceph\" -DCEPH_INSTALL_FULL_PKGLIBDIR=\"/usr/local/lib/ceph\" -DCMAKE_INSTALL_LIBDIR=\"lib\" -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/ceph/build/src/include -I/ceph/src -isystem /ceph/build/boost/include -isystem /ceph/build/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/api/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/exporters/jaeger/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/ext/include -isystem /ceph/src/jaegertracing/opentelemetry-cpp/sdk/include -isystem /ceph/src/xxHash -isystem /ceph/src/fmt/include -Og -g -fPIC -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=form
 at-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -DCEPH_DEBUG_MUTEX -fstack-protector-strong -D_GLIBCXX_ASSERTIONS -fdiagnostics-color=auto -std=c++20 -MD -MT src/common/CMakeFiles/common-common-objs.dir/Graylog.cc.o -MF src/common/CMakeFiles/common-common-objs.dir/Graylog.cc.o.d -o src/common/CMakeFiles/common-common-objs.dir/Graylog.cc.o -c /ceph/src/common/Graylog.cc
In file included from /ceph/build/boost/include/boost/asio/io_context.hpp:18,
from //ceph/src/common/Graylog.h:7,
from /ceph/src/common/Graylog.cc:4:

/ceph/build/boost/include/boost/asio/detail/config.hpp:826:5: error: #error Linux kernel 5.10 or later is required to support io_uring
826 | #   error Linux kernel 5.10 or later is required to support io_uring
|     ^~~~~
ninja: build stopped: subcommand failed.
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx



[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux