compile source code error (galera/src/key_os.hpp:8:23: fatal error: wsrep_api.h: No such file or directory) above 25.3.23
Closed this issue · 0 comments
we have encountered a problem
when we compile galera from source code above 25.3.23, there is error msg
scons: done reading SConscript files.
scons: Building targets ...
g++ -o galera/src/certification.o -c -Wold-style-cast -pipe -Wno-long-long -Wno-deprecated -ansi -g -O3 -DNDEBUG -m64 -pthread -fPIC -Wall -Wextra -Wno-unused-parameter -D_XOPEN_SOURCE=600 -DHAVE_COMMON_H -DGALERA_USE_GU_NETWORK -DHAVE_BYTESWAP_H -DHAVE_ENDIAN_H -DHAVE_EXECINFO_H -DHAVE_TR1_ARRAY -DHAVE_BOOST_SHARED_PTR_HPP -DHAVE_TR1_UNORDERED_MAP -DBOOST_DATE_TIME_POSIX_TIME_STD_CONFIG=1 -DHAVE_ASIO_HPP -DOPENSSL_HAS_SET_ECDH_AUTO -Iasio -Iwsrep/src -I. -Icommon -Igalerautils/src -Igcache/src -Igcs/src galera/src/certification.cpp
In file included from galera/src/write_set.hpp:9:0,
from galera/src/trx_handle.hpp:9,
from galera/src/certification.hpp:8,
from galera/src/certification.cpp:5:
galera/src/key_os.hpp:8:23: fatal error: wsrep_api.h: No such file or directory
#include "wsrep_api.h"
^
compilation terminated.
scons: *** [galera/src/certification.o] Error 1
scons: building terminated because of errors.