ERROR: Command Error: exit status: 1 Output: Applying patch 0001-hostapd-Don-t-include-libnl-include-directory.patch can't find file to patch at input line 19 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From f4a132167c62f607f248a28ef292252ba6b42a59 Mon Sep 17 00:00:00 2001 |From: Jean-Michel Hautbois |Date: Mon, 15 Dec 2014 15:46:53 +0100 |Subject: [PATCH] hostapd: Don't include libnl include directory | |Remove hostapd include directories for libnl, as these can be in conflict |with the host includes. | |Signed-off-by: Jean-Michel Hautbois |--- | hostapd-2.2/src/drivers/drivers.mak | 2 +- | hostapd-2.2/src/drivers/drivers.mk | 2 +- | 2 files changed, 2 insertions(+), 2 deletions(-) | |diff --git a/hostapd-2.2/src/drivers/drivers.mak b/hostapd-2.2/src/drivers/drivers.mak |index 7e175f4..950701f 100644 |--- a/hostapd-2.2/src/drivers/drivers.mak |+++ b/hostapd-2.2/src/drivers/drivers.mak -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 32 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/hostapd-2.2/src/drivers/drivers.mk b/hostapd-2.2/src/drivers/drivers.mk |index db8561a..c93e88d 100644 |--- a/hostapd-2.2/src/drivers/drivers.mk |+++ b/hostapd-2.2/src/drivers/drivers.mk -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored Patch 0001-hostapd-Don-t-include-libnl-include-directory.patch does not apply (enforce with -f) ERROR: Function failed: patch_do_patch ERROR: Logfile of failure stored in: /run/media/jm/SSD_JM/Projets/vodabox3/poky/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/hostapd/2.2-r0/temp/log.do_patch.613 ERROR: Task 796 (/run/media/jm/SSD_JM/Projets/vodabox3/poky/meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostapd_2.2.bb, do_patch) failed with exit code '1' The patch : cat ../meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostapd-2.2/0001-hostapd-Don-t-include-libnl-include-directory.patch From f4a132167c62f607f248a28ef292252ba6b42a59 Mon Sep 17 00:00:00 2001 From: Jean-Michel Hautbois Date: Mon, 15 Dec 2014 15:46:53 +0100 Subject: [PATCH] hostapd: Don't include libnl include directory Remove hostapd include directories for libnl, as these can be in conflict with the host includes. Signed-off-by: Jean-Michel Hautbois --- hostapd-2.2/src/drivers/drivers.mak | 2 +- hostapd-2.2/src/drivers/drivers.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hostapd-2.2/src/drivers/drivers.mak b/hostapd-2.2/src/drivers/drivers.mak index 7e175f4..950701f 100644 --- a/hostapd-2.2/src/drivers/drivers.mak +++ b/hostapd-2.2/src/drivers/drivers.mak @@ -35,7 +35,7 @@ NEED_RFKILL=y ifdef CONFIG_LIBNL32 DRV_LIBS += -lnl-3 DRV_LIBS += -lnl-genl-3 - DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3 + DRV_CFLAGS += -DCONFIG_LIBNL20 else ifdef CONFIG_LIBNL_TINY DRV_LIBS += -lnl-tiny diff --git a/hostapd-2.2/src/drivers/drivers.mk b/hostapd-2.2/src/drivers/drivers.mk index db8561a..c93e88d 100644 --- a/hostapd-2.2/src/drivers/drivers.mk +++ b/hostapd-2.2/src/drivers/drivers.mk @@ -30,7 +30,7 @@ NEED_RFKILL=y ifdef CONFIG_LIBNL32 DRV_LIBS += -lnl-3 DRV_LIBS += -lnl-genl-3 - DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3 + DRV_CFLAGS += -DCONFIG_LIBNL20 else ifdef CONFIG_LIBNL_TINY DRV_LIBS += -lnl-tiny -- 2.1.2