Code Monkey home page Code Monkey logo

Comments (27)

lordlabakdas avatar lordlabakdas commented on July 26, 2024 1

This might be related to the same error and thus posting this as part of the same thread:
Tried installing rtl8812au on a fresh install of CentOS 7 (and a yum update and yum install kernel-devel) and fails with the below error message upon a make:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.10.0-123.el7.x86_64/build M=/home/siddharth/Downloads/rtl8812au-master  modules
make: *** /lib/modules/3.10.0-123.el7.x86_64/build: No such file or directory.  Stop.
make: *** [modules] Error 2

Any help greatly appreciated

from rtl8812au.

tz1 avatar tz1 commented on July 26, 2024
  1. Where is it failing. I'm able to build Fedora 20 x64. Please give the error message or whatever.
  2. Insure /lib/modules//build points to the source tree for the x64 kernel you wish to target and that the full source including the .config and such are installed. (this needs to be added to the build instructions).

from rtl8812au.

Chadster766 avatar Chadster766 commented on July 26, 2024

This is the error I get:

chad@McDev1:/AC1200/rtl8812au$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.2.0-4-amd64/build M=/home/chad/AC1200/rtl8812au modules
make: *** /lib/modules/3.2.0-4-amd64/build: No such file or directory. Stop.
make: *** [modules] Error 2
chad@McDev1:
/AC1200/rtl8812au$

from rtl8812au.

tz1 avatar tz1 commented on July 26, 2024

First, find and/or install the kernel development and the source or build for your currently running kernel. This might be in /usr/src or a src deb which you will have to unpack somewhere. Typically the directory will be called linux, so /usr/src/linux. You may need to build the kernel first, or at least do the configuration.

When you have the source / build tree for the current kernel, link the location of that tree to the build directory in /lib/modules:

ln -sf (path_to_kernel_tree) /lib/modules/3.2.0-4-amd64/build

from rtl8812au.

Chadster766 avatar Chadster766 commented on July 26, 2024

Ok I will give that a shot 😄

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

@Chadster766 install linux-headers-$(uname -r)
That should be all you need to compile a kernel module on Debian

from rtl8812au.

Chadster766 avatar Chadster766 commented on July 26, 2024

Awesome thanks!

from rtl8812au.

FinnDS avatar FinnDS commented on July 26, 2024

Hey guys, I'm in Ubuntu 14.10 64-bit and I am having trouble compiling aswell. Tried what @tz1 said, and I have the required linux-headers, but I am still getting the error. Does anyone have any tips on what to do? Thanks in advance!

finnds@ubuntu:~/rtl2/rtl8812au_linux-master$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16.0-24-generic/build M=/home/finnds/rtl2/rtl8812au_linux-master  modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-24-generic'
  CC [M]  /home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.o
/home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.c: In function ‘dump_drv_version’:
/home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.c:66:64: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
  DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
                                                                ^
/home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.c:66:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
  DBG_871X_SEL_NL(sel, "build time: %s %s\n", __DATE__, __TIME__);
 ^
/home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.c:66:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.c:66:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
/home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.c:66:1: error: macro "__DATE__" might prevent reproducible builds [-Werror=date-time]
/home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.c:66:1: error: macro "__TIME__" might prevent reproducible builds [-Werror=date-time]
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target '/home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.o' failed
make[2]: *** [/home/finnds/rtl2/rtl8812au_linux-master/core/rtw_debug.o] Error 1
Makefile:1345: recipe for target '_module_/home/finnds/rtl2/rtl8812au_linux-master' failed
make[1]: *** [_module_/home/finnds/rtl2/rtl8812au_linux-master] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-24-generic'
Makefile:1350: recipe for target 'modules' failed
make: *** [modules] Error 2

from rtl8812au.

Eric1212 avatar Eric1212 commented on July 26, 2024

linux-headers-3.16.0-4-amd64 and same issue on Debian X64... This driver is going to make me crazy..

Sorry for lack of verbose, very exausted, i'm awake since 19 hours...

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

@Eric1212 can you post the output that make gave you?
I've just succesfully compiled the module on Debian x64 with linux-headers-3.16.0-4-amd64.
Note that installing linux-headers-amd64 will make sure you always have the correct kernel headers for your kernel (package: linux-image-amd64)

from rtl8812au.

Eric1212 avatar Eric1212 commented on July 26, 2024

make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16.0-4-amd64/build M=/root/rtl8812au modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make[2]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
make[2]: *** /usr/src/linux-headers-3.16.0-4-common: Aucun fichier ou dossier de ce type. ArrĂȘt.
make[2]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:1051: recipe for target 'modules' failed
make: *** [modules] Error 2

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

Install the linux-headers-amd64 package, do make clean and then try make again

from rtl8812au.

Eric1212 avatar Eric1212 commented on July 26, 2024

Done, new result _I doesn't see difference_,
make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16.0-4-amd64/build M=/root/rtl8812au modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make[2]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
make[2]: *** /usr/src/linux-headers-3.16.0-4-common: Aucun fichier ou dossier de ce type. ArrĂȘt.
make[2]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:1051: recipe for target 'modules' failed
make: *** [modules] Error 2

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

According to Google translate you're missing the linux-headers-3.16.0-4-common directory (which I have). Installing the package I mentioned should've fixed that.
What's the output of aptitude search ~ilinux-headers?

from rtl8812au.

Eric1212 avatar Eric1212 commented on July 26, 2024

aptitude search ~ilinux-headers
i A linux-headers-3.16-3-amd64 - Header files for Linux 3.16-3-amd64
i A linux-headers-3.16-3-common - Common header files for Linux 3.16-3
i linux-headers-3.16.0-4-amd64 - Header files for Linux 3.16.0-4-amd64
i A linux-headers-3.16.0-4-common - Common header files for Linux 3.16.0-4
i linux-headers-amd64 - Header files for Linux amd64 configuration

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

