cst-native doesn't compile....
Hello,
Using both poky and meta-freescale master branches, cst-native fails to compile.
My machine is ls1021atwr.
I suppose this is due to the recent upgrade of openssl-qoriq to v1.0.2l ?
| gcc -c -g -Wall -Wno-strict-aliasing -Werror -Itools/header_generation/create_hdr_isbc/include/ -Itools/header_generation/create_hdr_esbc/include/ -Itools/header_generation/create_hdr_pbi/include/ -Itools/header_generation/create_hdr_cf/include/ -Itaal/include -Icommon/include -Ilib_hash_drbg/include -isystem/build/yocto/build_master/tmp/work/x86_64-linux/cst-native/git-r0/recipe-sysroot-native/usr/include -O2 -pipe common/crypto_utils.c
| common/crypto_utils.c: In function ‘crypto_extract_pub_key’:
| common/crypto_utils.c:187:44: error: dereferencing pointer to incomplete type ‘RSA {aka struct rsa_st}’
| tmp = (unsigned char *)(((BIGNUM *)pub_key->n)->d);
| ^
| Makefile:159: recipe for target 'crypto_utils.o' failed
| make: *** [crypto_utils.o] Error 1| gcc -c -g -Wall -Wno-strict-aliasing -Werror -Itools/header_generation/create_hdr_isbc/include/ -Itools/header_generation/create_hdr_esbc/include/ -Itools/header_generation/create_hdr_pbi/include/ -Itools/header_generation/create_hdr_cf/include/ -Itaal/include -Icommon/include -Ilib_hash_drbg/include -isystem/build/yocto/build_master/tmp/work/x86_64-linux/cst-native/git-r0/recipe-sysroot-native/usr/include -O2 -pipe tools/key_generation/gen_keys.c | tools/key_generation/gen_keys.c: In function ‘generate_rsa_keys’: | tools/key_generation/gen_keys.c:60:2: error: ‘RSA_generate_key’ is deprecated [-Werror=deprecated-declarations] | srk = RSA_generate_key(n, RSA_F4, NULL, NULL); | ^ | In file included from /build/yocto/build_master/tmp/work/x86_64-linux/cst-native/git-r0/recipe-sysroot-native/usr/include/openssl/rsa.h:13:0, | from /build/yocto/build_master/tmp/work/x86_64-linux/cst-native/git-r0/recipe-sysroot-native/usr/include/openssl/x509.h:31, | from /build/yocto/build_master/tmp/work/x86_64-linux/cst-native/git-r0/recipe-sysroot-native/usr/include/openssl/ssl.h:50, | from tools/key_generation/gen_keys.c:44: | /build/yocto/build_master/tmp/work/x86_64-linux/cst-native/git-r0/recipe-sysroot-native/usr/include/openssl/rsa.h:193:1: note: declared here | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void | ^ | cc1: all warnings being treated as errors | Makefile:159: recipe for target 'gen_keys.o' failed | make: *** [gen_keys.o] Error 1