SHARE
TWEET

Untitled

a guest Jun 19th, 2017 35 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. make -C /lib/modules/4.8.0-36-generic/build M=/home/andrei/project modules
  2. make[1]: Entering directory '/usr/src/linux-headers-4.8.0-36-generic'
  3.   CC [M]  /home/andrei/project/test1.o
  4. In file included from /home/andrei/project/test1.c:4:0:
  5. /home/andrei/project/test1.c: In function ‘__exittest’:
  6. /home/andrei/project/test1.c:82:13: error: return from incompatible pointer type [-Werror=incompatible-pointer-types]
  7.  module_exit(exit_point);
  8.              ^
  9. ./include/linux/module.h:137:11: note: in definition of macro ‘module_exit’
  10.   { return exitfn; }     \
  11.            ^
  12. cc1: some warnings being treated as errors
  13. scripts/Makefile.build:295: recipe for target '/home/andrei/project/test1.o' failed
  14. make[2]: *** [/home/andrei/project/test1.o] Error 1
  15. Makefile:1491: recipe for target '_module_/home/andrei/project' failed
  16. make[1]: *** [_module_/home/andrei/project] Error 2
  17. make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-36-generic'
  18. Makefile:4: recipe for target 'all' failed
  19. make: *** [all] Error 2
RAW Paste Data
Top