From patchwork Thu Jan 17 03:01:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Angstrom build failure Date: Thu, 17 Jan 2013 03:01:34 -0000 From: R U Local X-Patchwork-Id: 42757 Message-Id: <004501cdf45e$f5c87270$e1595750$@slingshot.co.nz> To: Dear All, I'm getting the following failure building an Angstrom image. | checking for UDEV... no | configure: error: Package requirements ( libudev >= 172 ) were not met: | | No package 'libudev' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables UDEV_CFLAGS | and UDEV_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | ERROR: oe_runconf failed NOTE: package systemd-git-r28: task do_configure: Failed ERROR: Task 518 (/home/service/oe/sources/meta-openembedded/meta-oe/recipes-core/systemd/sys temd_git.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 2549 tasks of which 2548 didn't need to be rerun and 1 failed. My build environment is: OE Build Configuration: BB_VERSION = "1.15.2" TARGET_ARCH = "arm" TARGET_OS = "linux-gnueabi" MACHINE = "pandaboard" DISTRO = "angstrom" DISTRO_VERSION = "v2012.05" TUNE_FEATURES = "armv7a vfp neon cortexa9" TARGET_FPU = "vfp-neon" meta-angstrom = "angstrom-v2012.05-yocto1.2:6a2febed13f179c042c2371b2e86286c80c0df5e" meta-oe toolchain-layer meta-efl meta-gpe meta-gnome meta-xfce meta-initramfs = "denzil:c0117f5ad7d1fe18d149bda426c7134ff24daae8" meta-opie = "master:efa3892b20a4ef80274e56e5633ebd62c16f9731" meta-java = "master:3386ea6c96096f107f43f282f654e5afa456109e" meta-browser = "master:c47f59df2e723495679c751cbdf6a8c6adec4b6a" meta-mono = "master:83f8233b0498aadb18bf7605c3ba6c71d9e13a3a" meta-kde = "master:5b0882d951cfd71886d423c190faaa7c7f932333" meta-ti = "denzil:95e9cf6299f5bae6965fe6fc4abe3eeb631df196" meta-efikamx = "master:2c09a3a780b23448e8a6ca964256ff7f5ccba65d" meta-nslu2 = "master:3d9fc951b05b4df476374b6fc3085ebac7f293ee" meta-htc meta-nokia meta-openmoko meta-palm = "master:2b106be01228f64298d6cb338f93088806594344" meta-handheld = "master:1f05a15aceb4c3a19fa070463b58125b5658b2a9" meta-raspberrypi = "denzil:34eef2ea4f5f24630dbb73b386861430167b8431" meta-intel meta-sugarbay meta-crownbay meta-emenlow meta-fishriver meta-fri2 meta-jasperforest meta-n450 = "master:f75f9b6f68473eb0efac802409608f8389be0030" meta = "denzil:0a9e8bf35afd5990c1b586bba5eb68f643458a4b" Any pointers would be appreciated. -----Original Message----- From: openembedded-devel-bounces@lists.openembedded.org [mailto:openembedded-devel-bounces@lists.openembedded.org] On Behalf Of Damien RANNOU Sent: Wednesday, 2 January 2013 23:21 To: openembedded-devel@lists.openembedded.org Subject: [oe] [meta-oe][PATCH] HostAP-daemon patch to make it compile with libnl 3.2 Signed-off-by: Damien RANNOU --- meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig | 2 +- meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) -- 1.7.10.4 diff --git a/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig b/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig index 1f3c6f4..2789640 100644 --- a/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig +++ b/meta-oe/recipes-connectivity/hostapd/hostap-daemon-1.0/defconfig @@ -24,7 +24,7 @@ CONFIG_DRIVER_PRISM54=y # Driver interface for drivers using the nl80211 kernel interface CONFIG_DRIVER_NL80211=y -CONFIG_LIBNL20=y +CONFIG_LIBNL32=y # driver_nl80211.c requires a rather new libnl (version 1.1) which may not be # shipped with your distribution yet. If that is the case, you need to build # newer libnl version and point the hostapd build to use it. diff --git a/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb b/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb index 310e8aa..e62531f 100644 --- a/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb +++ b/meta-oe/recipes-connectivity/hostapd/hostap-daemon_1.0.bb @@ -26,6 +26,7 @@ do_configure() { } do_compile() { + export CFLAGS="-MMD -O2 -Wall -g -I${STAGING_INCDIR}/libnl3" make }