From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by dpdk.org (Postfix) with ESMTP id 83003952 for ; Wed, 8 Feb 2017 04:52:50 +0100 (CET) Received: by mail-pg0-f67.google.com with SMTP id v184so13874156pgv.1 for ; Tue, 07 Feb 2017 19:52:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=3mIrsZHlhklzpbsJHpO+j8Q2HuDX1dcKymXjylGh650=; b=LtwtDDRop6vvWMvPoR9U5iNtgFzi/rVJUT5cQ28hRw83t4qltrc+YfqaDj3Y96a+56 cupOq84fbE3wylGzDBvlZJnXn2QE7qWejjds2z8g/bDFu259aZEl4xXrqDYkmtzEr3Ii i1Jg09Hy/wgJxIk3nbl7aTCrnOXD9HddTP48o+pydyE8iEkSYFlrX/p4f3nn7/MNAU2n MUt0WVGomr68CtKg2xNlWu9HR2y9P1LxF9x8W0pNFmK02Tv6gosnslmeNI0G2wh6YHA9 smSWU2MvkqNMdlPa6KBsd5bD54Bv0rI2oW3fDLIkFtRLVn4ZSXhuCgO/5x6OMNY4MNbR M4gQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=3mIrsZHlhklzpbsJHpO+j8Q2HuDX1dcKymXjylGh650=; b=N5FMTy522SpcqG0X8XOssk2IgoEVFZdGaTSx5VoPVoizTs+A4BNfI0P8MI9pmLBMaM wXkolke0igf9MLdfTHFF8yPdPI62tytKAyKCQScLRMQQkkBUOovo3ITKtwFnJEo0JbyH C8Ot9hoTafjaVsEvizbONh+aEGF42LtVEvV3bPil4U1bUVQJIo9OnFlWkgGfgNK0xQQK hP6B835HVsz3iFftWzZGvfQWMZ01ZLLDbMXcTk4+qVAvx/WnGkWepLYE0b1jP2cRlaIO lXfPIFw/TXNIVNLVMo5Ka0YoFd9VuGbMuq3CPEc8xzTrDdFSrYXJDssS4+guoX16ylog YxHQ== X-Gm-Message-State: AIkVDXKGmETOgrbqc86poMO0kkb186OxDRHX5gqNRvZvKjDbN7OXUS7/kYLS8GyCdqKQkg== X-Received: by 10.98.210.3 with SMTP id c3mr23697174pfg.7.1486525969506; Tue, 07 Feb 2017 19:52:49 -0800 (PST) Received: from [0.0.0.0] (104.194.74.110.16clouds.com. [104.194.74.110]) by smtp.gmail.com with ESMTPSA id j78sm15070854pfk.39.2017.02.07.19.52.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Feb 2017 19:52:48 -0800 (PST) To: users@dpdk.org From: Cao Tong Message-ID: <2f69d2c2-0235-09d5-d2cc-bc81c4e6a339@gmail.com> Date: Wed, 8 Feb 2017 11:52:42 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [dpdk-users] kni compile failed with Linux-3.10.0-514.6.1.el7.x86_64 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Feb 2017 03:52:50 -0000 hi, KNI compile failed with kernel "Linux-3.10.0-514.6.1.el7.x86_64" under CentOS 7. DPDK version is 'dpdk-stable-16.07.2' . CC [M] /root/src/thirdparty/dpdk/dpdk-stable-16.07.2/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.o /root/src/thirdparty/dpdk/dpdk-stable-16.07.2/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c: In function ‘igb_ndo_bridge_getlink’: /root/src/thirdparty/dpdk/dpdk-stable-16.07.2/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:2290:2: error: too few arguments to function ‘ndo_dflt_bridge_getlink’ return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode, 0, 0); ^ In file included from /usr/src/kernels/3.10.0-514.6.1.el7.x86_64/include/net/dst.h:13:0, from /usr/src/kernels/3.10.0-514.6.1.el7.x86_64/include/net/sock.h:72, from /usr/src/kernels/3.10.0-514.6.1.el7.x86_64/include/linux/tcp.h:23, from /root/src/thirdparty/dpdk/dpdk-stable-16.07.2/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/igb_main.c:34: /usr/src/kernels/3.10.0-514.6.1.el7.x86_64/include/linux/rtnetlink.h:100:12: note: declared here extern int ndo_dflt_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, ^ -- ------------ Cao Tong