Advertisement
Guest User

Untitled

a guest
Jan 14th, 2020
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.83 KB | None | 0 0
  1. make && sudo make install
  2.  
  3. make -C /lib/modules/5.0.0-37-generic/build M=/home/silas/Downloads/CH341SER_LINUX
  4.  
  5. make[1]: Verzeichnis „/usr/src/linux-headers-5.0.0-37-generic“ wird betreten
  6.  
  7. CC [M] /home/silas/Downloads/CH341SER_LINUX/ch34x.o
  8.  
  9. /home/silas/Downloads/CH341SER_LINUX/ch34x.c: In function ‘ch34x_close’:
  10.  
  11. /home/silas/Downloads/CH341SER_LINUX/ch34x.c:562:2: error: unknown type name ‘wait_queue_t’; did you mean ‘wait_event’?
  12.  
  13. wait_queue_t wait;
  14.  
  15. ^~~~~~~~~~~~
  16.  
  17. wait_event
  18.  
  19. /home/silas/Downloads/CH341SER_LINUX/ch34x.c:573:24: error: passing argument 1 of ‘init_waitqueue_entry’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  20.  
  21. init_waitqueue_entry( &wait, current );
  22.  
  23. ^
  24.  
  25. In file included from ./include/linux/mmzone.h:10:0,
  26.  
  27. from ./include/linux/gfp.h:6,
  28.  
  29. from ./include/linux/slab.h:15,
  30.  
  31. from /home/silas/Downloads/CH341SER_LINUX/ch34x.c:21:
  32.  
  33. ./include/linux/wait.h:79:20: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
  34.  
  35. static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p)
  36.  
  37. ^~~~~~~~~~~~~~~~~~~~
  38.  
  39. /home/silas/Downloads/CH341SER_LINUX/ch34x.c:574:36: error: passing argument 2 of ‘add_wait_queue’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  40.  
  41. add_wait_queue( &tty->write_wait, &wait );
  42.  
  43. ^
  44.  
  45. In file included from ./include/linux/mmzone.h:10:0,
  46.  
  47. from ./include/linux/gfp.h:6,
  48.  
  49. from ./include/linux/slab.h:15,
  50.  
  51. from /home/silas/Downloads/CH341SER_LINUX/ch34x.c:21:
  52.  
  53. ./include/linux/wait.h:150:13: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
  54.  
  55. extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
  56.  
  57. ^~~~~~~~~~~~~~
  58.  
  59. /home/silas/Downloads/CH341SER_LINUX/ch34x.c:578:5: error: implicit declaration of function ‘signal_pending’; did you mean ‘timer_pending’? [-Werror=implicit-function-declaration]
  60.  
  61. signal_pending(current) || port->serial->disconnected )
  62.  
  63. ^~~~~~~~~~~~~~
  64.  
  65. timer_pending
  66.  
  67. /home/silas/Downloads/CH341SER_LINUX/ch34x.c:585:39: error: passing argument 2 of ‘remove_wait_queue’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  68.  
  69. remove_wait_queue( &tty->write_wait, &wait );
  70.  
  71. ^
  72.  
  73. In file included from ./include/linux/mmzone.h:10:0,
  74.  
  75. from ./include/linux/gfp.h:6,
  76.  
  77. from ./include/linux/slab.h:15,
  78.  
  79. from /home/silas/Downloads/CH341SER_LINUX/ch34x.c:21:
  80.  
  81. ./include/linux/wait.h:152:13: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
  82.  
  83. extern void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
  84.  
  85. ^~~~~~~~~~~~~~~~~
  86.  
  87. /home/silas/Downloads/CH341SER_LINUX/ch34x.c: In function ‘wait_modem_info’:
  88.  
  89. /home/silas/Downloads/CH341SER_LINUX/ch34x.c:756:3: error: implicit declaration of function ‘interruptible_sleep_on’ [-Werror=implicit-function-declaration]
  90.  
  91. interruptible_sleep_on( &priv->delta_msr_wait );
  92.  
  93. ^~~~~~~~~~~~~~~~~~~~~~
  94.  
  95. cc1: some warnings being treated as errors
  96.  
  97. scripts/Makefile.build:291: recipe for target '/home/silas/Downloads/CH341SER_LINUX/ch34x.o' failed
  98.  
  99. make[2]: *** [/home/silas/Downloads/CH341SER_LINUX/ch34x.o] Error 1
  100.  
  101. Makefile:1614: recipe for target '_module_/home/silas/Downloads/CH341SER_LINUX' failed
  102.  
  103. make[1]: *** [_module_/home/silas/Downloads/CH341SER_LINUX] Error 2
  104.  
  105. make[1]: Verzeichnis „/usr/src/linux-headers-5.0.0-37-generic“ wird verlassen
  106.  
  107. Makefile:5: recipe for target 'default' failed
  108.  
  109. make: *** [default] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement