DPDK usage discussions
 help / color / mirror / Atom feed
From: Klei rama <kleirama90@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] Error while building DPDK version 19.11 over latest kernel version
Date: Thu, 1 Oct 2020 19:04:39 +0200
Message-ID: <CAEicDxF76qPc3ze9tTdWEdDgkMtcYobuq8bj5q9Voyh9+XPa+g@mail.gmail.com> (raw)

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?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.


Any kind of help will be very much appreciated.


Cheers,

Klei

             reply	other threads:[~2020-10-02  7:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-01 17:04 Klei rama [this message]
2020-10-02  7:15 ` Thomas Monjalon
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=CAEicDxF76qPc3ze9tTdWEdDgkMtcYobuq8bj5q9Voyh9+XPa+g@mail.gmail.com \
    --to=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

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git