You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# command-line-arguments
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/bin/ld: /usr/local/lib/librocksdb.a(fs_posix.o): in function `rocksdb::CreateIOUring()':
/usr/local/src/rocksdb/./env/io_posix.h:272: undefined reference to `io_uring_queue_init'
/usr/bin/ld: /usr/local/lib/librocksdb.a(fs_posix.o): in function `rocksdb::(anonymous namespace)::PosixFileSystem::Poll(std::vector<void*, std::allocator<void*> >&, unsigned long)':
/usr/include/liburing.h:745: undefined reference to `__io_uring_get_cqe'
/usr/bin/ld: /usr/local/lib/librocksdb.a(fs_posix.o): in function `rocksdb::(anonymous namespace)::PosixFileSystem::AbortIO(std::vector<void*, std::allocator<void*> >&)':
/usr/local/src/rocksdb/env/fs_posix.cc:1109: undefined reference to `io_uring_get_sqe'
/usr/bin/ld: /usr/local/src/rocksdb/env/fs_posix.cc:1118: undefined reference to `io_uring_submit'
/usr/bin/ld: /usr/local/lib/librocksdb.a(fs_posix.o): in function `rocksdb::(anonymous namespace)::PosixFileSystem::AbortIO(std::vector<void*, std::allocator<void*> >&)':
/usr/include/liburing.h:745: undefined reference to `__io_uring_get_cqe'
/usr/bin/ld: /usr/local/lib/librocksdb.a(io_posix.o): in function `rocksdb::PosixRandomAccessFile::ReadAsync(rocksdb::FSReadRequest&, rocksdb::IOOptions const&, std::function<void (rocksdb::FSReadRequest const&, void*)>, void*, void**, std::function<void (void*)>*, rocksdb::IODebugContext*)':
/usr/local/src/rocksdb/env/io_posix.cc:901: undefined reference to `io_uring_get_sqe'
/usr/bin/ld: /usr/local/src/rocksdb/env/io_posix.cc:910: undefined reference to `io_uring_submit'
/usr/bin/ld: /usr/local/lib/librocksdb.a(io_posix.o): in function `rocksdb::CreateIOUring()':
/usr/local/src/rocksdb/./env/io_posix.h:272: undefined reference to `io_uring_queue_init'
/usr/bin/ld: /usr/local/lib/librocksdb.a(io_posix.o): in function `rocksdb::PosixRandomAccessFile::MultiRead(rocksdb::FSReadRequest*, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)':
/usr/local/src/rocksdb/env/io_posix.cc:674: undefined reference to `io_uring_get_sqe'
/usr/bin/ld: /usr/local/src/rocksdb/env/io_posix.cc:684: undefined reference to `io_uring_submit_and_wait'
/usr/bin/ld: /usr/local/lib/librocksdb.a(io_posix.o): in function `rocksdb::PosixRandomAccessFile::MultiRead(rocksdb::FSReadRequest*, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)':
/usr/include/liburing.h:745: undefined reference to `__io_uring_get_cqe'
/usr/bin/ld: /usr/local/lib/librocksdb.a(io_posix.o): in function `rocksdb::CreateIOUring()':
/usr/local/src/rocksdb/./env/io_posix.h:272: undefined reference to `io_uring_queue_init'
/usr/bin/ld: /usr/local/lib/librocksdb.a(io_posix.o): in function `rocksdb::PosixRandomAccessFile::MultiRead(rocksdb::FSReadRequest*, unsigned long, rocksdb::IOOptions const&, rocksdb::IODebugContext*)':
/usr/include/liburing.h:745: undefined reference to `__io_uring_get_cqe'
collect2: error: ld returned 1 exit status
CGO_ENABLED=1 CGO_CFLAGS="-I/usr/local/include" CGO_LDFLAGS="-L/usr/local/lib -lrocksdb -lz -lsnappy -llz4 -lzstd -lbz2" go build rocskdbmain.go
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.1 LTS"
Linux host 5.15.0-73-generic #80-Ubuntu SMP
The text was updated successfully, but these errors were encountered: