mt7610u_wifi_sta_v3002_dpo_20130916
mt7610u_wifi_sta_v3002_dpo_20130916 copied to clipboard
call to ‘__read_overflow2’ declared with attribute error is reported while running make
During make, the following error is reported:
make[1]: Entering directory '/usr/src/linux-headers-4.13.0-38-generic' CC [M] /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/os/linux/../../os/linux/sta_ioctl.o In file included from ./include/linux/bitmap.h:8:0, from ./include/linux/cpumask.h:11, from ./arch/x86/include/asm/cpumask.h:4, from ./arch/x86/include/asm/msr.h:10, from ./arch/x86/include/asm/processor.h:20, from ./arch/x86/include/asm/cpufeature.h:4, from ./arch/x86/include/asm/thread_info.h:63, from ./include/linux/thread_info.h:37, from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:80, from ./include/linux/spinlock.h:50, from ./include/linux/seqlock.h:35, from ./include/linux/time.h:5, from ./include/linux/stat.h:18, from ./include/linux/module.h:10, from /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/include/os/rt_linux.h:31, from /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/include/rtmp_os.h:44, from /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/include/rtmp_comm.h:75, from /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/os/linux/../../os/linux/sta_ioctl.c:30: In function ‘memcpy’, inlined from ‘rt_ioctl_iwaplist’ at /home/allen/Downloads/mt7610u_wifi_sta_v3002_dpo_20130916_git/os/linux/../../os/linux/sta_ioctl.c:697:2: ./include/linux/string.h:305:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter __read_overflow2();
I got the same error when I make with Ubuntu 18.04 and kernel 4.15.
Same here with Kubuntu 18.04, kernel 4.15
same here 4.16.0-kali2-amd64
Same. Elemntary OS Loki
Same here, Ubuntu 18.04.1 LTS / Linux 4.15.0-36-generic
same on Ubuntu 16.04 4.15.0-43-generic #46~16.04.1-Ubuntu SMP
same
Same for me. Linux ubuntu 5.3.0-18-generic #19-Ubuntu SMP Tue Oct 8 20:14:06 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux