Advertisement
Guest User

Untitled

a guest
Jul 26th, 2020
185
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DKMS make.log for bbswitch-0.8 for kernel 5.7.10_1 (x86_64)
  2. Sun 26 Jul 2020 03:35:37 PM EDT
  3. make -C /lib/modules/5.7.10_1/build M="$(pwd)" modules
  4. make[1]: Entering directory '/usr/src/kernel-headers-5.7.10_1'
  5. CC [M] /var/lib/dkms/bbswitch/0.8/build/bbswitch.o
  6. /var/lib/dkms/bbswitch/0.8/build/bbswitch.c: In function 'bbswitch_init':
  7. /var/lib/dkms/bbswitch/0.8/build/bbswitch.c:460:18: error: implicit declaration of function 'proc_create' [-Werror=implicit-function-declaration]
  8. 460 | acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops);
  9. | ^~~~~~~~~~~
  10. /var/lib/dkms/bbswitch/0.8/build/bbswitch.c:460:16: warning: assignment to 'struct proc_dir_entry *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  11. 460 | acpi_entry = proc_create("bbswitch", 0664, acpi_root_dir, &bbswitch_fops);
  12. | ^
  13. /var/lib/dkms/bbswitch/0.8/build/bbswitch.c: In function 'bbswitch_exit':
  14. /var/lib/dkms/bbswitch/0.8/build/bbswitch.c:490:5: error: implicit declaration of function 'remove_proc_entry' [-Werror=implicit-function-declaration]
  15. 490 | remove_proc_entry("bbswitch", acpi_root_dir);
  16. | ^~~~~~~~~~~~~~~~~
  17. cc1: some warnings being treated as errors
  18. make[2]: *** [scripts/Makefile.build:267: /var/lib/dkms/bbswitch/0.8/build/bbswitch.o] Error 1
  19. make[1]: *** [Makefile:1732: /var/lib/dkms/bbswitch/0.8/build] Error 2
  20. make[1]: Leaving directory '/usr/src/kernel-headers-5.7.10_1'
  21. make: *** [Makefile:13: default] Error 2
Advertisement
RAW Paste Data Copied
Advertisement