make error bcachefs-tools

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

 



Hello,

Sorry to disturb you and for my bad English.

I am absolute beginner about bcachefs. So I need help. I am not relay skilled to build Software and so on.

I have followed the instructions, on your Site (https://bcachefs.org/Howto/). (I think there is a mistake on your site. You wrote "grep CONFIG_BCACHE_FS .config" but i think it must be "grep CONFIG_BCACHEFS_FS .config".)

I tried to get help on this Page(https://www.reddit.com/r/bcachefs/comments/981f0g/how_do_install_bcachefs_on_debian_testing/).



I have tried to make the bcachfs-tools on 3 Computers.
One's of these was Parrot OS

(uname -a shows :

Linux parrot 4.19.0-parrot1-13t-amd64 #1 SMP Debian 4.19.13-1parrot1.13t (2019-01-09) x86_64 GNU/Linux)

lsb_release -a shows:
No LSB modules are available.
Distributor ID:    Parrot
Description:    Parrot GNU/Linux 4.5
Release:    4.5
Codename:    n/a ) in a VM (Oracle Virtual Box) this works very well, so I can use the bcachefs-tools.

But i also tried to make this on two real Computers with Debian 9.

(uname -a shows:

Linux azubi-storage 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux


lsb_release -a shows:

No LSB modules are available.
Distributor ID:    Debian
Description:    Debian GNU/Linux 9.7 (stretch)
Release:    9.7
Codename:    stretch
)

But here i get these error messages:

 make deb
cc -std=gnu89 -O2 -g -MMD -Wall -Wno-pointer-sign -fno-strict-aliasing -I. -Iinclude -Iraid -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -D_LGPL_SOURCE -DRCU_MEMBARRIER -DZSTD_STATIC_LINKING_ONLY -DNO_BCACHEFS_CHARDEV -DNO_BCACHEFS_FS -DNO_BCACHEFS_SYSFS -DVERSION_STRING='"v0.1-40-g35fca2f"' -Wno-unused-but-set-variable -I/usr/include/blkid -I/usr/include/uuid   -c -o libbcachefs/compress.o libbcachefs/compress.c
In file included from libbcachefs/compress.c:11:0:
libbcachefs/compress.c: In function ‘__bio_uncompress’:
include/linux/zstd.h:3:29: warning: implicit declaration of function ‘ZSTD_initStaticDCtx’ [-Wimplicit-function-declaration]
 #define ZSTD_initDCtx(w, s) ZSTD_initStaticDCtx(w, s)
                             ^
libbcachefs/compress.c:198:9: note: in expansion of macro ‘ZSTD_initDCtx’
   ctx = ZSTD_initDCtx(workspace, ZSTD_DCtxWorkspaceBound());
         ^~~~~~~~~~~~~
libbcachefs/compress.c:198:7: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
   ctx = ZSTD_initDCtx(workspace, ZSTD_DCtxWorkspaceBound());
       ^
In file included from libbcachefs/compress.c:11:0:
libbcachefs/compress.c: In function ‘attempt_compress’:
include/linux/zstd.h:4:29: warning: implicit declaration of function ‘ZSTD_initStaticCCtx’ [-Wimplicit-function-declaration]
 #define ZSTD_initCCtx(w, s) ZSTD_initStaticCCtx(w, s)
                             ^
libbcachefs/compress.c:335:20: note: in expansion of macro ‘ZSTD_initCCtx’
   ZSTD_CCtx *ctx = ZSTD_initCCtx(workspace,
                    ^~~~~~~~~~~~~
include/linux/zstd.h:9:58: error: incompatible type for argument 1 of ‘ZSTD_estimateCCtxSize’
 #define ZSTD_CCtxWorkspaceBound(p) ZSTD_estimateCCtxSize(0)
                                                          ^
include/linux/zstd.h:4:52: note: in definition of macro ‘ZSTD_initCCtx’
 #define ZSTD_initCCtx(w, s) ZSTD_initStaticCCtx(w, s)
                                                    ^
libbcachefs/compress.c:336:4: note: in expansion of macro ‘ZSTD_CCtxWorkspaceBound’
    ZSTD_CCtxWorkspaceBound(c->zstd_params.cParams));
    ^~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/zstd.h:1:0,
                 from libbcachefs/bcachefs.h:195,
                 from libbcachefs/compress.c:1:
/usr/include/zstd.h:390:20: note: expected ‘ZSTD_compressionParameters {aka struct <anonymous>}’ but argument is of type ‘int’  ZSTDLIB_API size_t ZSTD_estimateCCtxSize(ZSTD_compressionParameters cParams);
                    ^~~~~~~~~~~~~~~~~~~~~
In file included from libbcachefs/compress.c:11:0:
libbcachefs/compress.c: In function ‘__bch2_fs_compress_init’:
include/linux/zstd.h:9:58: error: incompatible type for argument 1 of ‘ZSTD_estimateCCtxSize’
 #define ZSTD_CCtxWorkspaceBound(p) ZSTD_estimateCCtxSize(0)
                                                          ^
libbcachefs/compress.c:550:4: note: in expansion of macro ‘ZSTD_CCtxWorkspaceBound’
    ZSTD_CCtxWorkspaceBound(params.cParams),
    ^~~~~~~~~~~~~~~~~~~~~~~
In file included from include/linux/zstd.h:1:0,
                 from libbcachefs/bcachefs.h:195,
                 from libbcachefs/compress.c:1:
/usr/include/zstd.h:390:20: note: expected ‘ZSTD_compressionParameters {aka struct <anonymous>}’ but argument is of type ‘int’  ZSTDLIB_API size_t ZSTD_estimateCCtxSize(ZSTD_compressionParameters cParams);
                    ^~~~~~~~~~~~~~~~~~~~~
<builtin>: recipe for target 'libbcachefs/compress.o' failed
make: *** [libbcachefs/compress.o] Error 1




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux