Guest User

Untitled

a guest
Apr 6th, 2020
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 2.26 KB | None | 0 0
  1.  
  2.  
  3. In file included from /home/ajdecker/projects/buildroot/output/build/gcnano-binaries-c01642ed5e18cf09ecd905af193e935cb3be95ed/./hal/os/linux/kernel/gc_hal_kernel_linux.h:61,
  4.                  from /home/ajdecker/projects/buildroot/output/build/gcnano-binaries-c01642ed5e18cf09ecd905af193e935cb3be95ed/./hal/os/linux/kernel/gc_hal_kernel_driver.c:62:
  5. ./include/linux/module.h:133:6: error: ‘init_module’ specifies less restrictive attribute than its target ‘gpu_init’: ‘cold’ [-Werror=missing-attributes]
  6.   133 |  int init_module(void) __attribute__((alias(#initfn)));
  7.       |      ^~~~~~~~~~~
  8. /home/ajdecker/projects/buildroot/output/build/gcnano-binaries-c01642ed5e18cf09ecd905af193e935cb3be95ed/./hal/os/linux/kernel/gc_hal_kernel_driver.c:1267:1: note: in expansion of macro ‘module_init’
  9.  1267 | module_init(gpu_init);
  10.       | ^~~~~~~~~~~
  11. /home/ajdecker/projects/buildroot/output/build/gcnano-binaries-c01642ed5e18cf09ecd905af193e935cb3be95ed/./hal/os/linux/kernel/gc_hal_kernel_driver.c:1224:19: note: ‘init_module’ target declared here
  12.  1224 | static int __init gpu_init(void)
  13.       |                   ^~~~~~~~
  14. In file included from /home/ajdecker/projects/buildroot/output/build/gcnano-binaries-c01642ed5e18cf09ecd905af193e935cb3be95ed/./hal/os/linux/kernel/gc_hal_kernel_linux.h:61,
  15.                  from /home/ajdecker/projects/buildroot/output/build/gcnano-binaries-c01642ed5e18cf09ecd905af193e935cb3be95ed/./hal/os/linux/kernel/gc_hal_kernel_driver.c:62:
  16. ./include/linux/module.h:139:7: error: ‘cleanup_module’ specifies less restrictive attribute than its target ‘gpu_exit’: ‘cold’ [-Werror=missing-attributes]
  17.   139 |  void cleanup_module(void) __attribute__((alias(#exitfn)));
  18.       |       ^~~~~~~~~~~~~~
  19. /home/ajdecker/projects/buildroot/output/build/gcnano-binaries-c01642ed5e18cf09ecd905af193e935cb3be95ed/./hal/os/linux/kernel/gc_hal_kernel_driver.c:1268:1: note: in expansion of macro ‘module_exit’
  20.  1268 | module_exit(gpu_exit);
  21.       | ^~~~~~~~~~~
  22. /home/ajdecker/projects/buildroot/output/build/gcnano-binaries-c01642ed5e18cf09ecd905af193e935cb3be95ed/./hal/os/linux/kernel/gc_hal_kernel_driver.c:1255:20: note: ‘cleanup_module’ target declared here
  23.  1255 | static void __exit gpu_exit(void)
  24.       |                    ^~~~~~~~
Add Comment
Please, Sign In to add comment