aircrack-ng / rtl8812au

RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

usb_intf.c: a parameter list without types

seppzer0 opened this issue · comments

Hi.

I've been attempting to build this driver with latest changes pulled and I got an error (and a warning) with the following message:

../drivers/net/wireless/realtek/rtl8812au/os_dep/linux/usb_intf.c:1643:1: warning: declaration specifier missing, defaulting to 'int'
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
^
int
../drivers/net/wireless/realtek/rtl8812au/os_dep/linux/usb_intf.c:1643:18: error: a parameter list without types is only allowed in a function definition
MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
                 ^
1 warning and 1 error generated.

I assume it is related to one of the two commits recently pushed to the repository.

Some context on my (NetHunter) build:

  • arch -> aarch64;
  • OS -> Android;
  • compiler -> Clang 15.0.1 (URL).

At the time of writing, I've rolled back and removed the last two commits in my local copy of the repository.
I am currently unaware of how this issue can be fixed, but I thought I should let you know.