HOSTCC tools/ubsha1.o HOSTCC tools/kwboot HOSTCC tools/proftool tools/mkimage.c: In function 'main': tools/mkimage.c:438:54: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'off_t' {aka 'long long int'} [-Wformat=] 438 | "%s: Bad size: \"%s\" is not valid image: size %ld < %u\n", | ~~^ | | | long int | %lld 439 | params.cmdname, params.imagefile, 440 | sbuf.st_size, tparams->header_size); | ~~~~~~~~~~~~ | | | off_t {aka long long int} HOSTCC tools/fdtgrep.o HOSTCC tools/spl_size_limit tools/bmp_logo --gen-info ./tools/logos/denx.bmp > include/bmp_logo.h tools/bmp_logo --gen-data ./tools/logos/denx.bmp > include/bmp_logo_data.h HOSTCC tools/lib/crc8.o HOSTLD tools/mkenvimage HOSTCC tools/lib/bch.o HOSTLD tools/gen_ethaddr_crc tools/kwboot.c: In function 'kwboot_tty_change_baudrate': tools/kwboot.c:627:6: error: 'struct termios' has no member named 'c_ospeed' 627 | tio.c_ospeed = tio.c_ispeed = baudrate; | ^ tools/kwboot.c:627:21: error: 'struct termios' has no member named 'c_ispeed' 627 | tio.c_ospeed = tio.c_ispeed = baudrate; | ^ tools/kwboot.c:655:31: error: 'struct termios' has no member named 'c_ospeed' 655 | if (!_is_within_tolerance(tio.c_ospeed, baudrate, 3)) | ^ tools/kwboot.c:658:31: error: 'struct termios' has no member named 'c_ispeed' 658 | if (!_is_within_tolerance(tio.c_ispeed, baudrate, 3)) | ^ make[1]: *** [scripts/Makefile.host:95: tools/kwboot] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [Makefile:1810: tools] Error 2 >>> ERROR: u-boot: build failed >>> u-boot: Uninstalling dependencies... (1/20) Purging .makedepends-u-boot (20220113.122533) (2/20) Purging python3-dev (3.10.1-r0)