Advertisement
Guest User

Untitled

a guest
Dec 15th, 2014
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. ERROR: Command Error: exit status: 1 Output:
  2. Applying patch 0001-hostapd-Don-t-include-libnl-include-directory.patch
  3. can't find file to patch at input line 19
  4. Perhaps you used the wrong -p or --strip option?
  5. The text leading up to this was:
  6. --------------------------
  7. |From f4a132167c62f607f248a28ef292252ba6b42a59 Mon Sep 17 00:00:00 2001
  8. |From: Jean-Michel Hautbois <[email protected]>
  9. |Date: Mon, 15 Dec 2014 15:46:53 +0100
  10. |Subject: [PATCH] hostapd: Don't include libnl include directory
  11. |
  12. |Remove hostapd include directories for libnl, as these can be in conflict
  13. |with the host includes.
  14. |
  15. |Signed-off-by: Jean-Michel Hautbois <[email protected]>
  16. |---
  17. | hostapd-2.2/src/drivers/drivers.mak | 2 +-
  18. | hostapd-2.2/src/drivers/drivers.mk | 2 +-
  19. | 2 files changed, 2 insertions(+), 2 deletions(-)
  20. |
  21. |diff --git a/hostapd-2.2/src/drivers/drivers.mak b/hostapd-2.2/src/drivers/drivers.mak
  22. |index 7e175f4..950701f 100644
  23. |--- a/hostapd-2.2/src/drivers/drivers.mak
  24. |+++ b/hostapd-2.2/src/drivers/drivers.mak
  25. --------------------------
  26. No file to patch. Skipping patch.
  27. 1 out of 1 hunk ignored
  28. can't find file to patch at input line 32
  29. Perhaps you used the wrong -p or --strip option?
  30. The text leading up to this was:
  31. --------------------------
  32. |diff --git a/hostapd-2.2/src/drivers/drivers.mk b/hostapd-2.2/src/drivers/drivers.mk
  33. |index db8561a..c93e88d 100644
  34. |--- a/hostapd-2.2/src/drivers/drivers.mk
  35. |+++ b/hostapd-2.2/src/drivers/drivers.mk
  36. --------------------------
  37. No file to patch. Skipping patch.
  38. 1 out of 1 hunk ignored
  39. Patch 0001-hostapd-Don-t-include-libnl-include-directory.patch does not apply (enforce with -f)
  40. ERROR: Function failed: patch_do_patch
  41. 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
  42. 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'
  43.  
  44.  
  45. The patch :
  46. cat ../meta-openembedded/meta-oe/recipes-connectivity/hostapd/hostapd-2.2/0001-hostapd-Don-t-include-libnl-include-directory.patch
  47. From f4a132167c62f607f248a28ef292252ba6b42a59 Mon Sep 17 00:00:00 2001
  48. From: Jean-Michel Hautbois <[email protected]>
  49. Date: Mon, 15 Dec 2014 15:46:53 +0100
  50. Subject: [PATCH] hostapd: Don't include libnl include directory
  51.  
  52. Remove hostapd include directories for libnl, as these can be in conflict
  53. with the host includes.
  54.  
  55. Signed-off-by: Jean-Michel Hautbois <[email protected]>
  56. ---
  57. hostapd-2.2/src/drivers/drivers.mak | 2 +-
  58. hostapd-2.2/src/drivers/drivers.mk | 2 +-
  59. 2 files changed, 2 insertions(+), 2 deletions(-)
  60.  
  61. diff --git a/hostapd-2.2/src/drivers/drivers.mak b/hostapd-2.2/src/drivers/drivers.mak
  62. index 7e175f4..950701f 100644
  63. --- a/hostapd-2.2/src/drivers/drivers.mak
  64. +++ b/hostapd-2.2/src/drivers/drivers.mak
  65. @@ -35,7 +35,7 @@ NEED_RFKILL=y
  66. ifdef CONFIG_LIBNL32
  67. DRV_LIBS += -lnl-3
  68. DRV_LIBS += -lnl-genl-3
  69. - DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3
  70. + DRV_CFLAGS += -DCONFIG_LIBNL20
  71. else
  72. ifdef CONFIG_LIBNL_TINY
  73. DRV_LIBS += -lnl-tiny
  74. diff --git a/hostapd-2.2/src/drivers/drivers.mk b/hostapd-2.2/src/drivers/drivers.mk
  75. index db8561a..c93e88d 100644
  76. --- a/hostapd-2.2/src/drivers/drivers.mk
  77. +++ b/hostapd-2.2/src/drivers/drivers.mk
  78. @@ -30,7 +30,7 @@ NEED_RFKILL=y
  79. ifdef CONFIG_LIBNL32
  80. DRV_LIBS += -lnl-3
  81. DRV_LIBS += -lnl-genl-3
  82. - DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3
  83. + DRV_CFLAGS += -DCONFIG_LIBNL20
  84. else
  85. ifdef CONFIG_LIBNL_TINY
  86. DRV_LIBS += -lnl-tiny
  87. --
  88. 2.1.2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement