Guest User

Untitled

a guest
Apr 5th, 2018
277
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 3.92 KB | None | 0 0
  1. make: Entering directory '/usr/lib/modules/4.15.1-2-ARCH/build'
  2.   CC [M]  /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.o
  3. In file included from /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:60:0:
  4. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.h:40:6: warning: conflicting types for built-in function 'round' [-Wbuiltin-declaration-mismatch]
  5.  long round(long r, long x);
  6.       ^~~~~
  7. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c: In function 'usb_activ_process_touch':
  8. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:1741:5: warning: switch condition has boolean value [-Wswitch-bool]
  9.      switch (board->Calibration.mode == 1)
  10.      ^~~~~~
  11. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c: In function 'usb_activ_thread_process_pipe_data':
  12. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:2583:101: warning: passing argument 4 of 'usb_get_status' makes integer from pointer without a cast [-Wint-conversion]
  13.                      status = usb_get_status(board->usbdev, USB_RECIP_ENDPOINT, board->pipe_in[ndx], (void*)&data);
  14.                                                                                                      ^
  15. In file included from /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:19:0:
  16. ./include/linux/usb.h:1771:12: note: expected 'int' but argument is of type 'void *'
  17.  extern int usb_get_status(struct usb_device *dev,
  18.             ^~~~~~~~~~~~~~
  19. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:2583:30: error: too few arguments to function 'usb_get_status'
  20.                      status = usb_get_status(board->usbdev, USB_RECIP_ENDPOINT, board->pipe_in[ndx], (void*)&data);
  21.                               ^~~~~~~~~~~~~~
  22. In file included from /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:19:0:
  23. ./include/linux/usb.h:1771:12: note: declared here
  24.  extern int usb_get_status(struct usb_device *dev,
  25.             ^~~~~~~~~~~~~~
  26. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c: In function 'usb_activ_probe':
  27. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:3097:5: error: implicit declaration of function 'init_timer'; did you mean 'init_timers'? [-Werror=implicit-function-declaration]
  28.      init_timer(&board->FirmwarePenState.timer);
  29.      ^~~~~~~~~~
  30.      init_timers
  31. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:3098:44: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
  32.      board->FirmwarePenState.timer.function = penStateTimerCallback;
  33.                                             ^
  34. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:3099:34: error: 'struct timer_list' has no member named 'data'
  35.      board->FirmwarePenState.timer.data = (unsigned long)board;
  36.                                   ^
  37. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c: In function 'transformToRect':
  38. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:3543:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  39.      if (nx > 0)
  40.      ^~
  41. /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:3546:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  42.   a = (s64)(m->m22 * yraw + m->m12 * xraw + m->dy) * SCALE_FACTOR[1];
  43.   ^
  44. cc1: some warnings being treated as errors
  45. make[1]: *** [scripts/Makefile.build:317: /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.o] Error 1
  46. make: *** [Makefile:1508: _module_/home/$USER/build/activdriver/src/usr/src/promethean/kernel] Error 2
  47. make: Leaving directory '/usr/lib/modules/4.15.1-2-ARCH/build'
Add Comment
Please, Sign In to add comment