Package Details: px4_drv-dkms-git r76.3c6348e-2

Git Clone URL: https://aur.archlinux.org/px4_drv-dkms-git.git (read-only, click to copy)
Package Base: px4_drv-dkms-git
Description: PLEX PX-W3U4/W3PE4/Q3PE4 unofficial Linux driver
Upstream URL: https://github.com/nns779/px4_drv
Licenses: GPL2
Conflicts: px4_drv, px4_drv-dkms, px4_drv-git
Provides: px4_drv, px4_drv-dkms, px4_drv-git
Submitter: lafr4nc3
Maintainer: lafr4nc3
Last Packager: lafr4nc3
Votes: 0
Popularity: 0.000000
First Submitted: 2019-03-09 12:07 (UTC)
Last Updated: 2019-03-14 23:59 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

andrej commented on 2024-02-04 21:31 (UTC)

This doesn’t work. But with almost 5 years of age the package may well be completely obsolete; not quite sure.

In file included from ./include/linux/linkage.h:7,
                 from ./include/linux/preempt.h:10,
                 from ./include/linux/spinlock.h:56,
                 from ./include/linux/kref.h:16,
                 from /var/lib/dkms/px4_drv/r384.7fa9f05/build/driver/ptx_chrdev.h:13,
                 from /var/lib/dkms/px4_drv/r384.7fa9f05/build/driver/ptx_chrdev.c:9:
/var/lib/dkms/px4_drv/r384.7fa9f05/build/driver/ptx_chrdev.c: In function ‘ptx_chrdev_context_create’:
./include/linux/export.h:29:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   29 | #define THIS_MODULE (&__this_module)
      |                     ~^~~~~~~~~~~~~~~
      |                      |
      |                      struct module *
/var/lib/dkms/px4_drv/r384.7fa9f05/build/driver/ptx_chrdev.c:573:35: note: in expansion of macro ‘THIS_MODULE’
  573 |         ctx->class = class_create(THIS_MODULE, name);
      |                                   ^~~~~~~~~~~
In file included from ./include/linux/device.h:31,
                 from ./include/linux/cdev.h:8,
                 from /var/lib/dkms/px4_drv/r384.7fa9f05/build/driver/ptx_chrdev.h:16:
./include/linux/device/class.h:230:54: note: expected ‘const char *’ but argument is of type ‘struct module *’
  230 | struct class * __must_check class_create(const char *name);
      |                                          ~~~~~~~~~~~~^~~~
/var/lib/dkms/px4_drv/r384.7fa9f05/build/driver/ptx_chrdev.c:573:22: error: too many arguments to function ‘class_create’
  573 |         ctx->class = class_create(THIS_MODULE, name);
      |                      ^~~~~~~~~~~~
./include/linux/device/class.h:230:29: note: declared here
  230 | struct class * __must_check class_create(const char *name);
      |                             ^~~~~~~~~~~~
cc1: some warnings being treated as errors