Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

19.04 Disco Dingo: Bad return on module build for kernel 5.0.0-13-generic #2

Open
hungrayho opened this issue Sep 22, 2019 · 0 comments

Comments

@hungrayho
Copy link

terminal dump:

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j16 KERNELRELEASE=5.0.0-13-generic -C /lib/modules/5.0.0-13-generic/build M=/var/lib/dkms/archer-t4u/4.8.1/build...(bad exit status: 2)

make.log:

DKMS make.log for archer-t4u-4.8.1 for kernel 5.0.0-13-generic (x86_64)
Mon Sep 23 01:10:53 HKT 2019
make: Entering directory '/usr/src/linux-headers-5.0.0-13-generic'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_cmd.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_security.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_debug.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_io.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_query.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_set.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ieee80211.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme_ext.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_wlan_util.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_vht.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_pwrctrl.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_rf.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_recv.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_sta_mgt.o
  CC [M]  /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ap.o
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_security.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_set.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_io.c:52:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_security.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_security.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_cmd.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_set.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_set.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_io.c:52:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_io.c:52:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_debug.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_query.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme_ext.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_cmd.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ieee80211.c:25:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_debug.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_debug.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_query.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_query.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme_ext.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme_ext.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_wlan_util.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ieee80211.c:25:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ieee80211.c:25:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_pwrctrl.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_vht.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_wlan_util.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_wlan_util.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_pwrctrl.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_pwrctrl.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_vht.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_vht.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_rf.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_io.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: some warnings being treated as errors
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
cc1: some warnings being treated as errors
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_recv.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_set.o] Error 1
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ioctl_query.o] Error 1
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_rf.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_rf.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_sta_mgt.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_recv.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_recv.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
cc1: some warnings being treated as errors
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_security.o] Error 1
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_sta_mgt.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_sta_mgt.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
cc1: some warnings being treated as errors
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ap.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h: In function ‘_init_timer’:
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:265:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  ptimer->data = (unsigned long)cntx;
        ^~
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_cmd.o] Error 1
/var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:266:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  init_timer(ptimer);
  ^~~~~~~~~~
  _init_timer
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_debug.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_vht.o] Error 1
In file included from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:35,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ap.c:22:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h: At top level:
/var/lib/dkms/archer-t4u/4.8.1/build/include/wifi.h:994: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
 #define IEEE80211_MAX_AMPDU_BUF 0x40
 
In file included from ./include/net/cfg80211.h:24,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service_linux.h:79,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/osdep_service.h:41,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/include/drv_types.h:32,
                 from /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ap.c:22:
./include/linux/ieee80211.h:1444: note: this is the location of the previous definition
 #define IEEE80211_MAX_AMPDU_BUF  0x100
 
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ieee80211.o] Error 1
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_rf.o] Error 1
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_pwrctrl.o] Error 1
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_sta_mgt.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_wlan_util.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_recv.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_ap.o] Error 1
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:286: /var/lib/dkms/archer-t4u/4.8.1/build/core/rtw_mlme_ext.o] Error 1
make: *** [Makefile:1584: _module_/var/lib/dkms/archer-t4u/4.8.1/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.0.0-13-generic'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant