mt7610u_wifi_sta_v3002_dpo_20130916
mt7610u_wifi_sta_v3002_dpo_20130916 copied to clipboard
Errors when building for 4.8.17
Hello,
The following errors cause the build to fail. Please can you assist?
make[1]: Entering directory '/usr/src/linux-4.8.17-hardened-r1' CC [M] /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.o In file included from /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:32:0: /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_os_net.h: In function ‘VIRTUAL_IF_UP’: /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_os_net.h:275:10: warning: passing argument 5 of ‘RTMP_COM_IoctlHandle’ discards ‘const’ qualifier from pointer target type 0, &InfConf, 0) != NDIS_STATUS_SUCCESS) ^ /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_os_net.h:198:5: note: expected ‘VOID *’ but argument is of type ‘const struct RT_CMD_INF_UP_DOWN *’ INT RTMP_COM_IoctlHandle( ^ /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_os_net.h: In function ‘VIRTUAL_IF_DOWN’: /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_os_net.h:284:10: warning: passing argument 5 of ‘RTMP_COM_IoctlHandle’ discards ‘const’ qualifier from pointer target type 0, &InfConf, 0); ^ /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/include/rt_os_net.h:198:5: note: expected ‘VOID *’ but argument is of type ‘const struct RT_CMD_INF_UP_DOWN *’ INT RTMP_COM_IoctlHandle( ^ /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c: At top level: /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2363:2: error: unknown field ‘private’ specified in initializer .private = (iw_handler *) rt_priv_handlers, ^ /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2363:2: warning: initialization from incompatible pointer type /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2363:2: warning: (near initialization for ‘rt28xx_iw_handler_def.get_wireless_stats’) /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2364:2: error: unknown field ‘num_private’ specified in initializer .num_private = N(rt_priv_handlers), ^ /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2364:2: warning: excess elements in struct initializer /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2364:2: warning: (near initialization for ‘rt28xx_iw_handler_def’) /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2365:2: error: unknown field ‘private_args’ specified in initializer .private_args = (struct iw_priv_args *) privtab, ^ /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2365:26: warning: excess elements in struct initializer .private_args = (struct iw_priv_args *) privtab, ^ /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2365:26: warning: (near initialization for ‘rt28xx_iw_handler_def’) /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2366:2: error: unknown field ‘num_private_args’ specified in initializer .num_private_args = N(privtab), ^ /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2366:2: warning: excess elements in struct initializer /root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.c:2366:2: warning: (near initialization for ‘rt28xx_iw_handler_def’) scripts/Makefile.build:289: recipe for target '/root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.o' failed make[2]: *** [/root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux/../../os/linux/sta_ioctl.o] Error 1 Makefile:1478: recipe for target '_module_/root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux' failed make[1]: *** [_module_/root/tmp/mt7610u_wifi_sta_v3002_dpo_20130916/os/linux] Error 2 make[1]: Leaving directory '/usr/src/linux-4.8.17-hardened-r1' Makefile:393: recipe for target 'LINUX' failed make: *** [LINUX] Error 2
For me the same :/