From patchwork Tue May 27 13:13:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxim Uvarov X-Patchwork-Id: 30978 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 19D19203C3 for ; Tue, 27 May 2014 13:13:37 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id i17sf33131553qcy.6 for ; Tue, 27 May 2014 06:13:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:from:to:date :message-id:subject:precedence:reply-to:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=6ZCuile1KkqURVaxKvaKFddLZ+3Cln3Rp73clW5dH0w=; b=bBAIig4VyOATYN0/sTkwhrxc6TFgMxPwfqBhsyU7ksSEfhfsK+zRAMPcl8t7+CI0c/ DnmDXCc60/jRgDZehpUiJif1rYcts771V8Ome/SSYLACLXrnzCpWxSMs/gcO5yHrv8Eq u+X7djWnziUdg1kVSTSE3uqwXQQHFJa4Ho0aLMOeYkXRXChhhhN6Lvu19n13JWoC836W dD9YuK1aKgRJGqn6cOtX5oAYWrHveKPiFRcjwkYJAxIGpYkqP0yK4rS0v5bHuaXYlzBT Fwu47fooBF6Ouc4SYG/7XxbUuFBV7/NnJqZTZQo3m6ANqbhoXKeo7KTE4nPwYSvh+jkF sOmg== X-Gm-Message-State: ALoCoQlajOCaSnKPU3uo6sMa1pvCib+52yBaydyJzrhko6lxLRwZ1adLaIOnYgtN5dpq11pt+sDU X-Received: by 10.224.147.72 with SMTP id k8mr13064707qav.5.1401196416968; Tue, 27 May 2014 06:13:36 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.16.173 with SMTP id 42ls3094847qgb.62.gmail; Tue, 27 May 2014 06:13:36 -0700 (PDT) X-Received: by 10.58.47.36 with SMTP id a4mr660918ven.63.1401196416876; Tue, 27 May 2014 06:13:36 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id xb10si8077983vcb.45.2014.05.27.06.13.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 06:13:36 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id il7so10570355vcb.18 for ; Tue, 27 May 2014 06:13:36 -0700 (PDT) X-Received: by 10.52.170.237 with SMTP id ap13mr8977049vdc.27.1401196416766; Tue, 27 May 2014 06:13:36 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp118116vcb; Tue, 27 May 2014 06:13:36 -0700 (PDT) X-Received: by 10.68.223.202 with SMTP id qw10mr12779321pbc.163.1401196415950; Tue, 27 May 2014 06:13:35 -0700 (PDT) Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id ey3si18635385pbc.244.2014.05.27.06.13.35 for ; Tue, 27 May 2014 06:13:35 -0700 (PDT) Received-SPF: none (google.com: openembedded-devel-bounces@lists.openembedded.org does not designate permitted sender hosts) client-ip=140.211.169.62; Received: from mail.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D563B6FAAE; Tue, 27 May 2014 13:13:28 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-la0-f50.google.com (unknown [209.85.215.50]) by mail.openembedded.org (Postfix) with ESMTP id 031A46FA95 for ; Tue, 27 May 2014 13:13:20 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id b8so6436881lan.37 for ; Tue, 27 May 2014 06:13:21 -0700 (PDT) X-Received: by 10.112.160.105 with SMTP id xj9mr22195112lbb.2.1401196400935; Tue, 27 May 2014 06:13:20 -0700 (PDT) Received: from maxim-lap.localhost.onion ([92.39.133.154]) by mx.google.com with ESMTPSA id bq6sm15132265lbb.34.2014.05.27.06.13.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 27 May 2014 06:13:20 -0700 (PDT) From: Maxim Uvarov To: openembedded-devel@lists.openembedded.org Date: Tue, 27 May 2014 17:13:16 +0400 Message-Id: <1401196396-2009-1-git-send-email-maxim.uvarov@linaro.org> X-Mailer: git-send-email 1.8.5.1.163.gd7aced9 Subject: [oe] [PATCH] daq fix compilation X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: maxim.uvarov@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.173 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 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 --- 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"