./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 !