Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make: Entering directory '/usr/lib/modules/4.15.1-2-ARCH/build'
- CC [M] /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.o
- In file included from /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:60:0:
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.h:40:6: warning: conflicting types for built-in function 'round' [-Wbuiltin-declaration-mismatch]
- long round(long r, long x);
- ^~~~~
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c: In function 'usb_activ_process_touch':
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:1741:5: warning: switch condition has boolean value [-Wswitch-bool]
- switch (board->Calibration.mode == 1)
- ^~~~~~
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c: In function 'usb_activ_thread_process_pipe_data':
- /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]
- status = usb_get_status(board->usbdev, USB_RECIP_ENDPOINT, board->pipe_in[ndx], (void*)&data);
- ^
- In file included from /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:19:0:
- ./include/linux/usb.h:1771:12: note: expected 'int' but argument is of type 'void *'
- extern int usb_get_status(struct usb_device *dev,
- ^~~~~~~~~~~~~~
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:2583:30: error: too few arguments to function 'usb_get_status'
- status = usb_get_status(board->usbdev, USB_RECIP_ENDPOINT, board->pipe_in[ndx], (void*)&data);
- ^~~~~~~~~~~~~~
- In file included from /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:19:0:
- ./include/linux/usb.h:1771:12: note: declared here
- extern int usb_get_status(struct usb_device *dev,
- ^~~~~~~~~~~~~~
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c: In function 'usb_activ_probe':
- /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]
- init_timer(&board->FirmwarePenState.timer);
- ^~~~~~~~~~
- init_timers
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:3098:44: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]
- board->FirmwarePenState.timer.function = penStateTimerCallback;
- ^
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:3099:34: error: 'struct timer_list' has no member named 'data'
- board->FirmwarePenState.timer.data = (unsigned long)board;
- ^
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c: In function 'transformToRect':
- /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.c:3543:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
- if (nx > 0)
- ^~
- /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'
- a = (s64)(m->m22 * yraw + m->m12 * xraw + m->dy) * SCALE_FACTOR[1];
- ^
- cc1: some warnings being treated as errors
- make[1]: *** [scripts/Makefile.build:317: /home/$USER/build/activdriver/src/usr/src/promethean/kernel/usbpromethean.o] Error 1
- make: *** [Makefile:1508: _module_/home/$USER/build/activdriver/src/usr/src/promethean/kernel] Error 2
- make: Leaving directory '/usr/lib/modules/4.15.1-2-ARCH/build'
Add Comment
Please, Sign In to add comment