From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from BLU004-OMC4S6.hotmail.com (blu004-omc4s6.hotmail.com [65.55.111.145]) by dpdk.org (Postfix) with ESMTP id 359B52A07 for ; Fri, 4 Sep 2015 05:48:23 +0200 (CEST) Received: from BLU179-W63 ([65.55.111.135]) by BLU004-OMC4S6.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Thu, 3 Sep 2015 20:48:22 -0700 X-TMN: [9lR3IYXHBGl4tjjBBCAjmFp4ylo8hwl0] X-Originating-Email: [mansooraa@hotmail.com] Message-ID: From: Ale Mansoor To: "dev@dpdk.org" Date: Fri, 4 Sep 2015 03:48:22 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 04 Sep 2015 03:48:22.0867 (UTC) FILETIME=[8BE39230:01D0E6C4] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] vmxnet2-usermap kmod compile errors with ubuntu 15.04 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: Fri, 04 Sep 2015 03:48:23 -0000 Downloaded the latest vmxnet3-usermap package (ver 1.2) from dpdk.org=2C tr= ied compiling it under an Ubuntu VM but it fails to compile=2C is there a n= ewer version of this driver available from somewhere that will compile corr= ectly under Ubuntu 15.04 ? The kernel (Ubuntu 15.04) "uname -a" =3D=3D=3D> Linux ubuntu-vm-mansoor 3.1= 9.0-15-generic #15-Ubuntu SMP Thu Apr 16 23:32:37 UTC 2015 x86_64 x86_64 x8= 6_64 GNU/Linux First I got an error about undefined VM_RESERVED=2C which I fixed by settin= g to (VM_DONTEXPAND | VM_DONTDUMP) to get past the error=2C now I get follo= wing compile errors=2C have followed the instructions inside the "vmxnet3-u= sermap-1.2/kmod/README" file.=20 Also noticed the message "Using 2.6.x kernel build system"=2C have setup th= e RTE environment variables as below: # env | grep RTERTE_INCLUDE=3D/home/mansoor/dpdk_download/dpdk_2.1/dpdk-2.1= .0/build/includeRTE_SDK=3D/home/mansoor/dpdk_download/dpdk_2.1/dpdk-2.1.0RT= E_TARGET=3Dx86_64-native-linuxapp-gcc Thanks in advance for your help. ---------------------------- # makeUsing 2.6.x kernel build system.make -C /lib/modules/3.19.0-15-generi= c/build/include/.. SUBDIRS=3D$PWD SRCROOT=3D$PWD/. \ MODULEBUILDDIR=3D mod= ulesmake[1]: Entering directory '/usr/src/linux-headers-3.19.0-15-generic' = CC [M] /home/mansoor/dpdk_download/dpdk_2.1/dpdk-2.1.0/vmxnet3-usermap-1.= 2/kmod/vmxnet3_ethtool.o/home/mansoor/dpdk_download/dpdk_2.1/dpdk-2.1.0/vmx= net3-usermap-1.2/kmod/vmxnet3_ethtool.c: In function =E2=80=98vmxnet3_set_f= eatures=E2=80=99:/home/mansoor/dpdk_download/dpdk_2.1/dpdk-2.1.0/vmxnet3-us= ermap-1.2/kmod/vmxnet3_ethtool.c:361:48: error: =E2=80=98NETIF_F_HW_VLAN_RX= =E2=80=99 undeclared (first use in this function) if (changed & (NETIF_F_R= XCSUM | NETIF_F_LRO | NETIF_F_HW_VLAN_RX)) { = ^/home/mansoor/dpdk_download/dpdk_2.1/dpdk-2.1.0/vmxnet3-u= sermap-1.2/kmod/vmxnet3_ethtool.c:361:48: note: each undeclared identifier = is reported only once for each function it appears in/home/mansoor/dpdk_dow= nload/dpdk_2.1/dpdk-2.1.0/vmxnet3-usermap-1.2/kmod/vmxnet3_ethtool.c: In fu= nction =E2=80=98vmxnet3_set_ethtool_ops=E2=80=99:/home/mansoor/dpdk_downloa= d/dpdk_2.1/dpdk-2.1.0/vmxnet3-usermap-1.2/kmod/vmxnet3_ethtool.c:677:2: err= or: implicit declaration of function =E2=80=98SET_ETHTOOL_OPS=E2=80=99 [-We= rror=3Dimplicit-function-declaration] SET_ETHTOOL_OPS(netdev=2C &vmxnet3_e= thtool_ops)=3B ^cc1: some warnings being treated as errorsscripts/Makefile= .build:257: recipe for target '/home/mansoor/dpdk_download/dpdk_2.1/dpdk-2.= 1.0/vmxnet3-usermap-1.2/kmod/vmxnet3_ethtool.o' failedmake[2]: *** [/home/m= ansoor/dpdk_download/dpdk_2.1/dpdk-2.1.0/vmxnet3-usermap-1.2/kmod/vmxnet3_e= thtool.o] Error 1Makefile:1394: recipe for target '_module_/home/mansoor/dp= dk_download/dpdk_2.1/dpdk-2.1.0/vmxnet3-usermap-1.2/kmod' failedmake[1]: **= * [_module_/home/mansoor/dpdk_download/dpdk_2.1/dpdk-2.1.0/vmxnet3-usermap-= 1.2/kmod] Error 2make[1]: Leaving directory '/usr/src/linux-headers-3.19.0-= 15-generic'Makefile:123: recipe for target 'vmxnet3-usermap.ko' failedmake:= *** [vmxnet3-usermap.ko] Error 2 =