dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
From: Hui Xiang <xianghuir@gmail.com>
To: dev@dpdk.org
Subject: Failed to modprobe uio module on Ubuntu 14.04
Date: Mon, 28 Sep 2015 09:44:11 +0800	[thread overview]
Message-ID: <CAPbR-puDAE-2ORxRHOZY7u+uOzRB0RuTJ0ap-TSMDRGoh9rnBQ@mail.gmail.com> (raw)

Hi guys,

  Sorry if I drop this email to the wrong list, let me know where can I
move it, thank a lot.

  I keep failing on
installing uio-module-drv-dkms_01.00.00.00-0ubuntu1_all.deb on Ubuntu
trusty(14.04), below is the error log, can anyone point out how should I
install it correctly or is it necessary to modprobe uio module with virtio
as the driver.

"""
DKMS make.log for uio-module-drv-01.00.00.00 for kernel 3.13.0-63-generic
(x86_64)
Sun Sep 27 15:03:11 UTC 2015
make -C /lib/modules/3.13.0-63-generic/build M=/var/lib/dkms/uio-module-drv/
01.00.00.00/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-63-generic'
  CC [M]  /var/lib/dkms/uio-module-drv/01.00.00.00/build/uio_module_drv.o
/var/lib/dkms/uio-module-drv/01.00.00.00/build/uio_module_drv.c: In
function ‘uio_module_drv_populate_segments’:
/var/lib/dkms/uio-module-drv/01.00.00.00/build/uio_module_drv.c:336:2:
warning: ‘return’ with a value, in function returning void [enabled by
default]
  return 0;
  ^
/var/lib/dkms/uio-module-drv/01.00.00.00/build/uio_module_drv.c: In
function ‘uio_module_drv_driver_probe’:
/var/lib/dkms/uio-module-drv/01.00.00.00/build/uio_module_drv.c:394:8:
error: void value not ignored as it ought to be
  error = uio_module_drv_populate_segments(np, uio_module_drv);
        ^
make[2]: *** [/var/lib/dkms/uio-module-drv/
01.00.00.00/build/uio_module_drv.o] Error 1
make[1]: *** [_module_/var/lib/dkms/uio-module-drv/01.00.00.00/build] Error
2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-63-generic'
make: *** [all] Error 2

"""



Thanks.

                 reply	other threads:[~2015-09-28  1:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAPbR-puDAE-2ORxRHOZY7u+uOzRB0RuTJ0ap-TSMDRGoh9rnBQ@mail.gmail.com \
    --to=xianghuir@gmail.com \
    --cc=dev@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).