[oe] [meta-oe] net-snmp: do_compile error

Martin Jansa martin.jansa at gmail.com
Thu Aug 17 02:08:28 UTC 2017


openssl was upgrade in oe-core and net-snmp probably isn't compatible with
new version 1.1, you need to update DEPENDS to use openssl10 and try if it
helps.

On Thu, Aug 17, 2017 at 2:27 AM, Zheng, Ruoqin <zhengrq.fnst at cn.fujitsu.com>
wrote:

> When bitbake net-snmp 5.7.3, I will meet this error, who knows the reason?
>
> i586-poky-linux-libtool: compile:  i586-poky-linux-gcc -m32 -march=i586
> -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed --sysroot=……/build/tmp/work/
> i586-poky-linux/net-snmp/5.7.3-r0/recipe-sysroot -I../include -I.
> -I../snmplib -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -O2 -pipe -g
> -feliminate-unused-debug-types -fdebug-prefix-map=……/build/
> tmp/work/i586-poky-linux/net-snmp/5.7.3-r0=/usr/src/debug/net-snmp/5.7.3-r0
> -fdebug-prefix-map=……/build/tmp/work/i586-poky-linux/net-
> snmp/5.7.3-r0/recipe-sysroot-native= -fdebug-prefix-map=……/build/
> tmp/work/i586-poky-linux/net-snmp/5.7.3-r0/recipe-sysroot= -Ulinux
> -Dlinux=linux -c keytools.c  -fPIC -DPIC -o .libs/keytools.o
> keytools.c: In function 'generate_Ku':
> keytools.c:155:25: error: dereferencing pointer to incomplete type
> 'EVP_MD_CTX {aka struct evp_md_ctx_st}'
>      ctx = malloc(sizeof(*ctx));
>                          ^~~~
> keytools.c:264:9: warning: implicit declaration of function
> 'EVP_MD_CTX_cleanup'; did you mean 'EVP_MD_CTX_create'?
> [-Wimplicit-function-declaration]
>          EVP_MD_CTX_cleanup(ctx);
>          ^~~~~~~~~~~~~~~~~~
>          EVP_MD_CTX_create
> Makefile:98: recipe for target 'keytools.lo' failed
>
> --
> Zheng Ruoqin
> Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
> ADDR.: No.6 Wenzhu Road, Software Avenue,
>        Nanjing, 210012, China
> MAIL : zhengrq.fnst at cn.fujistu.com
>
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>



More information about the Openembedded-devel mailing list