cannot compile 8192du

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
munir

cannot compile 8192du

Post by munir »

when i try make command it says
beken@ukyirdgf ~/1 $ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.13.0-37-generic/build M=/home/beken/1 modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-37-generic'
CC [M] /home/beken/1/core/rtw_cmd.o
CC [M] /home/beken/1/core/rtw_security.o
CC [M] /home/beken/1/core/rtw_debug.o
CC [M] /home/beken/1/core/rtw_io.o
CC [M] /home/beken/1/core/rtw_ioctl_set.o
CC [M] /home/beken/1/core/rtw_ieee80211.o
CC [M] /home/beken/1/core/rtw_mlme.o
CC [M] /home/beken/1/core/rtw_mlme_ext.o
CC [M] /home/beken/1/core/rtw_wlan_util.o
CC [M] /home/beken/1/core/rtw_pwrctrl.o
CC [M] /home/beken/1/core/rtw_rf.o
CC [M] /home/beken/1/core/rtw_recv.o
CC [M] /home/beken/1/core/rtw_sta_mgt.o
CC [M] /home/beken/1/core/rtw_ap.o
CC [M] /home/beken/1/core/rtw_xmit.o
/home/beken/1/core/rtw_xmit.c: In function ‘update_attrib’:
/home/beken/1/core/rtw_xmit.c:441:2: error: implicit declaration of function ‘ether_addr_copy’ [-Werror=implicit-function-declaration]
ether_addr_copy(pattrib->dst, ehdr->h_dest);
^
cc1: some warnings being treated as errors
make[2]: *** [/home/beken/1/core/rtw_xmit.o] Error 1
make[1]: *** [_module_/home/beken/1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-37-generic'
make: *** [modules] Error 2
can someone help me
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
JeremyB
Level 21
Level 21
Posts: 13841
Joined: Fri Feb 21, 2014 8:17 am

Re: cannot compile 8192du

Post by JeremyB »

One fix might be to install a kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/ and try to compile. I will try when I get done with work. I think Larry Finger said the issue lies with how Ubuntu patches their kernels. Your kernel version may say 3.13.0-37 but it is a 3.13 kernel that has newer patches installed

But you might already know this https://github.com/lwfinger/rtl8192du/issues/24
munir

Re: cannot compile 8192du

Post by munir »

JeremyB wrote:One fix might be to install a kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/ and try to compile. I will try when I get done with work. I think Larry Finger said the issue lies with how Ubuntu patches their kernels. Your kernel version may say 3.13.0-37 but it is a 3.13 kernel that has newer patches installed

But you might already know this https://github.com/lwfinger/rtl8192du/issues/24
thanks for your response, already did what you suggested, now works with latest 3.18.1 kernel
JeremyB
Level 21
Level 21
Posts: 13841
Joined: Fri Feb 21, 2014 8:17 am

Re: cannot compile 8192du

Post by JeremyB »

munir wrote:
JeremyB wrote:One fix might be to install a kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/ and try to compile. I will try when I get done with work. I think Larry Finger said the issue lies with how Ubuntu patches their kernels. Your kernel version may say 3.13.0-37 but it is a 3.13 kernel that has newer patches installed

But you might already know this https://github.com/lwfinger/rtl8192du/issues/24
thanks for your response, already did what you suggested, now works with latest 3.18.1 kernel
Did that kernel work with your wifi out of the box, or do you mean that you were able to get the driver to compile?
munir

Re: cannot compile 8192du

Post by munir »

JeremyB wrote:
Did that kernel work with your wifi out of the box, or do you mean that you were able to get the driver to compile?
no. i just able to compile it. can you include this wireless driver with linux mint? it would be very helpfull to me . thanks
Locked

Return to “Networking”