Can you post your Makefile? Put them between ``` on separate lines

from rtl8812au.

Eric1212 avatar Eric1212 commented on July 26, 2024

EXTRA_CFLAGS += $(USER_EXTRA_CFLAGS)
EXTRA_CFLAGS += -O1
#EXTRA_CFLAGS += -O3
#EXTRA_CFLAGS += -Wall
#EXTRA_CFLAGS += -Wextra
#EXTRA_CFLAGS += -Werror
#EXTRA_CFLAGS += -pedantic
#EXTRA_CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes

EXTRA_CFLAGS += -Wno-unused-variable
EXTRA_CFLAGS += -Wno-unused-value
EXTRA_CFLAGS += -Wno-unused-label
EXTRA_CFLAGS += -Wno-unused-parameter
EXTRA_CFLAGS += -Wno-unused-function
EXTRA_CFLAGS += -Wno-unused

EXTRA_CFLAGS += -Wno-uninitialized

EXTRA_CFLAGS += -I$(src)/include

CONFIG_AUTOCFG_CP = n

CONFIG_MULTIDRV = n
CONFIG_RTL8192C = n
CONFIG_RTL8192D = n
CONFIG_RTL8723A = n
CONFIG_RTL8188E = n
CONFIG_RTL8812A = y
CONFIG_RTL8821A = y
CONFIG_RTL8192E = n
CONFIG_RTL8723B = n

CONFIG_USB_HCI = y
CONFIG_PCI_HCI = n
CONFIG_SDIO_HCI = n
CONFIG_GSPI_HCI = n

CONFIG_MP_INCLUDED = y
CONFIG_POWER_SAVING = y
CONFIG_USB_AUTOSUSPEND = n
CONFIG_HW_PWRP_DETECTION = n
CONFIG_WIFI_TEST = n
CONFIG_BT_COEXIST = n
CONFIG_RTL8192CU_REDEFINE_1X1 = n
CONFIG_INTEL_WIDI = n
CONFIG_WAPI_SUPPORT = n
CONFIG_EFUSE_CONFIG_FILE = n
CONFIG_EXT_CLK = n
CONFIG_FTP_PROTECT = n
CONFIG_WOWLAN = n

CONFIG_PLATFORM_I386_PC = y
CONFIG_PLATFORM_ANDROID_X86 = n
CONFIG_PLATFORM_JB_X86 = n
CONFIG_PLATFORM_ARM_S3C2K4 = n
CONFIG_PLATFORM_ARM_PXA2XX = n
CONFIG_PLATFORM_ARM_S3C6K4 = n
CONFIG_PLATFORM_ARM_RPI = n
CONFIG_PLATFORM_MIPS_RMI = n
CONFIG_PLATFORM_RTD2880B = n
CONFIG_PLATFORM_MIPS_AR9132 = n
CONFIG_PLATFORM_RTK_DMP = n
CONFIG_PLATFORM_MIPS_PLM = n
CONFIG_PLATFORM_MSTAR389 = n
CONFIG_PLATFORM_MT53XX = n
CONFIG_PLATFORM_ARM_MX51_241H = n
CONFIG_PLATFORM_FS_MX61 = n
CONFIG_PLATFORM_ACTIONS_ATJ227X = n
CONFIG_PLATFORM_TEGRA3_CARDHU = n
CONFIG_PLATFORM_TEGRA4_DALMORE = n
CONFIG_PLATFORM_ARM_TCC8900 = n
CONFIG_PLATFORM_ARM_TCC8920 = n
CONFIG_PLATFORM_ARM_TCC8920_JB42 = n
CONFIG_PLATFORM_ARM_RK2818 = n
CONFIG_PLATFORM_ARM_URBETTER = n
CONFIG_PLATFORM_ARM_TI_PANDA = n
CONFIG_PLATFORM_MIPS_JZ4760 = n
CONFIG_PLATFORM_DMP_PHILIPS = n
CONFIG_PLATFORM_TI_DM365 = n
CONFIG_PLATFORM_MSTAR_TITANIA12 = n
CONFIG_PLATFORM_SZEBOOK = n
CONFIG_PLATFORM_ARM_SUNxI = n
CONFIG_PLATFORM_ARM_SUN6I = n
CONFIG_PLATFORM_ACTIONS_ATM702X = n
CONFIG_PLATFORM_ACTIONS_ATV5201 = n

CONFIG_DRVEXT_MODULE = n

export TopDIR ?= $(shell pwd)

########### COMMON  #################################
ifeq ($(CONFIG_GSPI_HCI), y)
HCI_NAME = gspi
endif

ifeq ($(CONFIG_SDIO_HCI), y)
HCI_NAME = sdio
endif

ifeq ($(CONFIG_USB_HCI), y)
HCI_NAME = usb
endif

ifeq ($(CONFIG_PCI_HCI), y)
HCI_NAME = pci
endif

_OS_INTFS_FILES :=  os_dep/osdep_service.o \
            os_dep/linux/os_intfs.o \
            os_dep/linux/$(HCI_NAME)_intf.o \
            os_dep/linux/$(HCI_NAME)_ops_linux.o \
            os_dep/linux/ioctl_linux.o \
            os_dep/linux/xmit_linux.o \
            os_dep/linux/mlme_linux.o \
            os_dep/linux/recv_linux.o \
            os_dep/linux/ioctl_cfg80211.o \
            os_dep/linux/rtw_android.o

ifeq ($(CONFIG_SDIO_HCI), y)
_OS_INTFS_FILES += os_dep/linux/custom_gpio_linux.o
_OS_INTFS_FILES += os_dep/linux/$(HCI_NAME)_ops_linux.o
endif

ifeq ($(CONFIG_GSPI_HCI), y)
_OS_INTFS_FILES += os_dep/linux/custom_gpio_linux.o
_OS_INTFS_FILES += os_dep/linux/$(HCI_NAME)_ops_linux.o
endif

_HAL_INTFS_FILES := hal/hal_intf.o \
            hal/hal_com.o \
            hal/hal_com_phycfg.o \
            hal/hal_phy.o \
            hal/led/hal_$(HCI_NAME)_led.o

_OUTSRC_FILES := hal/OUTSRC/odm_debug.o \
        hal/OUTSRC/odm_interface.o\
        hal/OUTSRC/odm_HWConfig.o\
        hal/OUTSRC/odm.o\
        hal/OUTSRC/HalPhyRf.o

########### HAL_RTL8192C #################################                                      

ifeq ($(CONFIG_RTL8192C), y)
RTL871X = rtl8192c
ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME = 8192cu
endif
ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME = 8192ce
endif
EXTRA_CFLAGS += -DCONFIG_RTL8192C

_HAL_INTFS_FILES += \
    hal/$(RTL871X)/$(RTL871X)_sreset.o \
    hal/$(RTL871X)/$(RTL871X)_xmit.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
            hal/$(RTL871X)/$(RTL871X)_phycfg.o \
            hal/$(RTL871X)/$(RTL871X)_rf6052.o \
            hal/$(RTL871X)/$(RTL871X)_dm.o \
            hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
            hal/$(RTL871X)/$(RTL871X)_cmd.o \
            hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o 

_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o

ifeq ($(CONFIG_MP_INCLUDED), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
endif

_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/odm_RTL8192C.o\
                                hal/OUTSRC/$(RTL871X)/HalDMOutSrc8192C_CE.o

ifeq ($(CONFIG_USB_HCI), y)
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192CUFWImg_CE.o  \
                                hal/OUTSRC/$(RTL871X)/Hal8192CUPHYImg_CE.o  \
                                hal/OUTSRC/$(RTL871X)/Hal8192CUMACImg_CE.o
endif

ifeq ($(CONFIG_PCI_HCI), y)
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192CEFWImg_CE.o  \
                                hal/OUTSRC/$(RTL871X)/Hal8192CEPHYImg_CE.o  \
                                hal/OUTSRC/$(RTL871X)/Hal8192CEMACImg_CE.o
endif

endif

########### HAL_RTL8192D #################################
ifeq ($(CONFIG_RTL8192D), y)
RTL871X = rtl8192d
ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME = 8192du
endif
ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME = 8192de
endif
EXTRA_CFLAGS += -DCONFIG_RTL8192D

_HAL_INTFS_FILES += \
    hal/$(RTL871X)/$(RTL871X)_xmit.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
            hal/$(RTL871X)/$(RTL871X)_phycfg.o \
            hal/$(RTL871X)/$(RTL871X)_rf6052.o \
            hal/$(RTL871X)/$(RTL871X)_dm.o \
            hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
            hal/$(RTL871X)/$(RTL871X)_cmd.o \
            hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o

ifeq ($(CONFIG_MP_INCLUDED), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
endif

_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/odm_RTL8192D.o\
                                hal/OUTSRC/$(RTL871X)/HalDMOutSrc8192D_CE.o

ifeq ($(CONFIG_USB_HCI), y)
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192DUFWImg_CE.o \
                                hal/OUTSRC/$(RTL871X)/Hal8192DUPHYImg_CE.o \
                                hal/OUTSRC/$(RTL871X)/Hal8192DUMACImg_CE.o
endif

ifeq ($(CONFIG_PCI_HCI), y)
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8192DEFWImg_CE.o \
                                hal/OUTSRC/$(RTL871X)/Hal8192DEPHYImg_CE.o \
                                hal/OUTSRC/$(RTL871X)/Hal8192DEMACImg_CE.o
endif

endif

########### HAL_RTL8723A #################################
ifeq ($(CONFIG_RTL8723A), y)

RTL871X = rtl8723a
ifeq ($(CONFIG_GSPI_HCI), y)
MODULE_NAME = 8723as
endif
ifeq ($(CONFIG_SDIO_HCI), y)
MODULE_NAME = 8723as
endif
ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME = 8723au
endif
ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME = 8723ae
endif
EXTRA_CFLAGS += -DCONFIG_RTL8723A

_HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
                hal/$(RTL871X)/Hal8723PwrSeq.o\
                hal/$(RTL871X)/$(RTL871X)_xmit.o \
                hal/$(RTL871X)/$(RTL871X)_sreset.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
            hal/$(RTL871X)/$(RTL871X)_phycfg.o \
            hal/$(RTL871X)/$(RTL871X)_rf6052.o \
            hal/$(RTL871X)/$(RTL871X)_dm.o \
            hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
            hal/$(RTL871X)/$(RTL871X)_cmd.o \
            hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o

ifeq ($(CONFIG_SDIO_HCI), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
else
ifeq ($(CONFIG_GSPI_HCI), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
else
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
endif
endif

ifeq ($(CONFIG_MP_INCLUDED), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
endif

ifeq ($(CONFIG_BT_COEXIST), y)
_HAL_INTFS_FILES +=  hal/$(RTL871X)/rtl8723a_bt-coexist.o
endif

ifeq ($(CONFIG_GSPI_HCI), y)
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723SHWImg_CE.o
endif

ifeq ($(CONFIG_SDIO_HCI), y)
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723SHWImg_CE.o
endif

ifeq ($(CONFIG_USB_HCI), y)
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723UHWImg_CE.o
endif

ifeq ($(CONFIG_PCI_HCI), y)
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/Hal8723EHWImg_CE.o
endif

#hal/OUTSRC/$(RTL871X)/HalHWImg8723A_FW.o
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8723A_BB.o\
                                hal/OUTSRC/$(RTL871X)/HalHWImg8723A_MAC.o\
                                hal/OUTSRC/$(RTL871X)/HalHWImg8723A_RF.o\
                                hal/OUTSRC/$(RTL871X)/odm_RegConfig8723A.o

_OUTSRC_FILES += hal/OUTSRC/rtl8192c/HalDMOutSrc8192C_CE.o

endif

########### HAL_RTL8188E #################################
ifeq ($(CONFIG_RTL8188E), y)

RTL871X = rtl8188e
ifeq ($(CONFIG_SDIO_HCI), y)
MODULE_NAME = 8189es
endif

ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME = 8188eu
endif

ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME = 8188ee
endif
EXTRA_CFLAGS += -DCONFIG_RTL8188E

_HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
                    hal/$(RTL871X)/Hal8188EPwrSeq.o\
                    hal/$(RTL871X)/$(RTL871X)_xmit.o\
                    hal/$(RTL871X)/$(RTL871X)_sreset.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
            hal/$(RTL871X)/$(RTL871X)_phycfg.o \
            hal/$(RTL871X)/$(RTL871X)_rf6052.o \
            hal/$(RTL871X)/$(RTL871X)_dm.o \
            hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
            hal/$(RTL871X)/$(RTL871X)_cmd.o \
            hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o

ifeq ($(CONFIG_SDIO_HCI), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
else
ifeq ($(CONFIG_GSPI_HCI), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
else
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
endif
endif

ifeq ($(CONFIG_MP_INCLUDED), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
endif           

#hal/OUTSRC/$(RTL871X)/Hal8188EFWImg_CE.o
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8188E_MAC.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8188E_BB.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8188E_RF.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8188E_FW.o\
        hal/OUTSRC/$(RTL871X)/HalPhyRf_8188e.o\
        hal/OUTSRC/$(RTL871X)/odm_RegConfig8188E.o\
        hal/OUTSRC/$(RTL871X)/Hal8188ERateAdaptive.o\
        hal/OUTSRC/$(RTL871X)/odm_RTL8188E.o

endif

########### HAL_RTL8192E #################################
ifeq ($(CONFIG_RTL8192E), y)

RTL871X = rtl8192e
ifeq ($(CONFIG_SDIO_HCI), y)
MODULE_NAME = 8192es
endif

ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME = 8192eu
endif

ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME = 8192ee
endif
EXTRA_CFLAGS += -DCONFIG_RTL8192E
_HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
                    hal/$(RTL871X)/Hal8192EPwrSeq.o\
                    hal/$(RTL871X)/$(RTL871X)_xmit.o\
                    hal/$(RTL871X)/$(RTL871X)_sreset.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
            hal/$(RTL871X)/$(RTL871X)_phycfg.o \
            hal/$(RTL871X)/$(RTL871X)_rf6052.o \
            hal/$(RTL871X)/$(RTL871X)_dm.o \
            hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
            hal/$(RTL871X)/$(RTL871X)_cmd.o \
            hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o

ifeq ($(CONFIG_SDIO_HCI), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
else
ifeq ($(CONFIG_GSPI_HCI), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
else
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
endif
endif

ifeq ($(CONFIG_MP_INCLUDED), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
endif

#hal/OUTSRC/$(RTL871X)/HalHWImg8188E_FW.o
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8192E_MAC.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8192E_BB.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8192E_RF.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8192E_FW.o\
        hal/OUTSRC/$(RTL871X)/HalPhyRf_8192e.o\
        hal/OUTSRC/$(RTL871X)/odm_RegConfig8192E.o\
        hal/OUTSRC/$(RTL871X)/odm_RTL8192E.o

endif

########### HAL_RTL8812A_RTL8821A #################################

ifneq ($(CONFIG_RTL8812A)_$(CONFIG_RTL8821A), n_n)

RTL871X = rtl8812a
ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME = 8812au
endif
ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME = 8812ae
endif
ifeq ($(CONFIG_SDIO_HCI), y)
MODULE_NAME = 8812as
endif

_HAL_INTFS_FILES +=  hal/HalPwrSeqCmd.o \
                    hal/$(RTL871X)/Hal8812PwrSeq.o \
                    hal/$(RTL871X)/Hal8821APwrSeq.o\
                    hal/$(RTL871X)/$(RTL871X)_xmit.o\
                    hal/$(RTL871X)/$(RTL871X)_sreset.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
            hal/$(RTL871X)/$(RTL871X)_phycfg.o \
            hal/$(RTL871X)/$(RTL871X)_rf6052.o \
            hal/$(RTL871X)/$(RTL871X)_dm.o \
            hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
            hal/$(RTL871X)/$(RTL871X)_cmd.o \
            hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o

ifeq ($(CONFIG_SDIO_HCI), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
else
ifeq ($(CONFIG_GSPI_HCI), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o
else
_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops_linux.o
endif
endif

ifeq ($(CONFIG_MP_INCLUDED), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
endif

ifeq ($(CONFIG_RTL8812A), y)
EXTRA_CFLAGS += -DCONFIG_RTL8812A
_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8812A_FW.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8812A_MAC.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8812A_BB.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8812A_RF.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8812A_TestChip_FW.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8812A_TestChip_MAC.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8812A_TestChip_BB.o\
        hal/OUTSRC/$(RTL871X)/HalHWImg8812A_TestChip_RF.o\
        hal/OUTSRC/$(RTL871X)/HalPhyRf_8812A.o\
        hal/OUTSRC/$(RTL871X)/odm_RegConfig8812A.o
endif

ifeq ($(CONFIG_RTL8821A), y)

ifeq ($(CONFIG_RTL8812A), n)
ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME := 8821au
endif
ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME := 8821ae
endif
endif

ifeq ($(CONFIG_SDIO_HCI), y)
MODULE_NAME := 8821as
endif

EXTRA_CFLAGS += -DCONFIG_RTL8821A
_OUTSRC_FILES += hal/OUTSRC/rtl8821a/HalHWImg8821A_FW.o\
        hal/OUTSRC/rtl8821a/HalHWImg8821A_MAC.o\
        hal/OUTSRC/rtl8821a/HalHWImg8821A_BB.o\
        hal/OUTSRC/rtl8821a/HalHWImg8821A_RF.o\
        hal/OUTSRC/rtl8821a/HalHWImg8821A_TestChip_MAC.o\
        hal/OUTSRC/rtl8821a/HalHWImg8821A_TestChip_BB.o\
        hal/OUTSRC/rtl8821a/HalHWImg8821A_TestChip_RF.o\
        hal/OUTSRC/rtl8812a/HalPhyRf_8812A.o\
        hal/OUTSRC/rtl8821a/HalPhyRf_8821A.o\
        hal/OUTSRC/rtl8821a/odm_RegConfig8821A.o  
endif   

endif

########### HAL_RTL8723B #################################
ifeq ($(CONFIG_RTL8723B), y)

RTL871X = rtl8723b
MODULE_NAME = 8723bs
EXTRA_CFLAGS += -DCONFIG_RTL8723B

_HAL_INTFS_FILES += hal/HalPwrSeqCmd.o \
                    hal/$(RTL871X)/Hal8723BPwrSeq.o\
                    hal/$(RTL871X)/$(RTL871X)_sreset.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_hal_init.o \
            hal/$(RTL871X)/$(RTL871X)_phycfg.o \
            hal/$(RTL871X)/$(RTL871X)_rf6052.o \
            hal/$(RTL871X)/$(RTL871X)_dm.o \
            hal/$(RTL871X)/$(RTL871X)_rxdesc.o \
            hal/$(RTL871X)/$(RTL871X)_cmd.o \
            hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_halinit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_led.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_xmit.o \
            hal/$(RTL871X)/$(HCI_NAME)/rtl$(MODULE_NAME)_recv.o

_HAL_INTFS_FILES += hal/$(RTL871X)/$(HCI_NAME)/$(HCI_NAME)_ops.o

ifeq ($(CONFIG_MP_INCLUDED), y)
_HAL_INTFS_FILES += hal/$(RTL871X)/$(RTL871X)_mp.o
endif
ifeq ($(CONFIG_BT_COEXIST), y)
_HAL_INTFS_FILES +=  hal/$(RTL871X)/rtl8723b_bt-coexist.o
endif

_OUTSRC_FILES += hal/OUTSRC/$(RTL871X)/HalHWImg8723B_BB.o\
                                hal/OUTSRC/$(RTL871X)/HalHWImg8723B_MAC.o\
                                hal/OUTSRC/$(RTL871X)/HalHWImg8723B_RF.o\
                                hal/OUTSRC/$(RTL871X)/HalHWImg8723B_FW.o\
                                hal/OUTSRC/$(RTL871X)/HalHWImg8723B_MP.o\
                                hal/OUTSRC/$(RTL871X)/odm_RegConfig8723B.o\
                                hal/OUTSRC/$(RTL871X)/HalPhyRf_8723B.o\
                                hal/OUTSRC/$(RTL871X)/odm_RTL8723B.o

endif

########### AUTO_CFG  ################################# 

ifeq ($(CONFIG_AUTOCFG_CP), y)

ifeq ($(CONFIG_MULTIDRV), y)  
$(shell cp $(TopDIR)/autoconf_multidrv_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
else
ifeq ($(CONFIG_RTL8188E)$(CONFIG_SDIO_HCI),yy) 
$(shell cp $(TopDIR)/autoconf_rtl8189e_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
else
$(shell cp $(TopDIR)/autoconf_$(RTL871X)_$(HCI_NAME)_linux.h $(TopDIR)/include/autoconf.h)
endif
endif

endif

########### END OF PATH  #################################

ifeq ($(CONFIG_USB_HCI), y)
ifeq ($(CONFIG_USB_AUTOSUSPEND), y)
EXTRA_CFLAGS += -DCONFIG_USB_AUTOSUSPEND
endif
endif

ifeq ($(CONFIG_MP_INCLUDED), y)
#MODULE_NAME := $(MODULE_NAME)_mp
EXTRA_CFLAGS += -DCONFIG_MP_INCLUDED
endif

ifeq ($(CONFIG_POWER_SAVING), y)
EXTRA_CFLAGS += -DCONFIG_POWER_SAVING
endif

ifeq ($(CONFIG_HW_PWRP_DETECTION), y)
EXTRA_CFLAGS += -DCONFIG_HW_PWRP_DETECTION
endif

ifeq ($(CONFIG_WIFI_TEST), y)
EXTRA_CFLAGS += -DCONFIG_WIFI_TEST
endif

ifeq ($(CONFIG_BT_COEXIST), y)
EXTRA_CFLAGS += -DCONFIG_BT_COEXIST
endif

ifeq ($(CONFIG_RTL8192CU_REDEFINE_1X1), y)
EXTRA_CFLAGS += -DRTL8192C_RECONFIG_TO_1T1R
endif

ifeq ($(CONFIG_INTEL_WIDI), y)
EXTRA_CFLAGS += -DCONFIG_INTEL_WIDI
endif

ifeq ($(CONFIG_WAPI_SUPPORT), y)
EXTRA_CFLAGS += -DCONFIG_WAPI_SUPPORT
endif

ifeq ($(CONFIG_EFUSE_CONFIG_FILE), y)
EXTRA_CFLAGS += -DCONFIG_EFUSE_CONFIG_FILE
endif

ifeq ($(CONFIG_EXT_CLK), y)
EXTRA_CFLAGS += -DCONFIG_EXT_CLK
endif

ifeq ($(CONFIG_FTP_PROTECT), y)
EXTRA_CFLAGS += -DCONFIG_FTP_PROTECT
endif

ifeq ($(CONFIG_RTL8188E), y)
ifeq ($(CONFIG_WOWLAN), y)
EXTRA_CFLAGS += -DCONFIG_WOWLAN
endif
endif

ifeq ($(CONFIG_PLATFORM_I386_PC), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH ?= $(SUBARCH)
CROSS_COMPILE ?=
KVER  := $(shell uname -r)
KSRC := /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
INSTALL_PREFIX :=
endif

ifeq ($(CONFIG_PLATFORM_ACTIONS_ATM702X), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ACTIONS_ATM702X
#ARCH := arm
ARCH := $(R_ARCH)
#CROSS_COMPILE := arm-none-linux-gnueabi-
CROSS_COMPILE := $(R_CROSS_COMPILE)
KVER:= 3.4.0
#KSRC := ../../../../build/out/kernel
KSRC := $(KERNEL_BUILD_PATH)
MODULE_NAME :=wlan
endif

ifeq ($(CONFIG_PLATFORM_TI_AM3517), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_SHUTTLE
CROSS_COMPILE := arm-eabi-
KSRC := $(shell pwd)/../../../Android/kernel
ARCH := arm
endif

ifeq ($(CONFIG_PLATFORM_MSTAR_TITANIA12), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR_TITANIA12
ARCH:=mips
CROSS_COMPILE:= /usr/src/Mstar_kernel/mips-4.3/bin/mips-linux-gnu-
KVER:= 2.6.28.9
KSRC:= /usr/src/Mstar_kernel/2.6.28.9/
endif

ifeq ($(CONFIG_PLATFORM_ANDROID_X86), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH := $(SUBARCH)
CROSS_COMPILE := /media/DATA-2/android-x86/ics-x86_20120130/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/bin/i686-unknown-linux-gnu-
KSRC := /media/DATA-2/android-x86/ics-x86_20120130/out/target/product/generic_x86/obj/kernel
MODULE_NAME :=wlan
endif

ifeq ($(CONFIG_PLATFORM_JB_X86), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
EXTRA_CFLAGS += -DCONFIG_P2P_IPS
SUBARCH := $(shell uname -m | sed -e s/i.86/i386/)
ARCH := $(SUBARCH)
CROSS_COMPILE := /home/android_sdk/android-x86_JB/prebuilts/gcc/linux-x86/x86/i686-linux-android-4.7/bin/i686-linux-android-
KSRC := /home/android_sdk/android-x86_JB/out/target/product/x86/obj/kernel/
MODULE_NAME :=wlan
endif

ifeq ($(CONFIG_PLATFORM_ARM_PXA2XX), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE := arm-none-linux-gnueabi-
KVER  := 2.6.34.1
KSRC ?= /usr/src/linux-2.6.34.1
endif

ifeq ($(CONFIG_PLATFORM_ARM_S3C2K4), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE := arm-linux-
KVER  := 2.6.24.7_$(ARCH)
KSRC := /usr/src/kernels/linux-$(KVER)
endif

ifeq ($(CONFIG_PLATFORM_ARM_S3C6K4), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE := arm-none-linux-gnueabi-
KVER  := 2.6.34.1
KSRC ?= /usr/src/linux-2.6.34.1
endif

ifeq ($(CONFIG_PLATFORM_ARM_RPI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE := 
KVER  := $(shell uname -r)
KSRC ?= /lib/modules/$(KVER)/build
MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/
endif

ifeq ($(CONFIG_PLATFORM_RTD2880B), y)
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN -DCONFIG_PLATFORM_RTD2880B
ARCH:=
CROSS_COMPILE:=
KVER:=
KSRC:=
endif

ifeq ($(CONFIG_PLATFORM_MIPS_RMI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH:=mips
CROSS_COMPILE:=mipsisa32r2-uclibc-
KVER:=
KSRC:= /root/work/kernel_realtek
endif

ifeq ($(CONFIG_PLATFORM_MIPS_PLM), y)
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
ARCH:=mips
CROSS_COMPILE:=mipsisa32r2-uclibc-
KVER:=
KSRC:= /root/work/kernel_realtek
endif

ifeq ($(CONFIG_PLATFORM_MSTAR389), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MSTAR389
ARCH:=mips
CROSS_COMPILE:= mips-linux-gnu-
KVER:= 2.6.28.10
KSRC:= /home/mstar/mstar_linux/2.6.28.9/
endif

ifeq ($(CONFIG_PLATFORM_MIPS_AR9132), y)
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
ARCH := mips
CROSS_COMPILE := mips-openwrt-linux-
KSRC := /home/alex/test_openwrt/tmp/linux-2.6.30.9
endif

ifeq ($(CONFIG_PLATFORM_DMP_PHILIPS), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
ARCH := mips
#CROSS_COMPILE:=/usr/local/msdk-4.3.6-mips-EL-2.6.12.6-0.9.30.3/bin/mipsel-linux-
CROSS_COMPILE:=/usr/local/toolchain_mipsel/bin/mipsel-linux-
KSRC ?=/usr/local/Jupiter/linux-2.6.12
endif

ifeq ($(CONFIG_PLATFORM_RTK_DMP), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DRTK_DMP_PLATFORM
ARCH:=mips
CROSS_COMPILE:=mipsel-linux-
KVER:=
KSRC ?= /usr/src/DMP_Kernel/jupiter/linux-2.6.12
endif

ifeq ($(CONFIG_PLATFORM_MT53XX), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MT53XX
ARCH:= arm
CROSS_COMPILE:= arm11_mtk_le-
KVER:= 2.6.27
KSRC?= /proj/mtk00802/BD_Compare/BDP/Dev/BDP_V301/BDP_Linux/linux-2.6.27
endif

ifeq ($(CONFIG_PLATFORM_ARM_MX51_241H), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_WISTRON_PLATFORM
ARCH := arm
CROSS_COMPILE := /opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
KVER  := 2.6.31
KSRC ?= /lib/modules/2.6.31-770-g0e46b52/source
endif

ifeq ($(CONFIG_PLATFORM_FS_MX61), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN 
ARCH := arm
CROSS_COMPILE := /home/share/CusEnv/FreeScale/arm-eabi-4.4.3/bin/arm-eabi-
KSRC ?= /home/share/CusEnv/FreeScale/FS_kernel_env
endif

ifeq ($(CONFIG_PLATFORM_ACTIONS_ATJ227X), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ACTIONS_ATJ227X
ARCH := mips
CROSS_COMPILE := /home/cnsd4/project/actions/tools-2.6.27/bin/mipsel-linux-gnu-
KVER  := 2.6.27
KSRC := /home/cnsd4/project/actions/linux-2.6.27.28
endif

ifeq ($(CONFIG_PLATFORM_TI_DM365), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_TI_DM365
ARCH := arm
CROSS_COMPILE := /home/cnsd4/Appro/mv_pro_5.0/montavista/pro/devkit/arm/v5t_le/bin/arm_v5t_le-
KVER  := 2.6.18
KSRC := /home/cnsd4/Appro/mv_pro_5.0/montavista/pro/devkit/lsp/ti-davinci/linux-dm365
endif

ifeq ($(CONFIG_PLATFORM_TEGRA3_CARDHU), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN

# default setting for Android 4.1, 4.2

EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
EXTRA_CFLAGS += -DCONFIG_P2P_IPS
ARCH := arm
CROSS_COMPILE := /home/android_sdk/nvidia/tegra-16r3-partner-android-4.1_20120723/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
KSRC := /home/android_sdk/nvidia/tegra-16r3-partner-android-4.1_20120723/out/target/product/cardhu/obj/KERNEL
MODULE_NAME := wlan
endif

ifeq ($(CONFIG_PLATFORM_TEGRA4_DALMORE), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN

# default setting for Android 4.1, 4.2

EXTRA_CFLAGS += -DRTW_ENABLE_WIFI_CONTROL_FUNC
EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
EXTRA_CFLAGS += -DCONFIG_P2P_IPS
ARCH := arm
CROSS_COMPILE := /home/android_sdk/nvidia/tegra-17r9-partner-android-4.2-dalmore_20130131/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
KSRC := /home/android_sdk/nvidia/tegra-17r9-partner-android-4.2-dalmore_20130131/out/target/product/dalmore/obj/KERNEL
MODULE_NAME := wlan
endif

ifeq ($(CONFIG_PLATFORM_ARM_TCC8900), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE := /home/android_sdk/Telechips/SDK_2304_20110613/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
KSRC := /home/android_sdk/Telechips/SDK_2304_20110613/kernel
MODULE_NAME := wlan
endif

ifeq ($(CONFIG_PLATFORM_ARM_TCC8920), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
ARCH := arm
CROSS_COMPILE := /home/android_sdk/Telechips/v12.06_r1-tcc-android-4.0.4/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
KSRC := /home/android_sdk/Telechips/v12.06_r1-tcc-android-4.0.4/kernel
MODULE_NAME := wlan
endif

ifeq ($(CONFIG_PLATFORM_ARM_TCC8920_JB42), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN

# default setting for Android 4.1, 4.2

EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
EXTRA_CFLAGS += -DCONFIG_P2P_IPS
ARCH := arm
CROSS_COMPILE := /home/android_sdk/Telechips/v13.03_r1-tcc-android-4.2.2_ds_patched/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
KSRC := /home/android_sdk/Telechips/v13.03_r1-tcc-android-4.2.2_ds_patched/kernel
MODULE_NAME := wlan
endif

ifeq ($(CONFIG_PLATFORM_ARM_RK2818), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ANDROID -DCONFIG_PLATFORM_ROCKCHIPS -DCONFIG_MINIMAL_MEMORY_USAGE
ARCH := arm
CROSS_COMPILE := /usr/src/release_fae_version/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
KSRC := /usr/src/release_fae_version/kernel25_A7_281x
MODULE_NAME := wlan
endif

ifeq ($(CONFIG_PLATFORM_ARM_URBETTER), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
ARCH := arm
CROSS_COMPILE := /media/DATA-1/urbetter/arm-2009q3/bin/arm-none-linux-gnueabi-
KSRC := /media/DATA-1/urbetter/ics-urbetter/kernel
MODULE_NAME := wlan
endif

ifeq ($(CONFIG_PLATFORM_ARM_TI_PANDA), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN #-DCONFIG_MINIMAL_MEMORY_USAGE
ARCH := arm
#CROSS_COMPILE := /media/DATA-1/aosp/ics-aosp_20111227/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
#KSRC := /media/DATA-1/aosp/android-omap-panda-3.0_20120104
CROSS_COMPILE := /media/DATA-1/android-4.0/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-
KSRC := /media/DATA-1/android-4.0/panda_kernel/omap
MODULE_NAME := wlan
endif

ifeq ($(CONFIG_PLATFORM_MIPS_JZ4760), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_MINIMAL_MEMORY_USAGE
ARCH ?= mips
CROSS_COMPILE ?= /mnt/sdb5/Ingenic/Umido/mips-4.3/bin/mips-linux-gnu-
KSRC ?= /mnt/sdb5/Ingenic/Umido/kernel
endif

ifeq ($(CONFIG_PLATFORM_SZEBOOK), y)
EXTRA_CFLAGS += -DCONFIG_BIG_ENDIAN
ARCH:=arm
CROSS_COMPILE:=/opt/crosstool2/bin/armeb-unknown-linux-gnueabi- 
KVER:= 2.6.31.6
KSRC:= ../code/linux-2.6.31.6-2020/
endif

#Add setting for MN10300
ifeq ($(CONFIG_PLATFORM_MN10300), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_MN10300
ARCH := mn10300
CROSS_COMPILE := mn10300-linux-
KVER := 2.6.32.2
KSRC := /home/winuser/work/Plat_sLD2T_V3010/usr/src/linux-2.6.32.2
INSTALL_PREFIX :=
endif

ifeq ($(CONFIG_PLATFORM_ARM_SUNxI), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ARM_SUNxI
ARCH := arm
CROSS_COMPILE := arm-none-linux-gnueabi-
KVER  := 3.0.8
#KSRC:= ../lichee/linux-3.0/
endif

ifeq ($(CONFIG_PLATFORM_ARM_SUN6I), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN
EXTRA_CFLAGS += -DCONFIG_PLATFORM_ARM_SUN6I
EXTRA_CFLAGS += -DCONFIG_USE_USB_BUFFER_ALLOC_TX

# default setting for Android 4.1, 4.2

EXTRA_CFLAGS += -DCONFIG_CONCURRENT_MODE
EXTRA_CFLAGS += -DCONFIG_IOCTL_CFG80211 -DRTW_USE_CFG80211_STA_EVENT
EXTRA_CFLAGS += -DCONFIG_P2P_IPS
ARCH := arm
CROSS_COMPILE := arm-none-linux-gnueabi-
KVER  := 3.3.0
#KSRC:= ../lichee/linux-3.3/
endif

ifeq ($(CONFIG_PLATFORM_ACTIONS_ATV5201), y)
EXTRA_CFLAGS += -DCONFIG_LITTLE_ENDIAN -DCONFIG_PLATFORM_ACTIONS_ATV5201
ARCH := mips
CROSS_COMPILE := mipsel-linux-gnu-
KVER  := $(KERNEL_VER)
KSRC:= $(CFGDIR)/../../kernel/linux-$(KERNEL_VER)
endif

ifeq ($(CONFIG_MULTIDRV), y)    

ifeq ($(CONFIG_SDIO_HCI), y)
MODULE_NAME := rtw_sdio
endif

ifeq ($(CONFIG_USB_HCI), y)
MODULE_NAME := rtw_usb
endif

ifeq ($(CONFIG_PCI_HCI), y)
MODULE_NAME := rtw_pci
endif

endif

ifneq ($(USER_MODULE_NAME),)
MODULE_NAME := $(USER_MODULE_NAME)
endif

ifneq ($(KERNELRELEASE),)

rtk_core := core/rtw_cmd.o \
        core/rtw_security.o \
        core/rtw_debug.o \
        core/rtw_io.o \
        core/rtw_ioctl_query.o \
        core/rtw_ioctl_set.o \
        core/rtw_ieee80211.o \
        core/rtw_mlme.o \
        core/rtw_mlme_ext.o \
        core/rtw_wlan_util.o \
        core/rtw_vht.o \
        core/rtw_pwrctrl.o \
        core/rtw_rf.o \
        core/rtw_recv.o \
        core/rtw_sta_mgt.o \
        core/rtw_ap.o \
        core/rtw_xmit.o \
        core/rtw_p2p.o \
        core/rtw_tdls.o \
        core/rtw_br_ext.o \
        core/rtw_iol.o \
        core/rtw_sreset.o\
        core/efuse/rtw_efuse.o

$(MODULE_NAME)-y += $(rtk_core)

$(MODULE_NAME)-$(CONFIG_INTEL_WIDI) += core/rtw_intel_widi.o

$(MODULE_NAME)-$(CONFIG_WAPI_SUPPORT) += core/rtw_wapi.o    \
                    core/rtw_wapi_sms4.o

$(MODULE_NAME)-y += $(_OS_INTFS_FILES)
$(MODULE_NAME)-y += $(_HAL_INTFS_FILES)
$(MODULE_NAME)-y += $(_OUTSRC_FILES)

$(MODULE_NAME)-$(CONFIG_MP_INCLUDED) += core/rtw_mp.o \
                    core/rtw_mp_ioctl.o

ifeq ($(CONFIG_RTL8723A), y)
$(MODULE_NAME)-$(CONFIG_MP_INCLUDED)+= core/rtw_bt_mp.o
endif
ifeq ($(CONFIG_RTL8723B), y)
$(MODULE_NAME)-$(CONFIG_MP_INCLUDED)+= core/rtw_bt_mp.o
endif

obj-$(CONFIG_RTL8812AU_8821AU) := $(MODULE_NAME).o

else

export CONFIG_RTL8812AU_8821AU = m

all: modules

modules:
    $(MAKE) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KSRC) M=$(shell pwd)  modules

strip:
    $(CROSS_COMPILE)strip $(MODULE_NAME).ko --strip-unneeded

install:
    install -p -m 644 $(MODULE_NAME).ko  $(MODDESTDIR)
    /sbin/depmod -a ${KVER}

uninstall:
    rm -f $(MODDESTDIR)/$(MODULE_NAME).ko
    /sbin/depmod -a ${KVER}

config_r:
    @echo "make config"
    /bin/bash script/Configure script/config.in

.PHONY: modules clean

clean:
    cd hal/OUTSRC/ ; rm -fr _/_.mod.c _/_.mod _/_.o _/._.cmd _/_.ko
    cd hal/OUTSRC/ ; rm -fr _.mod.c *.mod *.o ._.cmd _.ko 
    cd hal/led ; rm -fr *.mod.c *.mod *.o ._.cmd _.ko
    cd hal ; rm -fr */_/_.mod.c */_/_.mod */_/_.o */_/._.cmd */_/_.ko
    cd hal ; rm -fr */_.mod.c _/_.mod _/_.o _/._.cmd _/_.ko
    cd hal ; rm -fr _.mod.c *.mod *.o ._.cmd _.ko
    cd core/efuse ; rm -fr *.mod.c *.mod *.o ._.cmd _.ko
    cd core ; rm -fr *.mod.c *.mod *.o ._.cmd _.ko
    cd os_dep/linux ; rm -fr *.mod.c *.mod *.o ._.cmd _.ko
    cd os_dep ; rm -fr *.mod.c *.mod *.o ._.cmd _.ko
    rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
    rm -fr *.mod.c *.mod *.o ._.cmd *.ko *~
    rm -fr .tmp_versions
endif

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

I meant just once before the start of the contents of the Makefile and one at the end, like:

<contents-of-makefile>

But it is indeed strange. The relevant packages seem to be installed and the Makefile (at least the CONFIG_PLATFORM_I386_PC part) is the same as I have here.
Just to make absolutely sure, what is the output of ls -l /usr/src/linux-headers-3.16.0-4-common/ ?

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

There is a difference though between your make run and mine:
make[2]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
while it is with me:
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'

I don't know if that's significant and/or what to do about it (I'm not exactly a make expert)
Note that I run make as a normal user though (ie not root)

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

Made a fresh clone of the repo and build it again. Output:

diederik@bagend:~/dev/drivers$ git clone https://github.com/gnab/rtl8812au rtl8812au-new
Cloning into 'rtl8812au-new'...
remote: Counting objects: 408, done.
remote: Total 408 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (408/408), 1.44 MiB | 455.00 KiB/s, done.
Resolving deltas: 100% (160/160), done.
Checking connectivity... done.
diederik@bagend:~/dev/drivers$ cd rtl8812au-new/
diederik@bagend:~/dev/drivers/rtl8812au-new$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16.0-4-amd64/build M=/home/diederik/dev/drivers/rtl8812au-new  modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:10: *** mixed implicit and normal rules: deprecated syntax
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_cmd.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_security.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_debug.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_io.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_ioctl_query.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_ioctl_set.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_ieee80211.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_mlme.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_mlme_ext.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_wlan_util.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_vht.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_pwrctrl.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_rf.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_recv.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_sta_mgt.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_ap.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_xmit.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_p2p.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_tdls.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_br_ext.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_iol.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_sreset.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/efuse/rtw_efuse.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/osdep_service.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.o
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c: In function ‘create_proc_read_entry’:
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:328:2: warning: initialization from incompatible pointer type [enabled by default]
  };
  ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:328:2: warning: (near initialization for ‘fops.read’) [enabled by default]
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c: In function ‘create_proc_read_write_entry’:
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:339:3: warning: initialization from incompatible pointer type [enabled by default]
   read: read_proc,
   ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:339:3: warning: (near initialization for ‘fops.read’) [enabled by default]
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:341:2: warning: initialization from incompatible pointer type [enabled by default]
  };
  ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:341:2: warning: (near initialization for ‘fops.write’) [enabled by default]
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c: In function ‘rtw_proc_init_one’:
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:389:3: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
   entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
   ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:438:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_write_reg, dev, proc_set_write_reg);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:438:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_write_reg, dev, proc_set_write_reg);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:445:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_read_reg, dev, proc_set_read_reg);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:445:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_read_reg, dev, proc_set_read_reg);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:452:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_fwstate, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:459:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_sec_info, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:466:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_mlmext_state, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:473:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_qos_option, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:480:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_ht_option, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:487:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_rf_info, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:494:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_ap_info, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:501:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_adapter_state, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:508:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_trx_info, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:515:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_mac_reg_dump1, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:522:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_mac_reg_dump2, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:529:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_mac_reg_dump3, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:536:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_bb_reg_dump1, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:543:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_bb_reg_dump2, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:550:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_bb_reg_dump3, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:557:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_rf_reg_dump1, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:564:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_rf_reg_dump2, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:573:9: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
         dir_dev, proc_get_rf_reg_dump3, dev);
         ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:580:9: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
         dir_dev, proc_get_rf_reg_dump4, dev);
         ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:590:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_all_sta_info, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:608:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_best_channel, dev);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:616:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_rx_signal, dev, proc_set_rx_signal);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:616:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_rx_signal, dev, proc_set_rx_signal);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:623:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_ht_enable, dev, proc_set_ht_enable);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:623:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_ht_enable, dev, proc_set_ht_enable);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:630:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_bw_mode, dev, proc_set_bw_mode);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:630:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_bw_mode, dev, proc_set_bw_mode);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:637:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_ampdu_enable, dev, proc_set_ampdu_enable);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:637:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_ampdu_enable, dev, proc_set_ampdu_enable);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:644:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_rx_stbc, dev, proc_set_rx_stbc);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:644:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_rx_stbc, dev, proc_set_rx_stbc);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:652:6: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
      dir_dev, proc_get_two_path_rssi, dev);
      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:655:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_rssi_disp, dev, proc_set_rssi_disp);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:655:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_rssi_disp, dev, proc_set_rssi_disp);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:671:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_sreset, dev, proc_set_sreset);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(char *, char **, off_t,  int,  int *, void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:671:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
        dir_dev, proc_get_sreset, dev, proc_set_sreset);
        ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (**)(struct file *, const char *, ssize_t,  loff_t *)’ but argument is of type ‘int (*)(struct file *, const char *, long unsigned int,  void *)’
 static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
                                      ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c: At top level:
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:1053:2: warning: initialization from incompatible pointer type [enabled by default]
  .ndo_select_queue = rtw_select_queue,
  ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/os_intfs.c:1053:2: warning: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) [enabled by default]
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/usb_intf.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/usb_ops_linux.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/ioctl_linux.o
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/ioctl_linux.c: In function ‘rtw_mp_efuse_get’:
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/ioctl_linux.c:8887:65: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations]
     sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeEfuseInitMap[i+j]);
                                                                 ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/ioctl_linux.c:8875:3: note: containing loop
   for (i = 0; i < EFUSE_MAP_SIZE; i += 16)
   ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/ioctl_linux.c:9301:69: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations]
     sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeEfuseModifiedMap[i+j]);
                                                                     ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/ioctl_linux.c:9295:3: note: containing loop
   for (i=0; i<EFUSE_MAP_SIZE; i+=16)
   ^
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/xmit_linux.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/mlme_linux.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/recv_linux.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/ioctl_cfg80211.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/rtw_android.o
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/rtw_android.c: In function ‘rtw_android_priv_cmd’:
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/rtw_android.c:356:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  if (copy_from_user(command, (void *)priv_cmd.buf, priv_cmd.total_len)) {
                              ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/rtw_android.c:548:4: warning: passing argument 1 of ‘get_int_from_command’ makes pointer from integer without a cast [enabled by default]
    pwfd_info->rtsp_ctrlport = ( u16 ) get_int_from_command( priv_cmd.buf );
    ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/rtw_android.c:307:5: note: expected ‘char *’ but argument is of type ‘compat_uptr_t’
 int get_int_from_command( char* pcmd )
     ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/rtw_android.c:568:4: warning: passing argument 1 of ‘get_int_from_command’ makes pointer from integer without a cast [enabled by default]
    pwfd_info->wfd_device_type = ( u8 ) get_int_from_command( priv_cmd.buf );
    ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/rtw_android.c:307:5: note: expected ‘char *’ but argument is of type ‘compat_uptr_t’
 int get_int_from_command( char* pcmd )
     ^
/home/diederik/dev/drivers/rtl8812au-new/os_dep/linux/rtw_android.c:592:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   if (copy_to_user((void *)priv_cmd.buf, command, bytes_written)) {
                    ^
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/hal_intf.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/hal_com.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/hal_com_phycfg.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/hal_phy.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/led/hal_usb_led.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/HalPwrSeqCmd.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/Hal8812PwrSeq.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/Hal8821APwrSeq.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/rtl8812a_xmit.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/rtl8812a_sreset.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/rtl8812a_hal_init.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/rtl8812a_phycfg.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/rtl8812a_rf6052.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/rtl8812a_dm.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/rtl8812a_rxdesc.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/rtl8812a_cmd.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/usb/usb_halinit.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/usb/rtl8812au_led.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/usb/rtl8812au_xmit.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/usb/rtl8812au_recv.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/usb/usb_ops_linux.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/rtl8812a/rtl8812a_mp.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/odm_debug.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/odm_interface.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/odm_HWConfig.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/odm.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/HalPhyRf.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/HalHWImg8812A_FW.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/HalHWImg8812A_MAC.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/HalHWImg8812A_BB.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/HalHWImg8812A_RF.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/HalHWImg8812A_TestChip_FW.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/HalHWImg8812A_TestChip_MAC.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/HalHWImg8812A_TestChip_BB.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/HalHWImg8812A_TestChip_RF.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/HalPhyRf_8812A.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8812a/odm_RegConfig8812A.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8821a/HalHWImg8821A_FW.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8821a/HalHWImg8821A_MAC.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8821a/HalHWImg8821A_BB.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8821a/HalHWImg8821A_RF.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8821a/HalHWImg8821A_TestChip_MAC.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8821a/HalHWImg8821A_TestChip_BB.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8821a/HalHWImg8821A_TestChip_RF.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8821a/HalPhyRf_8821A.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/hal/OUTSRC/rtl8821a/odm_RegConfig8821A.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_mp.o
  CC [M]  /home/diederik/dev/drivers/rtl8812au-new/core/rtw_mp_ioctl.o
  LD [M]  /home/diederik/dev/drivers/rtl8812au-new/8812au.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/diederik/dev/drivers/rtl8812au-new/8812au.mod.o
  LD [M]  /home/diederik/dev/drivers/rtl8812au-new/8812au.ko
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
diederik@bagend:~/dev/drivers/rtl8812au-new$

from rtl8812au.

Eric1212 avatar Eric1212 commented on July 26, 2024

Seems not existing...
ls -l /usr/src/linux-headers-3.16.0-4-common/
ls: impossible d'accéder à /usr/src/linux-headers-3.16.0-4-common/: Aucun fichier ou dossier de ce type

from rtl8812au.

Eric1212 avatar Eric1212 commented on July 26, 2024

ls -l /usr/src/linux-headers-3.16.0-4-amd64/
total 1084
drwxr-xr-x 3 root root 4096 déc 24 14:11 arch
drwxr-xr-x 4 root root 4096 déc 24 14:11 include
-rw-r--r-- 1 root root 297 déc 8 21:12 Makefile
-rw-r--r-- 1 root root 1095996 déc 8 20:46 Module.symvers
lrwxrwxrwx 1 root root 35 déc 8 21:12 scripts -> ../../lib/linux-kbuild-3.16/scripts

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

Ok, that's really strange.
Try aptitude reinstall linux-headers-3.16.0-4-common

from rtl8812au.

Eric1212 avatar Eric1212 commented on July 26, 2024

Hmmmm!?
apt-get install linux-headers-3.16.0-4-common --reinstall
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'Ă©tat... Fait
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 0 o/4 478 ko dans les archives.
AprÚs cette opération, 0 o d'espace disque supplémentaires seront utilisés.
(Lecture de la base de données... 203051 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../linux-headers-3.16.0-4-common_3.16.7-ckt2-1_amd64.deb ...
DĂ©paquetage de linux-headers-3.16.0-4-common (3.16.7-ckt2-1) sur (3.16.7-ckt2-1) ...
Paramétrage de linux-headers-3.16.0-4-common (3.16.7-ckt2-1) ...
root@Eric-PC:/rtl8812au# ls -l /usr/src/linux-headers-3.16.0-4-amd64/total 1084
drwxr-xr-x 3 root root 4096 déc 24 14:11 arch
drwxr-xr-x 4 root root 4096 déc 24 14:11 include
-rw-r--r-- 1 root root 297 déc 8 21:12 Makefile
-rw-r--r-- 1 root root 1095996 déc 8 20:46 Module.symvers
lrwxrwxrwx 1 root root 35 déc 8 21:12 scripts -> ../../lib/linux-kbuild-3.16/scripts
root@Eric-PC:
/rtl8812au# ls -l /usr/src/linux-headers-3.16.0-4-common/total 60
drwxr-xr-x 3 root root 4096 déc 24 17:32 arch
drwxr-xr-x 27 root root 4096 déc 24 17:32 include
-rw-r--r-- 1 root root 52732 déc 8 19:19 Makefile
lrwxrwxrwx 1 root root 35 déc 8 21:37 scripts -> ../../lib/linux-kbuild-3.16/scripts
root@Eric-PC:/rtl8812au# ls -l /usr/src/linux-headers-3.16.0-4-common/
total 60
drwxr-xr-x 3 root root 4096 déc 24 17:32 arch
drwxr-xr-x 27 root root 4096 déc 24 17:32 include
-rw-r--r-- 1 root root 52732 déc 8 19:19 Makefile
lrwxrwxrwx 1 root root 35 déc 8 21:37 scripts -> ../../lib/linux-kbuild-3.16/scripts
root@Eric-PC:
/rtl8812au# make clean
cd hal/OUTSRC/ ; rm -fr /.mod.c /.mod /.o /..cmd /.ko
cd hal/OUTSRC/ ; rm -fr .mod.c *.mod *.o ..cmd .ko
cd hal/led ; rm -fr *.mod.c *.mod *.o .
.cmd .ko
cd hal ; rm -fr */
/.mod.c *//.mod *//.o *//..cmd *//.ko
cd hal ; rm -fr */
.mod.c /.mod /.o /..cmd /.ko
cd hal ; rm -fr .mod.c *.mod *.o ..cmd .ko
cd core/efuse ; rm -fr *.mod.c *.mod *.o .
.cmd .ko
cd core ; rm -fr *.mod.c *.mod *.o .
.cmd .ko
cd os_dep/linux ; rm -fr *.mod.c *.mod *.o .
.cmd .ko
cd os_dep ; rm -fr *.mod.c *.mod *.o .
.cmd .ko
rm -fr Module.symvers ; rm -fr Module.markers ; rm -fr modules.order
rm -fr *.mod.c *.mod *.o .
.cmd .ko *~
rm -fr .tmp_versions
root@Eric-PC:~/rtl8812au# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.16.0-4-amd64/build M=/root/rtl8812au modules
make[1]: Entering directory '/usr/src/linux-headers-3.16.0-4-amd64'
Makefile:10: *
* mixed implicit and normal rules: deprecated syntax
make[1]: Entering directory `/usr/src/linux-headers-3.16.0-4-amd64'
CC [M] /root/rtl8812au/core/rtw_cmd.o
CC [M] /root/rtl8812au/core/rtw_security.o
CC [M] /root/rtl8812au/core/rtw_debug.o
CC [M] /root/rtl8812au/core/rtw_io.o
CC [M] /root/rtl8812au/core/rtw_ioctl_query.o
CC [M] /root/rtl8812au/core/rtw_ioctl_set.o
CC [M] /root/rtl8812au/core/rtw_ieee80211.o
CC [M] /root/rtl8812au/core/rtw_mlme.o
CC [M] /root/rtl8812au/core/rtw_mlme_ext.o
CC [M] /root/rtl8812au/core/rtw_wlan_util.o
CC [M] /root/rtl8812au/core/rtw_vht.o
CC [M] /root/rtl8812au/core/rtw_pwrctrl.o
CC [M] /root/rtl8812au/core/rtw_rf.o
CC [M] /root/rtl8812au/core/rtw_recv.o
CC [M] /root/rtl8812au/core/rtw_sta_mgt.o
CC [M] /root/rtl8812au/core/rtw_ap.o
CC [M] /root/rtl8812au/core/rtw_xmit.o
CC [M] /root/rtl8812au/core/rtw_p2p.o
CC [M] /root/rtl8812au/core/rtw_tdls.o
CC [M] /root/rtl8812au/core/rtw_br_ext.o
CC [M] /root/rtl8812au/core/rtw_iol.o
CC [M] /root/rtl8812au/core/rtw_sreset.o
CC [M] /root/rtl8812au/core/efuse/rtw_efuse.o
CC [M] /root/rtl8812au/os_dep/osdep_service.o
CC [M] /root/rtl8812au/os_dep/linux/os_intfs.o
/root/rtl8812au/os_dep/linux/os_intfs.c: In function ‘create_proc_read_entry’:
/root/rtl8812au/os_dep/linux/os_intfs.c:328:2: warning: initialization from incompatible pointer type [enabled by default]
};
^
/root/rtl8812au/os_dep/linux/os_intfs.c:328:2: warning: (near initialization for ‘fops.read’) [enabled by default]
/root/rtl8812au/os_dep/linux/os_intfs.c: In function ‘create_proc_read_write_entry’:
/root/rtl8812au/os_dep/linux/os_intfs.c:339:3: warning: initialization from incompatible pointer type [enabled by default]
read: read_proc,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:339:3: warning: (near initialization for ‘fops.read’) [enabled by default]
/root/rtl8812au/os_dep/linux/os_intfs.c:341:2: warning: initialization from incompatible pointer type [enabled by default]
};
^
/root/rtl8812au/os_dep/linux/os_intfs.c:341:2: warning: (near initialization for ‘fops.write’) [enabled by default]
/root/rtl8812au/os_dep/linux/os_intfs.c: In function ‘rtw_proc_init_one’:
/root/rtl8812au/os_dep/linux/os_intfs.c:389:3: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
entry = create_proc_read_entry("ver_info", S_IFREG | S_IRUGO, rtw_proc, proc_get_drv_version, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t ()(struct file , char *, ssize_t, loff_t *)’ but argument is of type ‘int ()(char , char *, off_t, int, int *, void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:438:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_write_reg, dev, proc_set_write_reg);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (
)(struct file , char *, ssize_t, loff_t *)’ but argument is of type ‘int ()(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:438:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_write_reg, dev, proc_set_write_reg);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, const char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(struct file , const char *, long unsigned int, void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:445:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_read_reg, dev, proc_set_read_reg);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:445:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_read_reg, dev, proc_set_read_reg);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, const char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(struct file , const char *, long unsigned int, void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:452:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_fwstate, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:459:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_sec_info, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:466:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_mlmext_state, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:473:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_qos_option, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:480:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_ht_option, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:487:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rf_info, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:494:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_ap_info, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:501:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_adapter_state, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:508:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_trx_info, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:515:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_mac_reg_dump1, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:522:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_mac_reg_dump2, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:529:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_mac_reg_dump3, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:536:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_bb_reg_dump1, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:543:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_bb_reg_dump2, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:550:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_bb_reg_dump3, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:557:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rf_reg_dump1, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:564:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rf_reg_dump2, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:573:9: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rf_reg_dump3, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:580:9: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rf_reg_dump4, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:590:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_all_sta_info, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:608:8: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_best_channel, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:616:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rx_signal, dev, proc_set_rx_signal);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:616:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rx_signal, dev, proc_set_rx_signal);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, const char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(struct file , const char *, long unsigned int, void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:623:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_ht_enable, dev, proc_set_ht_enable);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:623:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_ht_enable, dev, proc_set_ht_enable);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, const char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(struct file , const char *, long unsigned int, void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:630:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_bw_mode, dev, proc_set_bw_mode);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:630:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_bw_mode, dev, proc_set_bw_mode);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, const char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(struct file , const char *, long unsigned int, void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:637:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_ampdu_enable, dev, proc_set_ampdu_enable);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:637:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_ampdu_enable, dev, proc_set_ampdu_enable);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, const char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(struct file , const char *, long unsigned int, void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:644:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rx_stbc, dev, proc_set_rx_stbc);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:644:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rx_stbc, dev, proc_set_rx_stbc);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, const char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(struct file , const char *, long unsigned int, void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:652:6: warning: passing argument 4 of ‘create_proc_read_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_two_path_rssi, dev);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:321:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:655:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rssi_disp, dev, proc_set_rssi_disp);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:655:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_rssi_disp, dev, proc_set_rssi_disp);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, const char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(struct file , const char *, long unsigned int, void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:671:8: warning: passing argument 4 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_sreset, dev, proc_set_sreset);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(char , char *, off_t, int, int , void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:671:8: warning: passing argument 6 of ‘create_proc_read_write_entry’ from incompatible pointer type [enabled by default]
dir_dev, proc_get_sreset, dev, proc_set_sreset);
^
/root/rtl8812au/os_dep/linux/os_intfs.c:333:38: note: expected ‘ssize_t (__)(struct file *, const char *, ssize_t, loff_t *)’ but argument is of type ‘int (
)(struct file , const char *, long unsigned int, void *)’
static inline struct proc_dir_entry *create_proc_read_write_entry(const char *name,
^
/root/rtl8812au/os_dep/linux/os_intfs.c: At top level:
/root/rtl8812au/os_dep/linux/os_intfs.c:1053:2: warning: initialization from incompatible pointer type [enabled by default]
.ndo_select_queue = rtw_select_queue,
^
/root/rtl8812au/os_dep/linux/os_intfs.c:1053:2: warning: (near initialization for ‘rtw_netdev_ops.ndo_select_queue’) [enabled by default]
CC [M] /root/rtl8812au/os_dep/linux/usb_intf.o
CC [M] /root/rtl8812au/os_dep/linux/usb_ops_linux.o
CC [M] /root/rtl8812au/os_dep/linux/ioctl_linux.o
/root/rtl8812au/os_dep/linux/ioctl_linux.c: In function ‘rtw_mp_efuse_get’:
/root/rtl8812au/os_dep/linux/ioctl_linux.c:8887:65: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations]
sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeEfuseInitMap[i+j]);
^
/root/rtl8812au/os_dep/linux/ioctl_linux.c:8875:3: note: containing loop
for (i = 0; i < EFUSE_MAP_SIZE; i += 16)
^
/root/rtl8812au/os_dep/linux/ioctl_linux.c:9301:69: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations]
sprintf(extra, "%s%02X ", extra, pEfuseHal->fakeEfuseModifiedMap[i+j]);
^
/root/rtl8812au/os_dep/linux/ioctl_linux.c:9295:3: note: containing loop
for (i=0; i<EFUSE_MAP_SIZE; i+=16)
^
CC [M] /root/rtl8812au/os_dep/linux/xmit_linux.o
CC [M] /root/rtl8812au/os_dep/linux/mlme_linux.o
CC [M] /root/rtl8812au/os_dep/linux/recv_linux.o
CC [M] /root/rtl8812au/os_dep/linux/ioctl_cfg80211.o
CC [M] /root/rtl8812au/os_dep/linux/rtw_android.o
/root/rtl8812au/os_dep/linux/rtw_android.c: In function ‘rtw_android_priv_cmd’:
/root/rtl8812au/os_dep/linux/rtw_android.c:356:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
if (copy_from_user(command, (void *)priv_cmd.buf, priv_cmd.total_len)) {
^
/root/rtl8812au/os_dep/linux/rtw_android.c:548:4: warning: passing argument 1 of ‘get_int_from_command’ makes pointer from integer without a cast [enabled by default]
pwfd_info->rtsp_ctrlport = ( u16 ) get_int_from_command( priv_cmd.buf );
^
/root/rtl8812au/os_dep/linux/rtw_android.c:307:5: note: expected ‘char *’ but argument is of type ‘compat_uptr_t’
int get_int_from_command( char
pcmd )
^
/root/rtl8812au/os_dep/linux/rtw_android.c:568:4: warning: passing argument 1 of ‘get_int_from_command’ makes pointer from integer without a cast [enabled by default]
pwfd_info->wfd_device_type = ( u8 ) get_int_from_command( priv_cmd.buf );
^
/root/rtl8812au/os_dep/linux/rtw_android.c:307:5: note: expected ‘char ’ but argument is of type ‘compat_uptr_t’
int get_int_from_command( char
pcmd )
^
/root/rtl8812au/os_dep/linux/rtw_android.c:592:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
if (copy_to_user((void *)priv_cmd.buf, command, bytes_written)) {
^
CC [M] /root/rtl8812au/hal/hal_intf.o
CC [M] /root/rtl8812au/hal/hal_com.o
CC [M] /root/rtl8812au/hal/hal_com_phycfg.o
CC [M] /root/rtl8812au/hal/hal_phy.o
CC [M] /root/rtl8812au/hal/led/hal_usb_led.o
CC [M] /root/rtl8812au/hal/HalPwrSeqCmd.o
CC [M] /root/rtl8812au/hal/rtl8812a/Hal8812PwrSeq.o
CC [M] /root/rtl8812au/hal/rtl8812a/Hal8821APwrSeq.o
CC [M] /root/rtl8812au/hal/rtl8812a/rtl8812a_xmit.o
CC [M] /root/rtl8812au/hal/rtl8812a/rtl8812a_sreset.o
CC [M] /root/rtl8812au/hal/rtl8812a/rtl8812a_hal_init.o
CC [M] /root/rtl8812au/hal/rtl8812a/rtl8812a_phycfg.o
CC [M] /root/rtl8812au/hal/rtl8812a/rtl8812a_rf6052.o
CC [M] /root/rtl8812au/hal/rtl8812a/rtl8812a_dm.o
CC [M] /root/rtl8812au/hal/rtl8812a/rtl8812a_rxdesc.o
CC [M] /root/rtl8812au/hal/rtl8812a/rtl8812a_cmd.o
CC [M] /root/rtl8812au/hal/rtl8812a/usb/usb_halinit.o
CC [M] /root/rtl8812au/hal/rtl8812a/usb/rtl8812au_led.o
CC [M] /root/rtl8812au/hal/rtl8812a/usb/rtl8812au_xmit.o
CC [M] /root/rtl8812au/hal/rtl8812a/usb/rtl8812au_recv.o
CC [M] /root/rtl8812au/hal/rtl8812a/usb/usb_ops_linux.o
CC [M] /root/rtl8812au/hal/rtl8812a/rtl8812a_mp.o
CC [M] /root/rtl8812au/hal/OUTSRC/odm_debug.o
CC [M] /root/rtl8812au/hal/OUTSRC/odm_interface.o
CC [M] /root/rtl8812au/hal/OUTSRC/odm_HWConfig.o
CC [M] /root/rtl8812au/hal/OUTSRC/odm.o
CC [M] /root/rtl8812au/hal/OUTSRC/HalPhyRf.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/HalHWImg8812A_FW.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/HalHWImg8812A_MAC.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/HalHWImg8812A_BB.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/HalHWImg8812A_RF.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/HalHWImg8812A_TestChip_FW.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/HalHWImg8812A_TestChip_MAC.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/HalHWImg8812A_TestChip_BB.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/HalHWImg8812A_TestChip_RF.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/HalPhyRf_8812A.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8812a/odm_RegConfig8812A.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8821a/HalHWImg8821A_FW.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8821a/HalHWImg8821A_MAC.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8821a/HalHWImg8821A_BB.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8821a/HalHWImg8821A_RF.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8821a/HalHWImg8821A_TestChip_MAC.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8821a/HalHWImg8821A_TestChip_BB.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8821a/HalHWImg8821A_TestChip_RF.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8821a/HalPhyRf_8821A.o
CC [M] /root/rtl8812au/hal/OUTSRC/rtl8821a/odm_RegConfig8821A.o
CC [M] /root/rtl8812au/core/rtw_mp.o
CC [M] /root/rtl8812au/core/rtw_mp_ioctl.o
LD [M] /root/rtl8812au/8812au.o
Building modules, stage 2.
MODPOST 1 modules
CC /root/rtl8812au/8812au.mod.o
LD [M] /root/rtl8812au/8812au.ko
make[1]: Leaving directory '/usr/src/linux-headers-3.16.0-4-amd64'
root@Eric-PC:~/rtl8812au# ls
8812au.ko 8812au.o hal Kconfig Module.symvers runwpa
8812au.mod.c clean ifcfg-wlan0 Makefile os_dep wlan0dhcp
8812au.mod.o core include modules.order README.md

from rtl8812au.

diederikdehaas avatar diederikdehaas commented on July 26, 2024

Succes 👍

Note that you should run make as a normal user. make install should be done as root though.

from rtl8812au.

Eric1212 avatar Eric1212 commented on July 26, 2024

I hope if someone have this kind of issue find a solution in our process.

from rtl8812au.

Chadster766 avatar Chadster766 commented on July 26, 2024

Great Job!

This time I ran the below commands and it work straight out for my Debian x64 machine:

make
make install

from rtl8812au.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.