From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCHv2] daq fix compilation
Date: Fri, 06 Jun 2014 11:06:00 +0200 [thread overview]
Message-ID: <lms09o$fas$1@ger.gmane.org> (raw)
In-Reply-To: <1401269527-16387-1-git-send-email-maxim.uvarov@linaro.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Maxim Uvarov schreef op 28-05-14 11:32:
> 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> --- v2: use
> ${includedir} ${STAGING_INCDIR} and ${STAGING_LIBDIR} instead of direct
> reference to /usr/include or /usr/lib
>
>
> 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..efdcf99
> 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=${includedir} --with-libpcap-includes=${STAGING_INCDIR}
> --with-dnet-includes=${STAGING_LIBDIR}" +
Please collaps the 2 EXTRA_OECONF += into as single EXTRA_OECONF = (without
the '+').
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFTkYR3MkyGM64RGpERAnd+AJ9pD4N3uG5xYIOYSzmJfzwvpcoMmwCgmW3z
WTu9Sk8wA+ja+z8Cxm/e9rc=
=6hIa
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2014-06-06 9:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-28 9:32 [PATCHv2] daq fix compilation Maxim Uvarov
2014-06-06 9:06 ` Koen Kooi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='lms09o$fas$1@ger.gmane.org' \
--to=koen@dominion.thruhere.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox