From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E708AA04BA for ; Fri, 2 Oct 2020 09:15:48 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3D7EE1D541; Fri, 2 Oct 2020 09:15:47 +0200 (CEST) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 5B0671D506 for ; Fri, 2 Oct 2020 09:15:45 +0200 (CEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id ADB395C00EC; Fri, 2 Oct 2020 03:15:43 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Fri, 02 Oct 2020 03:15:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= NS9HQIc0Vo+F5wfx4EX2c5zMxFM0V6cKA1tRb8Q1h1A=; b=vRoD4tbN8lY+jj/R ixjW1fYavdS3aQ0uxhfOdjYe1h+C0iOeAwkm20K7P2oAtC8myiwtBNMurCzBe6bA RaTG9HE6hMscPhLV4nu+e/vZSFOy570Sld2ZKZ714AMX0cUrR6yEaLdj2Q4ImcyG im82QXk+H/uzWum/HbjCA73HJizY/C2OQqqPqxcss++1ecEbkDG1+PBmIR1b9zmX PofDI2SxvpHz0zgdnfc+CRcNQEI28s8yXeMDj7P1GCw6fGyhtSym5hddDDz7e0P7 osf/R3ji4TIiALXvNimdI9Wy4Sf56rJZ8TGbiDtxhEFSGpj51juVNTYThEcEsFuL 9CAPjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=NS9HQIc0Vo+F5wfx4EX2c5zMxFM0V6cKA1tRb8Q1h 1A=; b=ImE1VhQIsn/Vncm7mdBJZu6UsLuEhRXDFyE/V/+o0S1pDzX3Kmub0yeHs Jf+dOteFHISKv1TLl4wlxFfTWjA356zwpb11BzdGJ0xJIKYRoGl+nivVHWGbVhNA aVLmEGaFtup+Sk2isvH1AKAixJM/Y5iq2XbVJonoUUJ86JN27/FSgl5lNmKZzExw K3ZDEtYfs63rbymryBGasJzxx/wIDx7TeaMVaGaBzSM4d3NIVyoMWZTrkiHPK+Vo gmSszf2IzzNmZ/YiS+kVBXFH0XQT8SR3fNol1gGjMwgFyIjwO+lytuKt/70EN/pR j5k6lwP1qZ6dQtta+EhsTJ6LxEzjA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrfeehgdduudefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkfgjfhgggfgtsehtqhertddttdejnecuhfhrohhmpefvhhhomhgr shcuofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecugg ftrfgrthhtvghrnhepvdekteeviefhgeeftdefjeeukeekkeeuvefgjeeuvdeivddvveeu gfetvedtfeevnecuffhomhgrihhnpeguphgukhdrohhrghenucfkphepjeejrddufeegrd dvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhf rhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 243B2328005D; Fri, 2 Oct 2020 03:15:43 -0400 (EDT) From: Thomas Monjalon To: Klei rama Cc: users@dpdk.org Date: Fri, 02 Oct 2020 09:15:40 +0200 Message-ID: <6714101.kxl4BfHphI@thomas> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] Error while building DPDK version 19.11 over latest kernel version 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: , Errors-To: users-bounces@dpdk.org Sender: "users" 01/10/2020 19:04, Klei rama: > Hei, >=20 > I am trying to build DPDK version 19.11 in my ubuntu machine (18.04) with > the latest kernel version 5.9. It gives me an error while I try to build > it. The error is when I try to build linux/kni module. > The error looks something like this: >=20 > *dpdk/kernel/linux/kni/kni_dev.h:104:30:* *error: *passing argument 1 of = =E2=80=98 > *get_user_pages_remote*=E2=80=99 from incompatible pointer type [ > *-Werror=3Dincompatible-pointer-types*] >=20 >=20 > Is there any workaround? Yes, it will be fixed with the backport of this patch: http://git.dpdk.org/dpdk/commit/?id=3D87efaea6376c8 > Do I need to disable that module or should I > downgrade the kernel version? I wanted to debug my application and see if > it needs kni module but I did not not how to disable kni module. I tried > common_base and common_linux under config directory but could not find the > line which disable this module. You can disable KNI in the config file: CONFIG_RTE_KNI_KMOD=3Dn