specar
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Posts posted by specar
-
-
возможно копипаст UVNC viewer в винду
-
на новых драйверах, листинг на английском
root@scada:/home/specar/kernel3.1# ./mxinst m64 =============================================================================== Copyright (C) 2002-2015 Moxa Inc. All Rights Reserved. MOXA NPort Server Real TTY Driver Ver1.18.65 Installation. System Information: Kernel 3.16.0-4-amd64; Machine x86_64. =============================================================================== Building driver... If you want to use secure communication with target, you might choose [y] to enable the SSL function. Note: This function support RealCOM with secure mode only. Do you want to enable secure function? [y/N]. n make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=/home/specar/kernel3.1 modules make[1]: Entering directory '/lib/modules/3.16.0-4-amd64/build' CC [M] /home/specar/kernel3.1/npreal2.o /home/specar/kernel3.1/npreal2.c: In function вЂnpreal_net_write’: /home/specar/kernel3.1/npreal2.c:3674:2: warning: ignoring return value of вЂcopy_from_user’, declared with attribute warn_unused_result [-Wunused-result] copy_from_user(k_buf, buf, count); ^ /bin/sh: 1: ./scripts/recordmcount: not found scripts/Makefile.build:263: recipe for target '/home/specar/kernel3.1/npreal2.o' failed make[2]: *** [/home/specar/kernel3.1/npreal2.o] Error 127 Makefile:1354: recipe for target '_module_/home/specar/kernel3.1' failed make[1]: *** [_module_/home/specar/kernel3.1] Error 2 make[1]: Leaving directory '/lib/modules/3.16.0-4-amd64/build' Makefile:63: recipe for target 'module' failed make: *** [module] Error 2 Check Driver... FAILED !!! Install Not Completed !
-
Всем доброго дня,
проблема при установке драйверов вирт. порта вышла
вроде все по инструкции делал
root@scada:/home/specar/moxa# uname -a Linux scada 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux
по инструкции устанавливалapt-get source linux-image-$(uname -r) make oldconfig && make prepare
также установил gcc, libc, binutils, make, gawk
root@scada:/home/specar/kernel3.x# ./mxinst m64 =============================================================================== Copyright (C) 2002-2015 Moxa Inc. All Rights Reserved. MOXA NPort Server Real TTY Driver Ver1.18.59 Installation. System Information: Kernel 3.16.0-4-amd64; Machine x86_64. =============================================================================== Tar files, please wait ... OK! Building driver... If you want to use secure communication with target, you might choose [y] to enable the SSL function. Note: This function support RealCOM with secure mode only. Do you want to enable secure function? [y/N]. n make -C /lib/modules/3.16.0-4-amd64/build SUBDIRS=/home/specar/kernel3.x modules make[1]: вход в каталог «/lib/modules/3.16.0-4-amd64/build» CC [M] /home/specar/kernel3.x/npreal2.o /home/specar/kernel3.x/npreal2.c: In function ‘npreal_net_write’: /home/specar/kernel3.x/npreal2.c:3675:2: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result [-Wunused-result] copy_from_user(k_buf, buf, count); ^ /bin/sh: 1: ./scripts/recordmcount: not found scripts/Makefile.build:263: Ошибка выполнения рецепта для цели «/home/specar/kernel3.x/npreal2.o» make[2]: *** [/home/specar/kernel3.x/npreal2.o] Ошибка 127 Makefile:1354: Ошибка выполнения рецепта для цели «_module_/home/specar/kernel3.x» make[1]: *** [_module_/home/specar/kernel3.x] Ошибка 2 make[1]: Выход из каталога «/lib/modules/3.16.0-4-amd64/build» Makefile:63: Ошибка выполнения рецепта для цели «module» make: *** [module] Ошибка 2 Check Driver... FAILED !!!
Install Not Completed !
Подскажите если нетрудно в чем проблема.
Установка Real TTY Driver в Debian
in Преобразователи RS-232/422/485 в Ethernet
Posted
перевел в сокеты, пока так работаю.