Karp Posted August 18, 2011 Share Posted August 18, 2011 Здравствуйте! Помогите с моей проблемкой. Приобрели преобразователь NPort 5250 и поставили задачу организовать работу COM портов под Linux, так еще и работать с древним RedHat с ядром 2.4.32. Но радует хоть, что по требованиям для компиляции все модули подходят по версиям. Делаю все по Readme, mxinst выполняю с параметром SP1, как я понял это из заметки: !!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE 1!!!!!!!!!!!!!!!!!!!!!!!!!!!! For Red Hat AS/ES/WS and Fedora Core1, extra argument is needed: # /tmp/moxa/mxinst SP1 !!!!!!!!!!!!!!!!!!!!!!!!!!!! NOTE 1!!!!!!!!!!!!!!!!!!!!!!!!!!!! Но дальше этапа компиляции так ничего и не продвинулось. Скачал несколько версий библиотек, одна из последних npreal2_1.17.3_Build_11060916. Вот лог: [root@oficial moxa]# ./mxinst SP1 =============================================================================== Copyright © 2002-2010 Moxa Inc. All Rights Reserved. MOXA NPort Server Real TTY Driver V1.17.3 Installation. System Imformation: Kernel 2.4.32; 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]. n de -I/usr/src/linux/include -DSP1 npreal2.c npreal2.c: In function `npreal_close': npreal2.c:1132: request for member `counter' in something not a structure or union make: *** [modulesp1] Ошибка 1 Check Driver... FAILED !!! Install Not Completed ! Что посоветуете? Помогите чем можете Link to comment
Komantsev Posted August 19, 2011 Share Posted August 19, 2011 Добрый день, А пробовали ли без параметра SP1? Просто [root@oficial moxa]# ./mxinst 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