From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f43.google.com (mail-wg0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id DB3A17E7C for ; Thu, 18 Dec 2014 23:04:28 +0100 (CET) Received: by mail-wg0-f43.google.com with SMTP id l18so2819233wgh.30 for ; Thu, 18 Dec 2014 14:04:28 -0800 (PST) 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=fyy0Ax/3SRpRabcmMcrerUR6FMXiRZJFbT/ADzvxIEQ=; b=bc6n8Cb0yG4LDbpuTNqM2uou/4Js7gr277iZ2p6nDLOxREphSvNE1fdaDFFHaHb1kI clOrPbADmpGCmOu41La7CucBLmvA+ZGejnBagLWRGzPTIEkYmC2lK3pcZnUb/qHzmWYo U5A8f1lYgnv2NYFUSzQYv5bH5XjpzMV/SmJXQZJMVKPy72C6fOpwjO7BK2INH55CsShC vu6e089eaLxtullMiZjUmlC/kG+hMMu0fivg81LTE6dDaHxRYgidiD3E5M3fWvSHtFVn Zs7Td2eZ0sO3mUxwpPCnpYNcetHnDw/iZGf9ZfU5HiNKe3MfFZOt+h3xAql/I8rdJ/qh YJXg== X-Gm-Message-State: ALoCoQmr6OkXeO5zRFRBFkqHm7pDpSW9NyGoAmiClZlRCwRTg+qEkOAvS3r5Eto9WGlxMbWIxwIm X-Received: by 10.194.19.38 with SMTP id b6mr8677476wje.44.1418940268745; Thu, 18 Dec 2014 14:04:28 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id cg8sm8376238wjc.1.2014.12.18.14.04.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 14:04:27 -0800 (PST) From: Thomas Monjalon To: Jincheng Miao Date: Thu, 18 Dec 2014 23:04:01 +0100 Message-ID: <3374859.ZpZN08uFzM@xps13> Organization: 6WIND User-Agent: KMail/4.14.3 (Linux/3.17.4-1-ARCH; KDE/4.14.3; x86_64; ; ) In-Reply-To: <1418885429-11891-1-git-send-email-jincheng.miao@gmail.com> References: <1418885429-11891-1-git-send-email-jincheng.miao@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org, barak@saguna.net Subject: Re: [dpdk-dev] [PATCH] kni: fix build for CentOS 6.6 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, 18 Dec 2014 22:04:29 -0000 > From CentOS 6.6, function skb_set_hash is introduced, this breaks > the previous assumption. So modify RHEL_RELEASE_VERSION from 7.0 > to 6.6 to fix build for rte_kni.ko. >=20 > Related mail from Barak Enat: > http://dpdk.org/ml/archives/dev/2014-December/010124.html >=20 > building error likes: > CC [M] /root/dpdk-source/build/build/lib/librte_eal/linuxapp/kni/e= 1000_82575.o > In file included from /root/dpdk-source/lib/librte_eal/linuxapp/kni/e= thtool/igb/e1000_osdep.h:41, > from /root/dpdk-source/lib/librte_eal/linuxapp/kni/e= thtool/igb/e1000_hw.h:31, > from /root/dpdk-source/lib/librte_eal/linuxapp/kni/e= thtool/igb/e1000_api.h:31, > from /root/dpdk-source/build/build/lib/librte_eal/li= nuxapp/kni/e1000_82575.c:38: > /root/dpdk-source/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3= 870: error: conflicting types for =E2=80=98skb_set_hash=E2=80=99 > include/linux/skbuff.h:620: note: previous definition of =E2=80=98skb= _set_hash=E2=80=99 was here > make[8]: *** [/root/dpdk-source/build/build/lib/librte_eal/linuxapp/k= ni/e1000_82575.o] Error 1 >=20 > Signed-off-by: Jincheng Miao Applied Thanks --=20 Thomas