Jump to content
Форум по продукции MOXA

sam

Пользователи
  • Posts

    5
  • Joined

  • Last visited

sam's Achievements

Новичок

Новичок (1/5)

0

Reputation

  1. ./mxinst =============================================================================== Copyright © 2002-2010 Moxa Inc. All Rights Reserved. MOXA NPort Server Real TTY Driver V1.17.9 Installation. System Imformation: Kernel 3.0.0-15-generic; Machine i686. =============================================================================== 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]. y make -C /lib/modules/3.0.0-15-generic/build SUBDIRS=/home/sam/Загрузки/tmp/moxa modules make[1]: Вход в каталог `/usr/src/linux-headers-3.0.0-15-generic' Building modules, stage 2. MODPOST 1 modules make[1]: Выход из каталога `/usr/src/linux-headers-3.0.0-15-generic' cp -p npreal2.ko /lib/modules/3.0.0-15-generic/kernel/drivers/char/ depmod -a cc -c -DSSL_ON -DOPENSSL_NO_KRB5 npreal2d.c -I/home/sam/Загрузки/tmp/moxa/include npreal2d.c: В функции «moxattyd_change_config»: npreal2d.c:1713:3: предупреждение: format «%s» expects argument of type «char *», but argument 2 has type «char (*)[40]» [-Wformat] npreal2d.c:1714:3: предупреждение: format «%s» expects argument of type «char *», but argument 2 has type «char (*)[160]» [-Wformat] npreal2d.c:1715:3: предупреждение: format «%s» expects argument of type «char *», but argument 2 has type «char (*)[160]» [-Wformat] npreal2d.c:1721:3: предупреждение: format «%s» expects argument of type «char *», but argument 3 has type «char (*)[160]» [-Wformat] npreal2d.c:1724:7: предупреждение: format «%s» expects argument of type «char *», but argument 3 has type «char (*)[160]» [-Wformat] npreal2d.c:1724:7: предупреждение: format «%s» expects argument of type «char *», but argument 4 has type «char (*)[160]» [-Wformat] npreal2d.c:1728:3: предупреждение: format «%s» expects argument of type «char *», but argument 3 has type «char (*)[160]» [-Wformat] npreal2d.c:1731:7: предупреждение: format «%s» expects argument of type «char *», but argument 3 has type «char (*)[160]» [-Wformat] npreal2d.c:1731:7: предупреждение: format «%s» expects argument of type «char *», but argument 4 has type «char (*)[160]» [-Wformat] cc npreal2d.o -o npreal2d libssl.so strip npreal2d cc -lpthread redund_main.o redund.o -o npreal2d_redund redund.o: In function `do_redund_reconnect': redund.c:(.text+0x5a60): undefined reference to `pthread_create' redund.c:(.text+0x5a74): undefined reference to `pthread_detach' redund.c:(.text+0x5b31): undefined reference to `pthread_create' redund.c:(.text+0x5b45): undefined reference to `pthread_detach' collect2: выполнение ld завершилось с кодом возврата 1 make: *** [npreal2d_redund] Ошибка 1 Check Driver... FAILED !!! Install Not Completed !
  2. Рано радовался. Скомпелировались успешно. Порт добавился. Но при обращении к порту система рушится.
  3. Прокатило.. работает. Тему можно удалить)
  4. Сам спросил сам нашел http://www.moxa.ru/forum/index.php?showtopic=1732&st=0&p=6376&hl=ubuntu&fromsearch=1&&do=findComment&comment=6376 буду пробовать. О результате отпишу.
  5. Ядро 3.0.0-15-generic #26-Ubuntu SMP Fri Jan 20 15:59:53 UTC 2012 i686 i686 i386 GNU/Linux не удается собрать драйвера npreal2_1.17_Build_11011413 ./mxinst =============================================================================== Copyright © 2002-2010 Moxa Inc. All Rights Reserved. MOXA NPort Server Real TTY Driver V1.17.3 Installation. System Imformation: Kernel 3.0.0-15-generic; Machine i686. =============================================================================== 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]. y ln: создание символьной ссылки «libssl.so»: Файл существует cc -DLINUX -c -DMODVERSIONS -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -march=i486 -I/usr/src/linux-3.0.0-15-generic/include -I/usr/src/linux-2.4/include -I/usr/src/linux/include -D__SMP__ npreal2.c npreal2.c:40:31: фатальная ошибка: linux/modversions.h: Нет такого файла или каталога компиляция прервана. make: *** [module] Ошибка 1 Check Driver... FAILED !!! Install Not Completed ! Как быть? Думаю решение будет полезно всем на базе debian под новое ядро.
×
×
  • Create New...