Makefile Silab USB到UART Debian构建错误

Makefile Silab USB到UART Debian构建错误,makefile,serial-port,usb,installation,uart,Makefile,Serial Port,Usb,Installation,Uart,我在为我的Silabs USB到UART网桥安装驱动程序时遇到问题 我从这里下载我的驱动程序: 我正在运行Ubuntu12.04 32位内核Linux 3.5.0-27-generic 说明中说,make(您的cp2010x驱动程序) 我是Linux新手。我已经在谷歌上搜索了很多错误,但我找不到任何有效的答案。据报道,这些驱动程序实际上从2009年3月起就已经成为内核的一部分。您可以在drivers/usb/serial/cp210x.c(到内核最新稳定版本的文件)上看到该文件。我也是,有人可

我在为我的Silabs USB到UART网桥安装驱动程序时遇到问题

我从这里下载我的驱动程序:

我正在运行Ubuntu12.04 32位内核Linux 3.5.0-27-generic

说明中说,make(您的cp2010x驱动程序)


我是Linux新手。我已经在谷歌上搜索了很多错误,但我找不到任何有效的答案。

据报道,这些驱动程序实际上从2009年3月起就已经成为内核的一部分。您可以在drivers/usb/serial/cp210x.c(到内核最新稳定版本的文件)上看到该文件。

我也是,有人可以帮忙吗?
cp cp2010x.ko to /libmodules/<kernel>/kernel/driver/usb/serial
insmod /libmodules/<kernel>/kernel/driver/usb/serial/usbserial.ko
insmod xp2010x.ko
root@grace:/home/admin/Desktop/usb# make
make -C /lib/modules/3.5.0-27-generic/build M=/home/admin/Desktop/usb modules
make[1]: Entering directory `/usr/src/linux-headers-3.5.0-27-generic'
  CC [M]  /home/admin/Desktop/usb/cp210x.o
/home/admin/Desktop/usb/cp210x.c:164:12: error: ‘usb_serial_probe’ undeclared here (not in a function)
/home/admin/Desktop/usb/cp210x.c:165:16: error: ‘usb_serial_disconnect’ undeclared here (not in a function)
/home/admin/Desktop/usb/cp210x.c: In function ‘cp210x_init’:
/home/admin/Desktop/usb/cp210x.c:989:2: error: implicit declaration of function ‘usb_serial_register’ [-Werror=implicit-function-declaration]
/home/admin/Desktop/usb/cp210x.c:996:3: error: implicit declaration of function ‘usb_serial_deregister’ [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[2]: *** [/home/admin/Desktop/usb/cp210x.o] Error 1
make[1]: *** [_module_/home/admin/Desktop/usb] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-27-generic'
make: *** [all] Error 2