Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make && sudo make install
- make -C /lib/modules/5.0.0-37-generic/build M=/home/silas/Downloads/CH341SER_LINUX
- make[1]: Verzeichnis „/usr/src/linux-headers-5.0.0-37-generic“ wird betreten
- CC [M] /home/silas/Downloads/CH341SER_LINUX/ch34x.o
- /home/silas/Downloads/CH341SER_LINUX/ch34x.c: In function ‘ch34x_close’:
- /home/silas/Downloads/CH341SER_LINUX/ch34x.c:562:2: error: unknown type name ‘wait_queue_t’; did you mean ‘wait_event’?
- wait_queue_t wait;
- ^~~~~~~~~~~~
- wait_event
- /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]
- init_waitqueue_entry( &wait, current );
- ^
- In file included from ./include/linux/mmzone.h:10:0,
- from ./include/linux/gfp.h:6,
- from ./include/linux/slab.h:15,
- from /home/silas/Downloads/CH341SER_LINUX/ch34x.c:21:
- ./include/linux/wait.h:79:20: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
- static inline void init_waitqueue_entry(struct wait_queue_entry *wq_entry, struct task_struct *p)
- ^~~~~~~~~~~~~~~~~~~~
- /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]
- add_wait_queue( &tty->write_wait, &wait );
- ^
- In file included from ./include/linux/mmzone.h:10:0,
- from ./include/linux/gfp.h:6,
- from ./include/linux/slab.h:15,
- from /home/silas/Downloads/CH341SER_LINUX/ch34x.c:21:
- ./include/linux/wait.h:150:13: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
- extern void add_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
- ^~~~~~~~~~~~~~
- /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]
- signal_pending(current) || port->serial->disconnected )
- ^~~~~~~~~~~~~~
- timer_pending
- /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]
- remove_wait_queue( &tty->write_wait, &wait );
- ^
- In file included from ./include/linux/mmzone.h:10:0,
- from ./include/linux/gfp.h:6,
- from ./include/linux/slab.h:15,
- from /home/silas/Downloads/CH341SER_LINUX/ch34x.c:21:
- ./include/linux/wait.h:152:13: note: expected ‘struct wait_queue_entry *’ but argument is of type ‘int *’
- extern void remove_wait_queue(struct wait_queue_head *wq_head, struct wait_queue_entry *wq_entry);
- ^~~~~~~~~~~~~~~~~
- /home/silas/Downloads/CH341SER_LINUX/ch34x.c: In function ‘wait_modem_info’:
- /home/silas/Downloads/CH341SER_LINUX/ch34x.c:756:3: error: implicit declaration of function ‘interruptible_sleep_on’ [-Werror=implicit-function-declaration]
- interruptible_sleep_on( &priv->delta_msr_wait );
- ^~~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- scripts/Makefile.build:291: recipe for target '/home/silas/Downloads/CH341SER_LINUX/ch34x.o' failed
- make[2]: *** [/home/silas/Downloads/CH341SER_LINUX/ch34x.o] Error 1
- Makefile:1614: recipe for target '_module_/home/silas/Downloads/CH341SER_LINUX' failed
- make[1]: *** [_module_/home/silas/Downloads/CH341SER_LINUX] Error 2
- make[1]: Verzeichnis „/usr/src/linux-headers-5.0.0-37-generic“ wird verlassen
- Makefile:5: recipe for target 'default' failed
- make: *** [default] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement