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 #7

Open
HowardL-md opened this issue May 20, 2020 · 1 comment
Open

make errors #7

HowardL-md opened this issue May 20, 2020 · 1 comment

Comments

@HowardL-md
Copy link

I get two errors early on in compiling with Fedora 29.

~/build/rtl8811au/rtl8811au-master> make make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.3.11-100.fc29.x86_64/build M=/home/how2/build/rtl8811au/rtl8811au-master modules make[1]: Entering directory '/usr/src/kernels/5.3.11-100.fc29.x86_64' CC [M] /home/how2/build/rtl8811au/rtl8811au-master/core/rtw_cmd.o In file included from /home/how2/build/rtl8811au/rtl8811au-master/include/osdep_service.h:41, from /home/how2/build/rtl8811au/rtl8811au-master/include/drv_types.h:32, from /home/how2/build/rtl8811au/rtl8811au-master/core/rtw_cmd.c:22: /home/how2/build/rtl8811au/rtl8811au-master/include/osdep_service_linux.h: In function ‘_init_timer’: /home/how2/build/rtl8811au/rtl8811au-master/include/osdep_service_linux.h:267:8: error: ‘_timer’ {aka ‘struct timer_list’} has no member named ‘data’ ptimer->data = (unsigned long)cntx; ^~ /home/how2/build/rtl8811au/rtl8811au-master/include/osdep_service_linux.h:268:2: error: implicit declaration of function ‘init_timer’; did you mean ‘_init_timer’? [-Werror=implicit-function-declaration] init_timer(ptimer); ^~~~~~~~~~ _init_timer /home/how2/build/rtl8811au/rtl8811au-master/core/rtw_cmd.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-address-of-packed-member’ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:281: /home/how2/build/rtl8811au/rtl8811au-master/core/rtw_cmd.o] Error 1 make[1]: *** [Makefile:1630: _module_/home/how2/build/rtl8811au/rtl8811au-master] Error 2 make[1]: Leaving directory '/usr/src/kernels/5.3.11-100.fc29.x86_64' make: *** [Makefile:1551: modules] Error 2

@caleb15
Copy link

caleb15 commented Jun 9, 2021

Same issue with ubuntu 18 when I ran make -j 8

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