I tried to compile the source of the client on gentoo linux.
Here are the package versions I use:
I get the following error when compiling.
urbackupcommon/CompressedPipeZstd.cpp:62:50: error: ‘ZSTD_c_compressionLevel’ was not declared in this scope; did you mean ‘ZSTD_p_compressionLevel’? 62 | size_t err = ZSTD_CCtx_setParameter(def_stream, ZSTD_c_compressionLevel, compression_level); | ^~~~~~~~~~~~~~~~~~~~~~~ | ZSTD_p_compressionLevel urbackupcommon/CompressedPipeZstd.cpp: In member function ‘virtual bool CompressedPipeZstd::Write(const char*, size_t, int, bool)’: urbackupcommon/CompressedPipeZstd.cpp:316:9: error: ‘ZSTD_compressStream2’ was not declared in this scope; did you mean ‘ZSTD_compressStream’? 316 | rc = ZSTD_compressStream2(def_stream, &outbuf, &inbuf, curr_flush ? ZSTD_e_flush : ZSTD_e_continue); | ^~~~~~~~~~~~~~~~~~~~ | ZSTD_compressStream
You can find the complete log here:
build.log (191.5 KB)
I hope someone can help me.