Xtrx-dkms fails to build on 6.5.0-13parrot1-amd64

Hey all, I’ve been trying to install SoapySDR and keep running into the same error. It fails to build the xtrx-dkms package. I’ve recently upgraded 2 of my workstations to Parrot OS 6.0 and they both receive the same error. Is anyone else experiencing this? or do I have something misconfigured?
and could someone dumb it down for me if possible?
Side note: One of my workstations is running in Virtualbox, the other is running natively and they both receive the same error.

Error Message: Error! Bad return status for module build on kernel: 6.5.0-13parrot1-amd64 (x86_64)

Package on Debian: Debian -- Details of package xtrx-dkms in sid

Forgive me if I missed out on something or posted this wrong as i am new to this, and thank you all for any help in advance.
—*

Kernel Version:
6.5.0-13parrot1-amd64

*Logs/Terminal output:
Terminal when I attempt to install xtrx-dkms:
The following NEW packages will be installed:
xtrx-dkms
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/14.8 kB of archives.
After this operation, 73.7 kB of additional disk space will be used.
Selecting previously unselected package xtrx-dkms.
(Reading database … 555803 files and directories currently installed.)
Preparing to unpack …/xtrx-dkms_0.0.1+git20190320.5ae3a3e-3.2_all.deb …
Unpacking xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.2) …
Setting up xtrx-dkms (0.0.1+git20190320.5ae3a3e-3.2) …
Loading new xtrx-0.0.1+git20190320.5ae3a3e-3.2 DKMS files…
Building for 6.5.0-13parrot1-amd64
Building initial module for 6.5.0-13parrot1-amd64
Error! Bad return status for module build on kernel: 6.5.0-13parrot1-amd64 (x86_64)
Consult /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/make.log for more information.
dpkg: error processing package xtrx-dkms (–configure):
installed xtrx-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
xtrx-dkms
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
E: Sub-process /usr/bin/dpkg returned an error code (1)

Log file mentioned above:
DKMS make.log for xtrx-0.0.1+git20190320.5ae3a3e-3.2 for kernel 6.5.0-13parrot1-amd64 (x86_64)
Tue Jan 30 11:35:42 AM CST 2024
make: Entering directory ‘/usr/src/linux-headers-6.5.0-13parrot1-amd64’
CC [M] /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.o
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c: In function ‘xtrxfd_mmap’:
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:1075:31: error: assignment of read-only member ‘vm_flags’
1075 | vma->vm_flags |= VM_LOCKED;
| ^~
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:1090:31: error: assignment of read-only member ‘vm_flags’
1090 | vma->vm_flags |= VM_IO;
| ^~
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:1115:31: error: assignment of read-only member ‘vm_flags’
1115 | vma->vm_flags |= VM_LOCKED;
| ^~
In file included from /usr/src/linux-headers-6.5.0-13parrot1-common/include/linux/linkage.h:7,
from /usr/src/linux-headers-6.5.0-13parrot1-common/arch/x86/include/asm/cache.h:5,
from /usr/src/linux-headers-6.5.0-13parrot1-common/include/linux/cache.h:6,
from /usr/src/linux-headers-6.5.0-13parrot1-common/include/linux/time.h:5,
from /usr/src/linux-headers-6.5.0-13parrot1-common/include/linux/stat.h:19,
from /usr/src/linux-headers-6.5.0-13parrot1-common/include/linux/module.h:13,
from /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:22:
/var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c: In function ‘xtrx_init’:
/usr/src/linux-headers-6.5.0-13parrot1-common/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/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:1523:35: note: in expansion of macro ‘THIS_MODULE’
1523 | xtrx_class = class_create(THIS_MODULE, CLASS_NAME);
| ^~~~~~~~~~~
In file included from /usr/src/linux-headers-6.5.0-13parrot1-common/include/linux/device.h:31,
from /usr/src/linux-headers-6.5.0-13parrot1-common/include/linux/pci.h:37,
from /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:25:
/usr/src/linux-headers-6.5.0-13parrot1-common/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/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.c:1523:22: error: too many arguments to function ‘class_create’
1523 | xtrx_class = class_create(THIS_MODULE, CLASS_NAME);
| ^
~
/usr/src/linux-headers-6.5.0-13parrot1-common/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
make[2]: *** [/usr/src/linux-headers-6.5.0-13parrot1-common/scripts/Makefile.build:248: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build/xtrx.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.5.0-13parrot1-common/Makefile:2059: /var/lib/dkms/xtrx/0.0.1+git20190320.5ae3a3e-3.2/build] Error 2
make: *** [/usr/src/linux-headers-6.5.0-13parrot1-common/Makefile:246: __sub-make] Error 2
make: Leaving directory ‘/usr/src/linux-headers-6.5.0-13parrot1-amd64’