djon@Djon:~/Документы/test/MCS9865_Linux$ make
rm -f *.mod.c *.o *.ko .*.cmd *.symvers
make -C /lib/modules/3.4-9-rtai-686-pae/build/ SUBDIRS=/home/djon/Документы/test/MCS9865_Linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'
CC [M] /home/djon/Документы/test/MCS9865_Linux/mcs9865.o
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘serial9865_start_tx’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:498:35: error: ‘struct uart_port’ has no member named ‘info’
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘check_modem_status’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:611:2: error: ‘struct uart_port’ has no member named ‘info’
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘receive_chars’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:622:35: error: ‘struct uart_port’ has no member named ‘info’
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:629:6: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:629:6: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:703:2: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:703:2: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘transmit_chars’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:711:35: error: ‘struct uart_port’ has no member named ‘info’
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘transmit_chars_dma_stop_done’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:756:36: error: ‘struct uart_port’ has no member named ‘info’
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘transmit_chars_dma_done’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:772:36: error: ‘struct uart_port’ has no member named ‘info’
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘receive_chars_dma_done’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:855:35: error: ‘struct uart_port’ has no member named ‘info’
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘serial9865_handle_port’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:960:33: error: ‘struct uart_port’ has no member named ‘info’
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: At top level:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c

8: warning: type defaults to ‘int’ in declaration of ‘DECLARE_MUTEX’ [-Wimplicit-int]
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c

1: warning: parameter names (without types) in function declaration [enabled by default]
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘serial9865_register_port’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c

8: error: ‘serial9865_sem’ undeclared (first use in this function)
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c

8: note: each undeclared identifier is reported only once for each function it appears in
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘serial9865_remove_one’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c

9: error: ‘serial9865_sem’ undeclared (first use in this function)
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: In function ‘__check_test_mode’:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c

1: warning: return from incompatible pointer type [enabled by default]
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c: At top level:
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c:754:13: warning: ‘transmit_chars_dma_stop_done’ defined but not used [-Wunused-function]
/home/djon/Документы/test/MCS9865_Linux/mcs9865.c

8: warning: ‘DECLARE_MUTEX’ declared ‘static’ but never defined [-Wunused-function]
make[4]: *** [/home/djon/Документы/test/MCS9865_Linux/mcs9865.o] Ошибка 1
make[3]: *** [_module_/home/djon/Документы/test/MCS9865_Linux] Ошибка 2
make[2]: *** [sub-make] Ошибка 2
make[1]: *** [all] Ошибка 2
make[1]: Leaving directory `/usr/src/linux-headers-3.4-9-rtai-686-pae'
make: *** [default] Ошибка 2
djon@Djon:~/Документы/test/MCS9865_Linux$