>>> ocf-linux 20120127 Downloading wget --passive-ftp -nd -t 3 -O '/home/buildroot/autobuild/instance-0/output-1/build/.ocf-linux-20120127.tar.gz.4npevi/output' 'http://downloads.sourceforge.net/project/ocf-linux/ocf-linux/20120127/ocf-linux-20120127.tar.gz' --2022-07-25 18:21:05-- http://downloads.sourceforge.net/project/ocf-linux/ocf-linux/20120127/ocf-linux-20120127.tar.gz Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 204.68.111.105 Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|204.68.111.105|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://versaweb.dl.sourceforge.net/project/ocf-linux/ocf-linux/20120127/ocf-linux-20120127.tar.gz [following] --2022-07-25 18:21:05-- http://versaweb.dl.sourceforge.net/project/ocf-linux/ocf-linux/20120127/ocf-linux-20120127.tar.gz Resolving versaweb.dl.sourceforge.net (versaweb.dl.sourceforge.net)... 162.251.232.173 Connecting to versaweb.dl.sourceforge.net (versaweb.dl.sourceforge.net)|162.251.232.173|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 706521 (690K) [application/x-gzip] Saving to: '/home/buildroot/autobuild/instance-0/output-1/build/.ocf-linux-20120127.tar.gz.4npevi/output' 0K .......... .......... .......... .......... .......... 7% 837K 1s 50K .......... .......... .......... .......... .......... 14% 1.76M 1s 100K .......... .......... .......... .......... .......... 21% 4.31M 0s 150K .......... .......... .......... .......... .......... 28% 6.01M 0s 200K .......... .......... .......... .......... .......... 36% 4.04M 0s 250K .......... .......... .......... .......... .......... 43% 5.60M 0s 300K .......... .......... .......... .......... .......... 50% 8.93M 0s 350K .......... .......... .......... .......... .......... 57% 3.83M 0s 400K .......... .......... .......... .......... .......... 65% 13.5M 0s 450K .......... .......... .......... .......... .......... 72% 4.65M 0s 500K .......... .......... .......... .......... .......... 79% 5.10M 0s 550K .......... .......... .......... .......... .......... 86% 6.33M 0s 600K .......... .......... .......... .......... .......... 94% 11.1M 0s 650K .......... .......... .......... ......... 100% 5.68M=0.2s 2022-07-25 18:21:05 (3.57 MB/s) - '/home/buildroot/autobuild/instance-0/output-1/build/.ocf-linux-20120127.tar.gz.4npevi/output' saved [706521/706521] ocf-linux-20120127.tar.gz: OK (sha256: 5113609d2c2c43fde962bec1238fe5a81211a751ebb0337b54a9804d40cfef53) >>> ocf-linux 20120127 Extracting gzip -d -c /home/buildroot/autobuild/instance-0/dl/ocf-linux/ocf-linux-20120127.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127 -xf - >>> ocf-linux 20120127 Patching >>> ocf-linux 20120127 Configuring >>> ocf-linux 20120127 Building >>> ocf-linux 20120127 Building kernel module(s) PATH="/home/buildroot/autobuild/instance-0/output-1/host/bin:/home/buildroot/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/home/buildroot/autobuild/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/autobuild/instance-0/output-1/host/lib/pkgconfig:/home/buildroot/autobuild/instance-0/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/home/buildroot/autobuild/instance-0/output-1/images /usr/bin/make -j4 -C /home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15 HOSTCC="/home/buildroot/autobuild/instance-0/output-1/host/bin/ccache /usr/bin/gcc -O2 -I/home/buildroot/autobuild/instance-0/output-1/host/include -L/home/buildroot/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/autobuild/instance-0/output-1/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/home/buildroot/autobuild/instance-0/output-1/target CROSS_COMPILE="/home/buildroot/autobuild/instance-0/output-1/host/bin/aarch64-linux-gnu-" WERROR=0 DEPMOD=/home/buildroot/autobuild/instance-0/output-1/host/sbin/depmod INSTALL_MOD_STRIP=1 CONFIG_OCF_OCF=m CONFIG_OCF_CRYPTOSOFT=m CONFIG_OCF_BENCH=m CONFIG_OCF_OCFNULL=m PWD=/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf M=/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf modules make[1]: Entering directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' CC [M] /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/crypto.o CC [M] /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.o CC [M] /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.o CC [M] /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/ocfnull/ocfnull.o In file included from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/crypto.c:80:0: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/./cryptodev.h:278:18: error: field ‘acc’ has incomplete type struct timespec acc; /* total accumulated time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/./cryptodev.h:279:18: error: field ‘min’ has incomplete type struct timespec min; /* min time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/./cryptodev.h:280:18: error: field ‘max’ has incomplete type struct timespec max; /* max time */ ^~~ scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/crypto.o' failed make[2]: *** [/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/crypto.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/ocfnull/ocfnull.c:49:0: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/ocfnull/../cryptodev.h:278:18: error: field ‘acc’ has incomplete type struct timespec acc; /* total accumulated time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/ocfnull/../cryptodev.h:279:18: error: field ‘min’ has incomplete type struct timespec min; /* min time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/ocfnull/../cryptodev.h:280:18: error: field ‘max’ has incomplete type struct timespec max; /* max time */ ^~~ scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/ocfnull/ocfnull.o' failed make[3]: *** [/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/ocfnull/ocfnull.o] Error 1 scripts/Makefile.build:550: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/ocfnull' failed make[2]: *** [/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/ocfnull] Error 2 In file included from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:51:0: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/./cryptodev.h:278:18: error: field ‘acc’ has incomplete type struct timespec acc; /* total accumulated time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/./cryptodev.h:279:18: error: field ‘min’ has incomplete type struct timespec min; /* min time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/./cryptodev.h:280:18: error: field ‘max’ has incomplete type struct timespec max; /* max time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c: In function ‘skb_copy_bits_back’: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:157:41: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ if (offset < skb_shinfo(skb)->frags[i].size) { ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:159:32: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘page_offset’; did you mean ‘bv_offset’? skb_shinfo(skb)->frags[i].page_offset, ^~~~~~~~~~~ bv_offset In file included from ./include/linux/kernel.h:26:0, from ./arch/arm64/include/asm/cpufeature.h:21, from ./arch/arm64/include/asm/hwcap.h:9, from ./arch/arm64/include/asm/arch_timer.h:12, from ./arch/arm64/include/asm/timex.h:8, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./arch/arm64/include/asm/stat.h:12, from ./include/linux/stat.h:6, from ./include/linux/module.h:13, from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:41: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:46: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^ ./include/linux/minmax.h:20:21: note: in definition of macro ‘__typecheck’ (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1))) ^ ./include/linux/minmax.h:36:24: note: in expansion of macro ‘__safe_cmp’ __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ ./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’ #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:10: note: in expansion of macro ‘min_t’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^~~~~ In file included from ./include/linux/list.h:9:0, from ./include/linux/module.h:12, from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:41: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:46: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^ ./include/linux/const.h:12:48: note: in definition of macro ‘__is_constexpr’ (sizeof(int) == sizeof(*(8 ? ((void *)((long)(x) * 0l)) : (int *)8))) ^ ./include/linux/minmax.h:26:25: note: in expansion of macro ‘__no_side_effects’ (__typecheck(x, y) && __no_side_effects(x, y)) ^~~~~~~~~~~~~~~~~ ./include/linux/minmax.h:36:24: note: in expansion of macro ‘__safe_cmp’ __builtin_choose_expr(__safe_cmp(x, y), \ ^~~~~~~~~~ ./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’ #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:10: note: in expansion of macro ‘min_t’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^~~~~ In file included from ./include/linux/kernel.h:26:0, from ./arch/arm64/include/asm/cpufeature.h:21, from ./arch/arm64/include/asm/hwcap.h:9, from ./arch/arm64/include/asm/arch_timer.h:12, from ./arch/arm64/include/asm/timex.h:8, from ./include/linux/timex.h:67, from ./include/linux/time32.h:13, from ./include/linux/time.h:60, from ./arch/arm64/include/asm/stat.h:12, from ./include/linux/stat.h:6, from ./include/linux/module.h:13, from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:41: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:46: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^ ./include/linux/minmax.h:28:27: note: in definition of macro ‘__cmp’ #define __cmp(x, y, op) ((x) op (y) ? (x) : (y)) ^ ./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’ #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:10: note: in expansion of macro ‘min_t’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:46: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^ ./include/linux/minmax.h:28:40: note: in definition of macro ‘__cmp’ #define __cmp(x, y, op) ((x) op (y) ? (x) : (y)) ^ ./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’ #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:10: note: in expansion of macro ‘min_t’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:46: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^ ./include/linux/minmax.h:31:10: note: in definition of macro ‘__cmp_once’ typeof(x) unique_x = (x); \ ^ ./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’ #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:10: note: in expansion of macro ‘min_t’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:46: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^ ./include/linux/minmax.h:31:25: note: in definition of macro ‘__cmp_once’ typeof(x) unique_x = (x); \ ^ ./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’ #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:10: note: in expansion of macro ‘min_t’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^~~~~ ./include/linux/minmax.h:36:2: error: first argument to ‘__builtin_choose_expr’ not a constant __builtin_choose_expr(__safe_cmp(x, y), \ ^ ./include/linux/minmax.h:104:27: note: in expansion of macro ‘__careful_cmp’ #define min_t(type, x, y) __careful_cmp((type)(x), (type)(y), <) ^~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:160:10: note: in expansion of macro ‘min_t’ cp, min_t(int, skb_shinfo(skb)->frags[i].size, len)); ^~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:161:36: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ len -= skb_shinfo(skb)->frags[i].size; ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:162:35: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ cp += skb_shinfo(skb)->frags[i].size; ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.c:164:38: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ offset -= skb_shinfo(skb)->frags[i].size; ^ scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.o' failed make[2]: *** [/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/criov.o] Error 1 In file included from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:60:0: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/./cryptodev.h:278:18: error: field ‘acc’ has incomplete type struct timespec acc; /* total accumulated time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/./cryptodev.h:279:18: error: field ‘min’ has incomplete type struct timespec min; /* min time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/./cryptodev.h:280:18: error: field ‘max’ has incomplete type struct timespec max; /* max time */ ^~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c: In function ‘execute_later’: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:323:25: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] memset(w, '\0', sizeof(w)); ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c: In function ‘swcr_newsession’: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:437:6: error: implicit declaration of function ‘crypto_ablkcipher_tfm’; did you mean ‘crypto_ahash_tfm’? [-Werror=implicit-function-declaration] crypto_ablkcipher_tfm(crypto_alloc_ablkcipher(algo, 0, 0)); ^~~~~~~~~~~~~~~~~~~~~ crypto_ahash_tfm /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:437:28: error: implicit declaration of function ‘crypto_alloc_ablkcipher’; did you mean ‘crypto_alloc_ahash’? [-Werror=implicit-function-declaration] crypto_ablkcipher_tfm(crypto_alloc_ablkcipher(algo, 0, 0)); ^~~~~~~~~~~~~~~~~~~~~~~ crypto_alloc_ahash /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:436:41: warning: pointer/integer type mismatch in conditional expression (*swd)->sw_tfm = swcr_no_ablk ? NULL : ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:442:22: error: implicit declaration of function ‘crypto_blkcipher_tfm’; did you mean ‘crypto_shash_tfm’? [-Werror=implicit-function-declaration] (*swd)->sw_tfm = crypto_blkcipher_tfm( ^~~~~~~~~~~~~~~~~~~~ crypto_shash_tfm /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:443:7: error: implicit declaration of function ‘crypto_alloc_blkcipher’; did you mean ‘crypto_alloc_base’? [-Werror=implicit-function-declaration] crypto_alloc_blkcipher(algo, 0, CRYPTO_ALG_ASYNC)); ^~~~~~~~~~~~~~~~~~~~~~ crypto_alloc_base /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:442:20: warning: assignment makes pointer from integer without a cast [-Wint-conversion] (*swd)->sw_tfm = crypto_blkcipher_tfm( ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:467:5: error: implicit declaration of function ‘crypto_ablkcipher_set_flags’; did you mean ‘crypto_ahash_set_flags’? [-Werror=implicit-function-declaration] crypto_ablkcipher_set_flags( ^~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto_ahash_set_flags /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:468:7: error: implicit declaration of function ‘__crypto_ablkcipher_cast’; did you mean ‘__crypto_ahash_cast’? [-Werror=implicit-function-declaration] __crypto_ablkcipher_cast((*swd)->sw_tfm), ^~~~~~~~~~~~~~~~~~~~~~~~ __crypto_ahash_cast /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:469:8: error: ‘CRYPTO_TFM_REQ_WEAK_KEY’ undeclared (first use in this function); did you mean ‘CRYPTO_TFM_REQ_MASK’? CRYPTO_TFM_REQ_WEAK_KEY); ^~~~~~~~~~~~~~~~~~~~~~~ CRYPTO_TFM_REQ_MASK /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:469:8: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:470:13: error: implicit declaration of function ‘crypto_ablkcipher_setkey’; did you mean ‘crypto_ahash_setkey’? [-Werror=implicit-function-declaration] error = crypto_ablkcipher_setkey( ^~~~~~~~~~~~~~~~~~~~~~~~ crypto_ahash_setkey /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:475:5: error: implicit declaration of function ‘crypto_blkcipher_set_flags’; did you mean ‘crypto_shash_set_flags’? [-Werror=implicit-function-declaration] crypto_blkcipher_set_flags( ^~~~~~~~~~~~~~~~~~~~~~~~~~ crypto_shash_set_flags /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:476:7: error: implicit declaration of function ‘crypto_blkcipher_cast’; did you mean ‘crypto_register_alg’? [-Werror=implicit-function-declaration] crypto_blkcipher_cast((*swd)->sw_tfm), ^~~~~~~~~~~~~~~~~~~~~ crypto_register_alg /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:478:13: error: implicit declaration of function ‘crypto_blkcipher_setkey’; did you mean ‘crypto_shash_setkey’? [-Werror=implicit-function-declaration] error = crypto_blkcipher_setkey( ^~~~~~~~~~~~~~~~~~~~~~~ crypto_shash_setkey /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:500:22: error: implicit declaration of function ‘crypto_hash_tfm’; did you mean ‘crypto_shash_tfm’? [-Werror=implicit-function-declaration] (*swd)->sw_tfm = crypto_hash_tfm( ^~~~~~~~~~~~~~~ crypto_shash_tfm /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:501:7: error: implicit declaration of function ‘crypto_alloc_hash’; did you mean ‘crypto_alloc_shash’? [-Werror=implicit-function-declaration] crypto_alloc_hash(algo, 0, CRYPTO_ALG_ASYNC)); ^~~~~~~~~~~~~~~~~ crypto_alloc_shash /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:500:20: warning: assignment makes pointer from integer without a cast [-Wint-conversion] (*swd)->sw_tfm = crypto_hash_tfm( ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:526:30: error: implicit declaration of function ‘crypto_hash_digestsize’; did you mean ‘crypto_shash_digestsize’? [-Werror=implicit-function-declaration] (*swd)->u.hmac.sw_mlen = crypto_hash_digestsize( ^~~~~~~~~~~~~~~~~~~~~~ crypto_shash_digestsize /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:527:7: error: implicit declaration of function ‘crypto_hash_cast’; did you mean ‘__crypto_ahash_cast’? [-Werror=implicit-function-declaration] crypto_hash_cast((*swd)->sw_tfm)); ^~~~~~~~~~~~~~~~ __crypto_ahash_cast /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c: In function ‘swcr_freesession’: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:588:5: error: implicit declaration of function ‘crypto_free_ablkcipher’; did you mean ‘crypto_free_ahash’? [-Werror=implicit-function-declaration] crypto_free_ablkcipher(__crypto_ablkcipher_cast(swd->sw_tfm)); ^~~~~~~~~~~~~~~~~~~~~~ crypto_free_ahash /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:592:5: error: implicit declaration of function ‘crypto_free_blkcipher’; did you mean ‘crypto_free_shash’? [-Werror=implicit-function-declaration] crypto_free_blkcipher(crypto_blkcipher_cast(swd->sw_tfm)); ^~~~~~~~~~~~~~~~~~~~~ crypto_free_shash /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:596:5: error: implicit declaration of function ‘crypto_free_hash’; did you mean ‘crypto_free_shash’? [-Werror=implicit-function-declaration] crypto_free_hash(crypto_hash_cast(swd->sw_tfm)); ^~~~~~~~~~~~~~~~ crypto_free_shash /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:600:64: error: implicit declaration of function ‘crypto_comp_cast’; did you mean ‘__crypto_comp_cast’? [-Werror=implicit-function-declaration] execute_later((void (*)(void *))crypto_free_comp, (void *)crypto_comp_cast(swd->sw_tfm)); ^~~~~~~~~~~~~~~~ __crypto_comp_cast /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:600:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] execute_later((void (*)(void *))crypto_free_comp, (void *)crypto_comp_cast(swd->sw_tfm)); ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:602:23: warning: passing argument 1 of ‘crypto_free_comp’ makes pointer from integer without a cast [-Wint-conversion] crypto_free_comp(crypto_comp_cast(swd->sw_tfm)); ^~~~~~~~~~~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:47:0: ./include/linux/crypto.h:739:20: note: expected ‘struct crypto_comp *’ but argument is of type ‘int’ static inline void crypto_free_comp(struct crypto_comp *tfm) ^~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c: In function ‘swcr_process_req_complete’: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:647:3: error: implicit declaration of function ‘ablkcipher_request_free’; did you mean ‘ahash_request_free’? [-Werror=implicit-function-declaration] ablkcipher_request_free(req->crypto_req); ^~~~~~~~~~~~~~~~~~~~~~~ ahash_request_free /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c: In function ‘swcr_process_req’: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:775:40: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ if (skip < skb_shinfo(skb)->frags[i].size) { ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:776:36: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ len = skb_shinfo(skb)->frags[i].size - skip; ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:782:32: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘page_offset’; did you mean ‘bv_offset’? skb_shinfo(skb)->frags[i].page_offset + skip); ^~~~~~~~~~~ bv_offset /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:787:38: error: ‘skb_frag_t {aka struct bio_vec}’ has no member named ‘size’ skip -= skb_shinfo(skb)->frags[i].size; ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:873:4: error: implicit declaration of function ‘crypto_ablkcipher_ivsize’; did you mean ‘crypto_ahash_reqsize’? [-Werror=implicit-function-declaration] crypto_ablkcipher_ivsize(__crypto_ablkcipher_cast(sw->sw_tfm)); ^~~~~~~~~~~~~~~~~~~~~~~~ crypto_ahash_reqsize /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:875:16: error: implicit declaration of function ‘crypto_ablkcipher_blocksize’; did you mean ‘crypto_ahash_blocksize’? [-Werror=implicit-function-declaration] if (sg_len < crypto_ablkcipher_blocksize( ^~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto_ahash_blocksize /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:890:21: error: implicit declaration of function ‘ablkcipher_request_alloc’; did you mean ‘ahash_request_alloc’? [-Werror=implicit-function-declaration] req->crypto_req = ablkcipher_request_alloc( ^~~~~~~~~~~~~~~~~~~~~~~~ ahash_request_alloc /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:890:19: warning: assignment makes pointer from integer without a cast [-Wint-conversion] req->crypto_req = ablkcipher_request_alloc( ^ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:899:3: error: implicit declaration of function ‘ablkcipher_request_set_callback’; did you mean ‘ahash_request_set_callback’? [-Werror=implicit-function-declaration] ablkcipher_request_set_callback(req->crypto_req, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ahash_request_set_callback /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:914:6: error: ‘CRYPTO_TFM_REQ_WEAK_KEY’ undeclared (first use in this function); did you mean ‘CRYPTO_TFM_REQ_MASK’? CRYPTO_TFM_REQ_WEAK_KEY); ^~~~~~~~~~~~~~~~~~~~~~~ CRYPTO_TFM_REQ_MASK /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:938:4: error: implicit declaration of function ‘ablkcipher_request_set_crypt’; did you mean ‘ahash_request_set_crypt’? [-Werror=implicit-function-declaration] ablkcipher_request_set_crypt(req->crypto_req, req->sg, req->sg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ahash_request_set_crypt /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:940:10: error: implicit declaration of function ‘crypto_ablkcipher_encrypt’; did you mean ‘crypto_stats_skcipher_encrypt’? [-Werror=implicit-function-declaration] ret = crypto_ablkcipher_encrypt(req->crypto_req); ^~~~~~~~~~~~~~~~~~~~~~~~~ crypto_stats_skcipher_encrypt /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:951:10: error: implicit declaration of function ‘crypto_ablkcipher_decrypt’; did you mean ‘crypto_stats_skcipher_decrypt’? [-Werror=implicit-function-declaration] ret = crypto_ablkcipher_decrypt(req->crypto_req); ^~~~~~~~~~~~~~~~~~~~~~~~~ crypto_stats_skcipher_decrypt /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:970:25: error: storage size of ‘desc’ isn’t known struct blkcipher_desc desc; ^~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:971:16: error: implicit declaration of function ‘crypto_blkcipher_ivsize’; did you mean ‘crypto_ahash_reqsize’? [-Werror=implicit-function-declaration] int ivsize = crypto_blkcipher_ivsize(crypto_blkcipher_cast(sw->sw_tfm)); ^~~~~~~~~~~~~~~~~~~~~~~ crypto_ahash_reqsize /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:973:16: error: implicit declaration of function ‘crypto_blkcipher_blocksize’; did you mean ‘crypto_shash_blocksize’? [-Werror=implicit-function-declaration] if (sg_len < crypto_blkcipher_blocksize( ^~~~~~~~~~~~~~~~~~~~~~~~~~ crypto_shash_blocksize /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1029:4: error: implicit declaration of function ‘crypto_blkcipher_encrypt_iv’; did you mean ‘crypto_stats_skcipher_encrypt’? [-Werror=implicit-function-declaration] crypto_blkcipher_encrypt_iv(&desc, req->sg, req->sg, sg_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto_stats_skcipher_encrypt /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1040:4: error: implicit declaration of function ‘crypto_blkcipher_decrypt_iv’; did you mean ‘crypto_stats_skcipher_decrypt’? [-Werror=implicit-function-declaration] crypto_blkcipher_decrypt_iv(&desc, req->sg, req->sg, sg_len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ crypto_stats_skcipher_decrypt /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:970:25: warning: unused variable ‘desc’ [-Wunused-variable] struct blkcipher_desc desc; ^~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1048:20: error: storage size of ‘desc’ isn’t known struct hash_desc desc; ^~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1069:4: error: implicit declaration of function ‘crypto_hash_setkey’; did you mean ‘crypto_shash_setkey’? [-Werror=implicit-function-declaration] crypto_hash_setkey(desc.tfm, sw->u.hmac.sw_key, ^~~~~~~~~~~~~~~~~~ crypto_shash_setkey /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1071:4: error: implicit declaration of function ‘crypto_hash_digest’; did you mean ‘crypto_shash_digest’? [-Werror=implicit-function-declaration] crypto_hash_digest(&desc, req->sg, sg_len, result); ^~~~~~~~~~~~~~~~~~ crypto_shash_digest /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1048:20: warning: unused variable ‘desc’ [-Wunused-variable] struct hash_desc desc; ^~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1111:31: warning: passing argument 1 of ‘crypto_comp_compress’ makes pointer from integer without a cast [-Wint-conversion] ret = crypto_comp_compress(crypto_comp_cast(sw->sw_tfm), ^~~~~~~~~~~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:47:0: ./include/linux/crypto.h:758:5: note: expected ‘struct crypto_comp *’ but argument is of type ‘int’ int crypto_comp_compress(struct crypto_comp *tfm, ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1120:33: warning: passing argument 1 of ‘crypto_comp_decompress’ makes pointer from integer without a cast [-Wint-conversion] ret = crypto_comp_decompress(crypto_comp_cast(sw->sw_tfm), ^~~~~~~~~~~~~~~~ In file included from /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:47:0: ./include/linux/crypto.h:762:5: note: expected ‘struct crypto_comp *’ but argument is of type ‘int’ int crypto_comp_decompress(struct crypto_comp *tfm, ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c: In function ‘cryptosoft_init’: /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1281:12: error: implicit declaration of function ‘crypto_has_cipher’; did you mean ‘crypto_has_comp’? [-Werror=implicit-function-declaration] found = crypto_has_cipher(algo, 0, CRYPTO_ALG_ASYNC); ^~~~~~~~~~~~~~~~~ crypto_has_comp /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1284:12: error: implicit declaration of function ‘crypto_has_hash’; did you mean ‘crypto_has_ahash’? [-Werror=implicit-function-declaration] found = crypto_has_hash(algo, 0, swcr_no_ahash?CRYPTO_ALG_ASYNC:0); ^~~~~~~~~~~~~~~ crypto_has_ahash /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1293:12: error: implicit declaration of function ‘crypto_has_blkcipher’; did you mean ‘crypto_shash_blocksize’? [-Werror=implicit-function-declaration] found = crypto_has_blkcipher(algo, 0, CRYPTO_ALG_ASYNC); ^~~~~~~~~~~~~~~~~~~~ crypto_shash_blocksize /home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.c:1295:13: error: implicit declaration of function ‘crypto_has_ablkcipher’; did you mean ‘crypto_has_ahash’? [-Werror=implicit-function-declaration] found = crypto_has_ablkcipher(algo, 0, 0); ^~~~~~~~~~~~~~~~~~~~~ crypto_has_ahash cc1: some warnings being treated as errors scripts/Makefile.build:288: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.o' failed make[2]: *** [/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf/cryptosoft.o] Error 1 Makefile:1831: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf' failed make[1]: *** [/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/ocf] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/instance-0/output-1/build/linux-5.17.15' package/pkg-generic.mk:290: recipe for target '/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/.stamp_built' failed make: *** [/home/buildroot/autobuild/instance-0/output-1/build/ocf-linux-20120127/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/instance-0/buildroot'