From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by dpdk.org (Postfix) with ESMTP id B1088C4A8 for ; Thu, 30 Jul 2015 02:11:36 +0200 (CEST) Received: by wibud3 with SMTP id ud3so46778220wib.0 for ; Wed, 29 Jul 2015 17:11:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=9rB5HiAWw84eRIoPtbMQgryDIC2UhX2KO2i03xRfXio=; b=BPd17MfDj2Q7d9jA63xuCx/XR6t7TAFY99R88x0BkVEGHlUMpspTE9FC4RYjrvLixn 6V3iCVRI0ghGKlbwaHQ2KXDhyAkj2g91/I6jrcWOE7Zr3nFJ184Sylf2xH3HlrGNx/8B LgrqhOaeKw19oaaeVrzDuoPi67usZLgduNNtO5+YxBiodw7Cfm9fKuFT911UoQZ9yKAy YQ6wOhzXhNvmrSJwSm2mJDd+QalJ5L7KmeSSm4kpDTQsUWnslZ6lu3JptHSXfnUtsIFv AavLD/RJd6MNGjabrR90eVDNiyo6mNYCyR0JiF713R9bHcyyZuyRflhfOKEOc3BqDGCG /xMg== X-Gm-Message-State: ALoCoQlkAXJnsz5802L0qS3EBqrgAtxtJa0YupEco6XN4L3l2WyGTQfovUePVpfSkT1fSo7qQIa1 X-Received: by 10.194.78.110 with SMTP id a14mr87554625wjx.87.1438215096548; Wed, 29 Jul 2015 17:11:36 -0700 (PDT) Received: from xps13.localnet (guy78-1-82-235-116-147.fbx.proxad.net. [82.235.116.147]) by smtp.gmail.com with ESMTPSA id ef10sm41040521wjd.49.2015.07.29.17.11.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Jul 2015 17:11:35 -0700 (PDT) From: Thomas Monjalon To: "Zhang, Helin" Date: Thu, 30 Jul 2015 02:10:20 +0200 Message-ID: <2524437.tIIWBSmXf7@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <4566288.d5QVtI4JvI@xps13> References: <1438123707-26509-1-git-send-email-helin.zhang@intel.com> <4566288.d5QVtI4JvI@xps13> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] eal: fix build X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2015 00:11:37 -0000 2015-07-29 17:08, Thomas Monjalon: > 2015-07-29 15:00, Zhang, Helin: > > /home/hzhan75/r22/isg_cid-dpdk_org/lib/librte_eal/common/eal_common= _pci.c: In function =C3=A2=E2=82=AC?rte_eal_pci_probe_one_driver=C3=A2=E2= =82=AC=E2=84=A2: > > /home/hzhan75/r22/isg_cid-dpdk_org/lib/librte_eal/common/eal_common= _pci.c:188:4: error: implicit declaration of function =C3=A2=E2=82=AC?p= ci_config_space_set=C3=A2=E2=82=AC=E2=84=A2 [-Werror=3Dimplicit-functio= n-declaration] > > pci_config_space_set(dev); > > ^ > > /home/hzhan75/r22/isg_cid-dpdk_org/lib/librte_eal/common/eal_common= _pci.c:188:4: error: nested extern declaration of =C3=A2=E2=82=AC?pci_c= onfig_space_set=C3=A2=E2=82=AC=E2=84=A2 [-Werror=3Dnested-externs] > > cc1: all warnings being treated as errors > > /home/hzhan75/r22/isg_cid-dpdk_org/lib/librte_eal/linuxapp/eal/eal_= pci.c:561:1: error: =C3=A2=E2=82=AC?pci_config_space_set=C3=A2=E2=82=AC= =E2=84=A2 defined but not used [-Werror=3Dunused-function] > > pci_config_space_set(struct rte_pci_device *dev) > > ^ > > cc1: all warnings being treated as errors >=20 > So I will change the title to: > =09eal: fix build with pci config enabled >=20 > and add this into the message: > =09Build log: > =09=09lib/librte_eal/common/eal_common_pci.c:188:4: error: > =09=09implicit declaration of function pci_config_space_set >=20 >=20 > > > 2015-07-29 06:48, Helin Zhang: > > > > It fixes the build error of implicit declaration of function. Applied, thanks