All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] daq fix compilation
@ 2014-05-27 13:13 Maxim Uvarov
  2014-05-27 14:21 ` Martin Jansa
  0 siblings, 1 reply; 6+ messages in thread
From: Maxim Uvarov @ 2014-05-27 13:13 UTC (permalink / raw)
  To: openembedded-devel

preset paths to remove that error:
/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
./config.log:cc1: warning: include location "/usr/local/include" is unsafe for cross-compilation [-Wpoison-system-directories]

Also this patch add required libdnet dependency.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 meta-oe/recipes-connectivity/daq/daq_2.0.2.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
index 4e85194..dcf38fc 100644
--- a/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
+++ b/meta-oe/recipes-connectivity/daq/daq_2.0.2.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=f9ce51a65dd738dc1ae631d8b21c40e0"
 
 PARALLEL_MAKE = ""
 
-DEPENDS = "libpcap libpcre"
+DEPENDS = "libpcap libpcre libdnet"
 
 SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
             file://disable-run-test-program-while-cross-compiling.patch "
@@ -15,6 +15,9 @@ SRC_URI = "http://fossies.org/linux/misc/daq-${PV}.tar.gz \
 # daq/daq/latest lost dependency on  libdnet libmnl libnetfilter-queue libnfnetlink
 EXTRA_OECONF += "--disable-nfq-module --disable-ipq-module"
 
+# never look to /usr/local lib while cross compiling
+EXTRA_OECONF += "--includedir=/usr/include --with-libpcap-includes=/usr/lib --with-dnet-includes=/usr/lib"
+
 SRC_URI[md5sum] = "865bf9b750a2a2ca632591a3c70b0ea0"
 SRC_URI[sha256sum] = "d65d1e67c4994e02c3142c49a648642e780b7e3d942b4a51f605309beac269a8"
 
-- 
1.8.5.1.163.gd7aced9



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-05-28  8:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-27 13:13 [PATCH] daq fix compilation Maxim Uvarov
2014-05-27 14:21 ` Martin Jansa
2014-05-27 14:29   ` Maxim Uvarov
2014-05-27 19:48     ` Martin Jansa
2014-05-28  6:27       ` Koen Kooi
2014-05-28  8:50         ` Maxim Uvarov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.