From: Thomas Monjalon <thomas@monjalon.net>
To: Klei rama <kleirama90@gmail.com>
Cc: users@dpdk.org
Subject: Re: [dpdk-users] Error while building DPDK version 19.11 over latest kernel version
Date: Fri, 02 Oct 2020 09:15:40 +0200 [thread overview]
Message-ID: <6714101.kxl4BfHphI@thomas> (raw)
In-Reply-To: <CAEicDxF76qPc3ze9tTdWEdDgkMtcYobuq8bj5q9Voyh9+XPa+g@mail.gmail.com>
01/10/2020 19:04, Klei rama:
> Hei,
>
> 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:
>
> *dpdk/kernel/linux/kni/kni_dev.h:104:30:* *error: *passing argument 1 of ‘
> *get_user_pages_remote*’ from incompatible pointer type [
> *-Werror=incompatible-pointer-types*]
>
>
> Is there any workaround?
Yes, it will be fixed with the backport of this patch:
http://git.dpdk.org/dpdk/commit/?id=87efaea6376c8
> 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=n
next prev parent reply other threads:[~2020-10-02 7:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-01 17:04 Klei rama
2020-10-02 7:15 ` Thomas Monjalon [this message]
2020-10-02 7:16 ` David Marchand
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6714101.kxl4BfHphI@thomas \
--to=thomas@monjalon.net \
--cc=kleirama90@gmail.com \
--cc=users@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).