make && make install bcachefs-tools errors

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

 



Hello bcachefs,

My first attempt at installing/configuring the filesystem on CentOS 7
and it appears the tools install is throwing a few warnings and
errors.  Can anyone confirm whether the errors indicate the install is
broken; or, are the errors non-critical?

Thanks for your help.

~# make && make install
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-72-g692eadd"'  -Wno-unused-but-set-variable
-I/usr/include/blkid -I/usr/include/uuid     -c -o crypto.o crypto.c
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-72-g692eadd"'  -Wno-unused-but-set-variable
-I/usr/include/blkid -I/usr/include/uuid     -c -o libbcachefs.o
libbcachefs.c
libbcachefs.c: In function ‘bch2_super_write’:
libbcachefs.c:315:9: warning: missing braces around initializer
[-Wmissing-braces]
  struct nonce nonce = { 0 };
         ^
libbcachefs.c:315:9: warning: (near initialization for ‘nonce.d’)
[-Wmissing-braces]
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-72-g692eadd"'  -Wno-unused-but-set-variable
-I/usr/include/blkid -I/usr/include/uuid     -c -o libbcachefs/acl.o
libbcachefs/acl.c
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-72-g692eadd"'  -Wno-unused-but-set-variable
-I/usr/include/blkid -I/usr/include/uuid     -c -o
libbcachefs/alloc_background.o libbcachefs/alloc_background.c
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-72-g692eadd"'  -Wno-unused-but-set-variable
-I/usr/include/blkid -I/usr/include/uuid     -c -o
libbcachefs/alloc_foreground.o libbcachefs/alloc_foreground.c
libbcachefs/alloc_foreground.c: In function ‘__writepoint_find’:
libbcachefs/alloc_foreground.c:746:2: warning: implicit declaration of
function ‘cds_hlist_for_each_entry_rcu_2’
[-Wimplicit-function-declaration]
  hlist_for_each_entry_rcu(wp, head, node)
  ^
libbcachefs/alloc_foreground.c:746:37: error: ‘node’ undeclared (first
use in this function)
  hlist_for_each_entry_rcu(wp, head, node)
                                     ^
libbcachefs/alloc_foreground.c:746:37: note: each undeclared
identifier is reported only once for each function it appears in
libbcachefs/alloc_foreground.c:747:3: error: expected ‘;’ before ‘if’
   if (wp->write_point == write_point)
   ^
make: *** [libbcachefs/alloc_foreground.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