完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
make -C /lib/modules/5.15.32-v8+/build M=/home/pi/Downloads/LINUX
make[1]: Entering directory '/usr/src/linux-headers-5.15.32-v8+' CC [M] /home/pi/Downloads/LINUX/ch9344.o /home/pi/Downloads/LINUX/ch9344.c:2183:16:error: initialization of ‘unsigned int (*)(struct tty_struct *)’ from incompatible pointer type ‘int (*)(struct tty_struct *)’ [-Werror=incompatible-pointer-types] 2183 | .write_room = ch9344_tty_write_room, | ^~~~~~~~~~~~~~~~~~~~~ /home/pi/Downloads/LINUX/ch9344.c:2183:16:note: (near initialization for ‘ch9344_ops.write_room’) /home/pi/Downloads/LINUX/ch9344.c:2185:21:error: initialization of ‘unsigned int (*)(struct tty_struct *)’ from incompatible pointer type ‘int (*)(struct tty_struct *)’ [-Werror=incompatible-pointer-types] 2185 | .chars_in_buffer = ch9344_tty_chars_in_buffer, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pi/Downloads/LINUX/ch9344.c:2185:21:note: (near initialization for ‘ch9344_ops.chars_in_buffer’) /home/pi/Downloads/LINUX/ch9344.c: In function ‘ch9344_init’: /home/pi/Downloads/LINUX/ch9344.c:2200:22:error: implicit declaration of function ‘alloc_tty_driver’ [-Werror=implicit-function-declaration] 2200 | ch9344_tty_driver = alloc_tty_driver(CH9344_TTY_MINORS); | ^~~~~~~~~~~~~~~~ /home/pi/Downloads/LINUX/ch9344.c:2200:20:warning: assignment to ‘struct tty_driver *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 2200 | ch9344_tty_driver = alloc_tty_driver(CH9344_TTY_MINORS); | ^ /home/pi/Downloads/LINUX/ch9344.c:2217:3:error: implicit declaration of function ‘put_tty_driver’ [-Werror=implicit-function-declaration] 2217 | put_tty_driver(ch9344_tty_driver); | ^~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[2]: *** [scripts/Makefile.build:277: /home/pi/Downloads/LINUX/ch9344.o] Error 1 make[1]: *** [Makefile:1868: /home/pi/Downloads/LINUX] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.15.32-v8+' make: *** [Makefile:5: default] Error 2 |
|
相关推荐
1 条评论
3个回答
|
|
您好,5.13及以上版本的CH9344 Linux驱动已更新
|
|
|
|
5.13以上版本 的驱动,请问从哪里下载呢?
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
432 浏览 1 评论
CH579M+RT-Thread,RTC从Sleep模式唤醒失败是什么原因?
2844 浏览 2 评论
2338 浏览 1 评论
777浏览 2评论
CH565W以太网,是必须有SKCKET中断才能发送数据吗?
406浏览 1评论
318浏览 1评论
用DVP采集图像,用UDP传给PC端,采集两帧后图像报错是什么原因?
454浏览 1评论
CH569通过HSPI实现USB3.0和FPGA高速双向通讯
594浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-5 12:19 , Processed in 1.201099 second(s), Total 94, Slave 73 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号