Skip to content

error on build #3

Description

@muthuveerappan

hi,

i have a dlink dwa 131 ... and want to use on fedora 32 kernal 5.6.6-300.fc32.x86_64

when trying to compile ... bumped into the below error can you help ...

[M] /home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.o
/home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.c: In function ‘rtw_proc_create_entry’:
/home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.c:72:71: error: passing argument 4 of ‘proc_create_data’ from incompatible pointer type [-Werror=incompatible-pointer-types]
72 | entry = proc_create_data(name, S_IFREG | S_IRUGO | S_IWUGO, parent, fops, data);
| ^~~~
| |
| const struct file_operations *
In file included from /home/kids/Downloads/rtl8192EU_WiFi_linux/include/../os_dep/linux/rtw_proc.h:18,
from /home/kids/Downloads/rtl8192EU_WiFi_linux/include/osdep_intf.h:128,
from /home/kids/Downloads/rtl8192EU_WiFi_linux/include/drv_types.h:104,
from /home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/**rtw_proc.c:17:
./include/linux/proc_fs.h:61:13: note: expected ‘const struct proc_ops *’ but argument is of type ‘const struct file_operations ’
61 | const struct proc_ops ,
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors

make[2]: *** [scripts/Makefile.build:268: /home/kids/Downloads/rtl8192EU_WiFi_linux/os_dep/linux/rtw_proc.o] Error 1
make[1]: *** [Makefile:1683: /home/kids/Downloads/rtl8192EU_WiFi_linux] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.6.6-300.fc32.x86_64'
make: *** [Makefile:1828: modules] Error 2
[root@desktop-old rtl8192EU_WiFi_linux]# uname -a
Linux desktop-old 5.6.6-300.fc32.x86_64 #1 SMP Tue Apr 21 13:44:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@desktop-old rtl8192EU_WiFi_linux]#

can you help ...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions