Advertisement
Guest User

nano2

a guest
Dec 27th, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.79 KB | None | 0 0
  1. sabet@sabet-Aspire-E5-573:~/Downloads/CH341SER_LINUX$ sudo make
  2. make -C /lib/modules/5.0.0-37-generic/build M=/home/sabet/Downloads/CH341SER_LINUX
  3. make[1]: Verzeichnis „/usr/src/linux-headers-5.0.0-37-generic“ wird betreten
  4. CC [M] /home/sabet/Downloads/CH341SER_LINUX/ch34x.o
  5. /home/sabet/Downloads/CH341SER_LINUX/ch34x.c: In function ‘ch34x_close’:
  6. /home/sabet/Downloads/CH341SER_LINUX/ch34x.c:562:2: error: unknown type name ‘wait_queue_t’; did you mean ‘wait_event’?
  7. wait_queue_t wait;
  8. ^~~~~~~~~~~~
  9. wait_event
  10. /home/sabet/Downloads/CH341SER_LINUX/ch34x.c:573:24: error: passing argument 1 of ‘init_waitqueue_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  11. init_waitqueue_entry( &wait, current );
  12. ^
  13. In file included from ./include/linux/mmzone.h:10:0,
  14. from ./include/linux/gfp.h:6,
  15. from ./include/linux/slab.h:15,
  16. from /home/sabet/Downloads/CH341SER_LINUX/ch34x.c:21:
  17. ./include/linux/wait.h:79:20: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
  18. static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p)
  19. ^~~~~~~~~~~~~~~~~~~~
  20. /home/sabet/Downloads/CH341SER_LINUX/ch34x.c:574:36: error: passing argument 2 of ‘add_wait_queue’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  21. add_wait_queue( &tty->write_wait, &wait );
  22. ^
  23. In file included from ./include/linux/mmzone.h:10:0,
  24. from ./include/linux/gfp.h:6,
  25. from ./include/linux/slab.h:15,
  26. from /home/sabet/Downloads/CH341SER_LINUX/ch34x.c:21:
  27. ./include/linux/wait.h:150:13: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
  28. extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
  29. ^~~~~~~~~~~~~~
  30. /home/sabet/Downloads/CH341SER_LINUX/ch34x.c:578:5: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
  31. signal_pending(current) || port->serial->disconnected )
  32. ^~~~~~~~~~~~~~
  33. timer_pending
  34. /home/sabet/Downloads/CH341SER_LINUX/ch34x.c:585:39: error: passing argument 2 of ‘remove_wait_queue’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  35. remove_wait_queue( &tty->write_wait, &wait );
  36. ^
  37. In file included from ./include/linux/mmzone.h:10:0,
  38. from ./include/linux/gfp.h:6,
  39. from ./include/linux/slab.h:15,
  40. from /home/sabet/Downloads/CH341SER_LINUX/ch34x.c:21:
  41. ./include/linux/wait.h:152:13: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
  42. extern void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
  43. ^~~~~~~~~~~~~~~~~
  44. /home/sabet/Downloads/CH341SER_LINUX/ch34x.c: In function ‘wait_modem_info’:
  45. /home/sabet/Downloads/CH341SER_LINUX/ch34x.c:756:3: error: implicit declaration of function ‘interruptible_sleep_on’ [-Werror=implicit-function-declaration]
  46. interruptible_sleep_on( &priv->delta_msr_wait );
  47. ^~~~~~~~~~~~~~~~~~~~~~
  48. cc1: some warnings being treated as errors
  49. scripts/Makefile.build:291: recipe for target '/home/sabet/Downloads/CH341SER_LINUX/ch34x.o' failed
  50. make[2]: *** [/home/sabet/Downloads/CH341SER_LINUX/ch34x.o] Error 1
  51. Makefile:1614: recipe for target '_module_/home/sabet/Downloads/CH341SER_LINUX' failed
  52. make[1]: *** [_module_/home/sabet/Downloads/CH341SER_LINUX] Error 2
  53. make[1]: Verzeichnis „/usr/src/linux-headers-5.0.0-37-generic“ wird verlassen
  54. Makefile:5: recipe for target 'default' failed
  55. make: *** [default] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement