morgan morgan-laptop sudo su root morgan-laptop home morgan cd usr src

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
morgan@morgan-laptop:~$ sudo su
root@morgan-laptop:/home/morgan# cd /usr/src/linuxdriveronda1.0.1
root@morgan-laptop:/usr/src/linuxdriveronda1.0.1# make
make -C /lib/modules/2.6.27-7-generic/build M=/usr/src/linuxdriveronda1.0.1 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
CC [M] /usr/src/linuxdriveronda1.0.1/onda.o
/usr/src/linuxdriveronda1.0.1/onda.c:179: error: unknown field тАШnum_interrupt_inтАЩ specified in initializer
/usr/src/linuxdriveronda1.0.1/onda.c:179: error: тАШNUM_DONT_CAREтАЩ undeclared here (not in a function)
/usr/src/linuxdriveronda1.0.1/onda.c:180: error: unknown field тАШnum_bulk_inтАЩ specified in initializer
/usr/src/linuxdriveronda1.0.1/onda.c:181: error: unknown field тАШnum_bulk_outтАЩ specified in initializer
/usr/src/linuxdriveronda1.0.1/onda.c:183: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:184: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:185: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:186: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:187: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:188: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:189: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:190: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:191: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:192: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:193: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c:194: warning: initialization from incompatible pointer type
/usr/src/linuxdriveronda1.0.1/onda.c: In function тАШonda_indat_callbackтАЩ:
/usr/src/linuxdriveronda1.0.1/onda.c:419: error: тАШstruct usb_serial_portтАЩ has no member named тАШttyтАЩ
/usr/src/linuxdriveronda1.0.1/onda.c:429: error: тАШstruct usb_serial_portтАЩ has no member named тАШopen_countтАЩ
/usr/src/linuxdriveronda1.0.1/onda.c: In function тАШonda_instat_callbackтАЩ:
/usr/src/linuxdriveronda1.0.1/onda.c:483: error: тАШstruct usb_serial_portтАЩ has no member named тАШttyтАЩ
/usr/src/linuxdriveronda1.0.1/onda.c:483: error: тАШstruct usb_serial_portтАЩ has no member named тАШttyтАЩ
/usr/src/linuxdriveronda1.0.1/onda.c:485: error: тАШstruct usb_serial_portтАЩ has no member named тАШttyтАЩ
/usr/src/linuxdriveronda1.0.1/onda.c: In function тАШonda_openтАЩ:
/usr/src/linuxdriveronda1.0.1/onda.c:590: error: тАШstruct usb_serial_portтАЩ has no member named тАШttyтАЩ
/usr/src/linuxdriveronda1.0.1/onda.c: In function тАШonda_closeтАЩ:
/usr/src/linuxdriveronda1.0.1/onda.c:624: error: тАШstruct usb_serial_portтАЩ has no member named тАШttyтАЩ
/usr/src/linuxdriveronda1.0.1/onda.c: In function тАШonda_send_setupтАЩ:
/usr/src/linuxdriveronda1.0.1/onda.c:692: error: тАШstruct usb_serial_portтАЩ has no member named тАШttyтАЩ
make[2]: *** [/usr/src/linuxdriveronda1.0.1/onda.o] Error 1
make[1]: *** [_module_/usr/src/linuxdriveronda1.0.1] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Error 2
root@morgan-laptop:/usr/src/linuxdriveronda1.0.1# sh install.sh
cp: cannot stat `onda.ko': No such file or directory
WARNING: Module /lib/modules/2.6.27-7-generic/kernel/drivers/usb/serial/onda.ko is not an elf object
root@morgan-laptop:/usr/src/linuxdriveronda1.0.1#