Since oe-core upgraded gcc to 10.1, there is a failure ... |../../../../../glusterfs-6.1/rpc/rpc-transport/socket/src/socket.c:4302:24: error: implicit declaration of function 'EC_KEY_new_by_curve_name' [-Werror=implicit-function-declaration] | 4302 | ecdh = EC_KEY_new_by_curve_name(nid); ... Add option -Wno-error=implicit-function-declaration to workaround
Signed-off-by: Hongxu Jia <[email protected]> --- recipes-extended/glusterfs/glusterfs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-extended/glusterfs/glusterfs.inc b/recipes-extended/glusterfs/glusterfs.inc index a5677840..c209baa6 100644 --- a/recipes-extended/glusterfs/glusterfs.inc +++ b/recipes-extended/glusterfs/glusterfs.inc @@ -34,7 +34,7 @@ DEPENDS += "bison-native flex-native python3-native fuse libaio libtirpc libxml2 # rpc now comes from libtirpc instead of glibc # -CFLAGS += "-I${STAGING_INCDIR}/tirpc" +CFLAGS += "-I${STAGING_INCDIR}/tirpc -Wno-error=implicit-function-declaration" LDFLAGS += " -ltirpc" EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \ -- 2.21.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5327): https://lists.yoctoproject.org/g/meta-virtualization/message/5327 Mute This Topic: https://lists.yoctoproject.org/mt/74340586/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
