frofis Posted September 25, 2023 Share Posted September 25, 2023 Приветствую! Не подскажите где взять дравера для ядра 4.0.24 и 5.15 Link to comment
Ivan B. Posted September 25, 2023 Share Posted September 25, 2023 Добрый день! Актуальные релизы драйверов для Linux 4 и 5 можно скачать ниже по ссылкам https://moxa.ru/files/drivers_utilities_4/moxa-real-tty-linux-kernel-4_x-drivers-v4_2.tgz https://moxa.ru/files/drivers_utilities_4/moxa-real-tty-linux-kernel-5_x-driver-v5_2.tgz Link to comment
frofis Posted September 25, 2023 Author Share Posted September 25, 2023 Спасибо большое Link to comment
frofis Posted September 25, 2023 Author Share Posted September 25, 2023 KCPPFLAGS="" make -C /lib/modules/4.2.0-24-generic/build M=/9/moxa EXTRA_CFLAGS=" -DNP_TIMEOUT=''" modules make[1]: Entering directory `/usr/src/linux-headers-4.2.0-24-generic' CC [M] /9/moxa/npreal2.o /9/moxa/npreal2.c:99:8: warning: "DIST_ID" is not defined [-Wundef] /9/moxa/npreal2.c:109:8: warning: "DIST_ID" is not defined [-Wundef] /9/moxa/npreal2.c:161:8: warning: "DIST_ID" is not defined [-Wundef] /9/moxa/npreal2.c: In function ‘npreal_disconnect’: /9/moxa/npreal2.c:788:4: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c:802:5: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_flush_buffer’: /9/moxa/npreal2.c:1329:19: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_startup’: /9/moxa/npreal2.c:1965:5: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c:1981:6: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c:2029:6: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c:2101:21: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_port_init’: /9/moxa/npreal2.c:2463:24: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c:2534:22: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c:2580:22: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_port_shutdown’: /9/moxa/npreal2.c:2650:25: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c:2664:26: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_set_serial_info’: /9/moxa/npreal2.c:2998:6: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_start_break’: /9/moxa/npreal2.c:3047:25: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_stop_break’: /9/moxa/npreal2.c:3071:24: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_wait_and_set_command’: /9/moxa/npreal2.c:4149:17: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_linectrl’: /9/moxa/npreal2.c:4730:22: error: invalid type argument of unary ‘*’ (have ‘int’) /9/moxa/npreal2.c: In function ‘npreal_setxon_xoff’: /9/moxa/npreal2.c:4767:8: error: invalid type argument of unary ‘*’ (have ‘int’) make[2]: *** [/9/moxa/npreal2.o] Ошибка 1 make[1]: *** [_module_/9/moxa] Ошибка 2 make[1]: Leaving directory `/usr/src/linux-headers-4.2.0-24-generic' make: *** [module] Ошибка 2 Вот такое выдает Link to comment
Roman_S Posted September 26, 2023 Share Posted September 26, 2023 Добрый день! Уточните, есть ли у вас в системе все необходимые пакеты, указанные в 3 пункте файла readme из архива драйвера? В частности, следует обратить внимание на gcc и исходники ядра: 3. System Requirement To install this driver, you will need NPort Server and one of the following system. - kernel 3.0 or above and the kernel source package - gcc-2.7.2.1 or above - ld.so-1.7.14 or above - libc.so-5 or above - binutils-2.7.0 or above - make-3.74 or above - gunzip-1.2.4 or above - gawk-3.1.1.9 or above - openssl-1.0.0 or above (For Secure Real COM Mode only) - libssl-dev-1.0.0 or above (For Secure Real COM Mode only) Link to comment
frofis Posted September 26, 2023 Author Share Posted September 26, 2023 Приветствую. Это я дебил - все собирается. Спасибо Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now