From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 51B665946 for ; Tue, 10 Feb 2015 08:48:49 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 09 Feb 2015 23:48:43 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.09,548,1418112000"; d="scan'208";a="649910195" Received: from unknown (HELO [10.217.248.122]) ([10.217.248.122]) by orsmga001.jf.intel.com with ESMTP; 09 Feb 2015 23:48:34 -0800 Message-ID: <54D9B7D1.3060300@intel.com> Date: Tue, 10 Feb 2015 08:48:33 +0100 From: Pawel Wodkowski User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Shankari Vaidyalingam , "dev@dpdk.org" References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] Error while executing make - Pktgen-DPDK 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: Tue, 10 Feb 2015 07:48:50 -0000 On 2015-02-09 20:25, Shankari Vaidyalingam wrote: > Hi, > > I'm trying to compile the DPDK code coming along with the Pktgen-DPDK. > I got the source code of Pktgen-DPDK by cloning the Git repository using - > sudo git clone git://github.com/Pktgen/Pktgen-DPDK.git On Ubuntu 12.04 you need to apply this patch http://dpdk.org/ml/archives/dev/2014-August/004771.html if you are using github repo. I don't think this repo is maintained anymore. You can use this repo http://dpdk.org/browse/apps/pktgen-dpdk/. Pawel > > I'm getting the below error when I tried executing make: > > from > /home/controller/software/Pktgen-DPDK/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_hw.h:31, > from > /home/controller/software/Pktgen-DPDK/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/e1000_api.h:31, > from > /home/controller/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.c:38: > /home/controller/software/Pktgen-DPDK/dpdk/lib/librte_eal/linuxapp/kni/ethtool/igb/kcompat.h:3864:63: > error: missing binary operator before token "~" > make[10]: *** > [/home/controller/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni/e1000_82575.o] > Error 1 > make[9]: *** > [_module_/home/controller/software/Pktgen-DPDK/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/kni] > Error 2 > make[8]: *** [sub-make] Error 2 > make[7]: *** [rte_kni.ko] Error 2 > make[6]: *** [kni] Error 2 > make[5]: *** [linuxapp] Error 2 > make[4]: *** [librte_eal] Error 2 > make[3]: *** [lib] Error 2 > make[2]: *** [all] Error 2 > make[1]: *** [x86_64-native-linuxapp-gcc_install] Error 2 > make: *** [install] Error 2 > > Please let me know how to resolve this issue. > > Regards > Shankari.V > -- Pawel