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

Make errors relating to timers #3

Open
danwdart opened this issue Jul 29, 2020 · 1 comment
Open

Make errors relating to timers #3

danwdart opened this issue Jul 29, 2020 · 1 comment

Comments

@danwdart
Copy link

"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-42-generic/build M=/home/dwd/code/other/rtl8188EUS  modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-42-generic'
"******************************************"
"NO SKRC,we will use default KSRC"
"******************************************"
  CC [M]  /home/dwd/code/other/rtl8188EUS/core/rtw_cmd.o

In file included from /home/dwd/code/other/rtl8188EUS/include/osdep_service.h:41,
                 from /home/dwd/code/other/rtl8188EUS/include/drv_types.h:32,
                 from /home/dwd/code/other/rtl8188EUS/core/rtw_cmd.c:22:
/home/dwd/code/other/rtl8188EUS/include/osdep_service_linux.h: In function ‘_init_timer’:
/home/dwd/code/other/rtl8188EUS/include/osdep_service_linux.h:262:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’
  262 |  ptimer->data = (unsigned long)cntx;
      |        ^~
/home/dwd/code/other/rtl8188EUS/include/osdep_service_linux.h:263:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration]
  263 |  init_timer(ptimer);
      |  ^~~~~~~~~~
      |  _init_timer
In file included from /home/dwd/code/other/rtl8188EUS/include/drv_types.h:35,
                 from /home/dwd/code/other/rtl8188EUS/core/rtw_cmd.c:22:
/home/dwd/code/other/rtl8188EUS/include/wifi.h: At top level:
/home/dwd/code/other/rtl8188EUS/include/wifi.h:988: warning: "IEEE80211_MAX_AMPDU_BUF" redefined
  988 | #define IEEE80211_MAX_AMPDU_BUF 0x40
      | 
In file included from ./include/net/cfg80211.h:21,
                 from /home/dwd/code/other/rtl8188EUS/include/osdep_service_linux.h:83,
                 from /home/dwd/code/other/rtl8188EUS/include/osdep_service.h:41,
                 from /home/dwd/code/other/rtl8188EUS/include/drv_types.h:32,
                 from /home/dwd/code/other/rtl8188EUS/core/rtw_cmd.c:22:
./include/linux/ieee80211.h:1460: note: this is the location of the previous definition
 1460 | #define IEEE80211_MAX_AMPDU_BUF  0x100
      | 
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /home/dwd/code/other/rtl8188EUS/core/rtw_cmd.o] Error 1
make[1]: *** [Makefile:1731: /home/dwd/code/other/rtl8188EUS] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-42-generic'
make: *** [Makefile:1367: modules] Error 2
@michaelgugino
Copy link
Owner

Hi. I don't maintain this repository. You want to use a driver written by someone much more competent than myself: https://github.com/lwfinger/rtl8188eu

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

2 participants