usb3.0在linux下编译网站下载的CH37X_LINUX.ZIP的ch37x.c,编译异常

编译CH37X_LINUX.ZIP的ch37x.c,获得usb3.0的linux驱动,但是编译有问题;



编译环境:

Linux ubuntu 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux



您好,可联系下技术支持发送下具体的编译问题。联系方式已私信。


编译:

gcc -I/usr/src/linux-headers-5.4.0-150-generic/include -I/usr/src/linux-hwe-5.4-headers-5.4.0-150/include -I/usr/src/linux-hwe-5.4-headers-5.4.0-150/arch/arm64/include -I/usr/src/linux-hwe-5.4-headers-5.4.0-150/arch/ia64/include -I/usr/src/linux-hwe-5.4-headers-5.4.0-150/include/uapi -I/usr/src/linux-hwe-5.4-headers-5.4.0-150/arch/arm64/include/uapi -o  ch37x.ko ch37x.c



只有登录才能回复,可以选择微信账号登录