登录
首页 现场总线
回帖 发帖
正文

主题:Linux下安装moxa多串口卡的问题

点击:2607 回复:2

在FC6 Linux操作系统安装Moxa多串口卡(型号:cp-104UL v2)时碰到以下问题:
按照厂商所提供的以下安装方法进行安装,当执行到步骤2的make clean; make install时,系统提示以下错误,无法安装成功:
make[1]: Entering directory `/moxa/mxser/driver'
make -C /lib/modules/2.6.18-1.2798.fc6xen/build SUBDIRS=/moxa/mxser/driver modules
make: Entering an unknown directory
make: *** /lib/modules/2.6.18-1.2798.fc6xen/build: 没有那个文件或目录。 停止。
make: Leaving an unknown directory
make[1]: *** [module] 错误 2
make[1]: Leaving directory `/moxa/mxser/driver'
make: *** [driver_install] 错误 2
请问该如何解决此问题?
厂商提供的安装方法如下:
Linux Driver Installation                                      
1. Execute the following commands from the Linux prompt:
  #mount /dev/cdrom /mnt/cdrom                                
  #cd /                                                        
  #mkdir moxa                                                  
  #cd moxa                                                      
  #cp /mnt/cdrom//mxser.tgz .
                                                               
  #tar xvfz mxser.tgz
                                                               
2. #cd mxser                                                    
  #make clean; make install
3. #cd /moxa/mxser/driver
  #./msmknod
4. #modprobe mxser
5. Use the Moxa diagnostic utility to verify the driver status:
  #cd /moxa/mxser/utility/diag
  #./msdiag
6. Use the Moxa terminal utility to test the tty ports:
  #cd /moxa/mxser/utility/term
  #./msterm
07-05-24 17:30
1楼
该帖内容不符合相关规定!
08-11-20 20:19
呵呵。。。。。。
10-03-06 07:36

工控新闻

更多新闻资讯