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
[rpirea@asus-rog build]$ make
GEN util/build_version.cc
CC db/column_family.o
In file included from ./db/column_family.h:29:0,
from db/column_family.cc:10:
./util/thread_local.h:157:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if ROCKSDB_SUPPORT_THREAD_LOCAL
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./util/thread_local.h:157:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_local.h:157:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./util/thread_status_updater.h:42:0,
from ./util/thread_status_util.h:11,
from db/column_family.cc:34:
./util/thread_operation.h:22:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if ROCKSDB_USING_THREAD_STATUS
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./util/thread_operation.h:22:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_operation.h:22:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_operation.h:22:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from ./util/thread_status_util.h:11:0,
from db/column_family.cc:34:
./util/thread_status_updater.h:50:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if ROCKSDB_USING_THREAD_STATUS
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./util/thread_status_updater.h:50:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_updater.h:50:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_updater.h:50:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_updater.h:66:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if ROCKSDB_USING_THREAD_STATUS
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./util/thread_status_updater.h:66:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_updater.h:66:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_updater.h:66:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_updater.h:197:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if ROCKSDB_USING_THREAD_STATUS
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./util/thread_status_updater.h:197:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_updater.h:197:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_updater.h:197:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from db/column_family.cc:34:0:
./util/thread_status_util.h:84:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if ROCKSDB_USING_THREAD_STATUS
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./util/thread_status_util.h:84:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_util.h:84:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_util.h:84:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_util.h:125:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
#if ROCKSDB_USING_THREAD_STATUS
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./util/thread_status_util.h:125:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_util.h:125:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
./util/thread_status_util.h:125:5: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
In file included from db/column_family.cc:31:0:
./util/compression.h: In function ‘bool rocksdb::ZSTD_Compress(const rocksdb::CompressionOptions&, const char*, size_t, std::__cxx11::string*)’:
./util/compression.h:628:46: error: too few arguments to function ‘size_t ZSTD_compress(void*, size_t, const void*, size_t, int)’
input, length);
^
In file included from ./util/compression.h:42:0,
from db/column_family.cc:31:
/usr/include/zstd.h:82:20: note: declared here
ZSTDLIB_API size_t ZSTD_compress( void* dst, size_t dstCapacity,
^~~~~~~~~~~~~
make[3]: *** [Makefile:1133: db/column_family.o] Error 1
make[2]: *** [CMakeFiles/rocksdb.dir/build.make:57: CMakeFiles/rocksdb] Error 2
make[1]: *** [CMakeFiles/Makefile2:107: CMakeFiles/rocksdb.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
And this is the build from cmake
[rpirea@asus-rog build]$ cmake ../
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Boost version: 1.66.0
-- Found the following Boost libraries:
-- date_time
-- filesystem
-- program_options
-- regex
-- serialization
-- system
-- thread
-- chrono
-- atomic
-- Configuring done
-- Generating done
-- Build files have been written to: /home/rpirea/gitroot/bitcoalwallet/build
The text was updated successfully, but these errors were encountered:
Hi. This is the ouptut from make
And this is the build from cmake
The text was updated successfully, but these errors were encountered: