Please ignore this patch. Another patch has been sent out to fix the same issue. http://patches.openembedded.org/patch/50617/
Best Regards, Zhenhua > -----Original Message----- > From: Luo Zhenhua-B19537 > Sent: Tuesday, May 28, 2013 5:06 PM > To: openembedded-core@lists.openembedded.org > Cc: Liu Ting-B28495; Guo Chunrong-B40290; Yu Zongchun-B40527; Luo > Zhenhua-B19537 > Subject: [oe-core][PATCH] apr: fix configure issue for ppc64 targets > > Fix following error of apr configure for powerpc64 targets: > | configure:27173: checking whether TCP_NODELAY and TCP_CORK can both be > | enabled > | configure:27179: error: in `/home/yocto/workspace/sdk- > devel/build_p5020ds-64b_release/tmp/work/ppc64e5500-fsl-linux/apr/1.4.6- > r2/apr-1.4.6': > | configure:27181: error: cannot run test program while cross compiling > > Signed-off-by: Zhenhua Luo <zhenhua....@freescale.com> > --- > meta/recipes-support/apr/apr_1.4.6.bb | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/meta/recipes-support/apr/apr_1.4.6.bb b/meta/recipes- > support/apr/apr_1.4.6.bb > index 77dffee..a89d25e 100644 > --- a/meta/recipes-support/apr/apr_1.4.6.bb > +++ b/meta/recipes-support/apr/apr_1.4.6.bb > @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = > "file://LICENSE;md5=0c35ff3c4c83b89d2f076e315caac28b \ > > BBCLASSEXTEND = "native" > > -PR = "r2" > +PR = "r3" > > SRC_URI = "${APACHE_MIRROR}/apr/${BPN}-${PV}.tar.bz2 \ > file://configure_fixes.patch \ @@ -23,6 +23,8 @@ inherit > autotools lib_package binconfig multilib_header > > OE_BINCONFIG_EXTRA_MANGLE = " -e > 's:location=source:location=installed:'" > > +EXTRA_OECONF_powerpc64 += "apr_cv_tcp_nodelay_with_cork=yes" > + > do_configure_prepend() { > cd ${S} > ./buildconf > -- > 1.7.9.5 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core