tools/toos/{zfsboottest|bootparttest} build broken

From: Sergey V. Dyatko <sergey.dyatko_at_gmail.com>
Date: Tue, 26 Jan 2021 12:37:59 +0300
Hi,

root_at_hostname:/usr/src/tools/tools/bootparttest # make 
[Creating objdir /usr/obj/usr/src/amd64.amd64/tools/tools/bootparttest...]
make: don't know how to make crc32.c. Stop

make: stopped in /usr/src/tools/tools/bootparttest

root_at_hostname:/usr/src/tools/tools/zfsboottest # make
ln -sf /usr/src/sys/i386/include machine
cc  -O1  -I/usr/src/stand/zfs  -I/usr/src/sys/cddl/boot/zfs  -I.
-fdiagnostics-show-option  -W -Wextra -Wno-sign-compare -Wno-unused-parameter
-m32   -g -MD  -MF.depend.zfsboottest.o -MTzfsboottest.o -std=gnu99
-Wno-format-zero-length -fstack-protector-strong -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign
-Wmissing-variable-declarations -Wthread-safety -Wno-empty-body
-Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments    -c
/usr/src/tools/tools/zfsboottest/zfsboottest.c -o zfsboottest.o
/usr/src/tools/tools/zfsboottest/zfsboottest.c:49:1: error: no previous
prototype for function 'pager_output' [-Werror,-Wmissing-prototypes]
pager_output(const char *line) ^
/usr/src/tools/tools/zfsboottest/zfsboottest.c:48:1: note: declare 'static' if
the function is not intended to be used outside of this translation unit int ^
static /usr/src/tools/tools/zfsboottest/zfsboottest.c:57:1: error: no previous
prototype for function 'ldi_get_size' [-Werror,-Wmissing-prototypes]
ldi_get_size(void *priv) ^ /usr/src/tools/tools/zfsboottest/zfsboottest.c:56:1:
note: declare 'static' if the function is not intended to be used outside of
this translation unit uint64_t ^ static In file included from
/usr/src/tools/tools/zfsboottest/zfsboottest.c:72: /usr/include/libzfs.h:37:10:
fatal error: 'libnvpair.h' file not found #include <libnvpair.h> ^~~~~~~~~~~~~
3 errors generated. *** Error code 1

Stop.
make: stopped in /usr/src/tools/tools/zfsboottest


--
wbr, Sergey
Received on Tue Jan 26 2021 - 08:37:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:27 UTC