You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll try to build the module for the kernel 5.7.2 and get this errors:
make [±master ✓]
make -C /lib/modules/5.7.2-2.g7721ea3-default/build M="$(pwd)" modules
make[1]: se entra en el directorio '/usr/src/linux-5.7.2-2.g7721ea3-obj/x86_64/default'
CC [M] /home/koxmoz/rpm_gz/bbswitch/bbswitch.o
/home/koxmoz/rpm_gz/bbswitch/bbswitch.c: In function ‘bbswitch_init’:
/home/koxmoz/rpm_gz/bbswitch/bbswitch.c:460:18: error: implicit declaration of function ‘proc_create’; did you mean ‘vfs_create’? [-Werror=implicit-function-declaration]
acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops);
^~~~~~~~~~~
vfs_create
/home/koxmoz/rpm_gz/bbswitch/bbswitch.c:460:16: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops);
^
/home/koxmoz/rpm_gz/bbswitch/bbswitch.c: In function ‘bbswitch_exit’:
/home/koxmoz/rpm_gz/bbswitch/bbswitch.c:490:5: error: implicit declaration of function ‘remove_proc_entry’; did you mean ‘remove_memory’? [-Werror=implicit-function-declaration]
remove_proc_entry("bbswitch", acpi_root_dir);
^~~~~~~~~~~~~~~~~
remove_memory
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-5.7.2-2.g7721ea3/scripts/Makefile.build:268: /home/koxmoz/rpm_gz/bbswitch/bbswitch.o] Error 1
make[2]: *** [/usr/src/linux-5.7.2-2.g7721ea3/Makefile:1744: /home/koxmoz/rpm_gz/bbswitch] Error 2
make[1]: *** [../../../linux-5.7.2-2.g7721ea3/Makefile:180: sub-make] Error 2
make[1]: se sale del directorio '/usr/src/linux-5.7.2-2.g7721ea3-obj/x86_64/default'
make: *** [Makefile:13: default] Error 2
I also try to apply a patch that I found to the kernel 5.6 but make in worse. I hope that you can help me with this.
The text was updated successfully, but these errors were encountered:
I'll try to build the module for the kernel 5.7.2 and get this errors:
I also try to apply a patch that I found to the kernel 5.6 but make in worse. I hope that you can help me with this.
The text was updated successfully, but these errors were encountered: