在FC6 Linux下安装Moxa多串口卡的问题

coffee480 2007-05-25 10:39:17
在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/<driver directory>/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

...全文
425 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
coffee480 2007-05-28
  • 打赏
  • 举报
回复
还有别的解决方法吗????
coffee480 2007-05-28
  • 打赏
  • 举报
回复
晕,用源代码光盘来安装源代码,无法安装上啊
coffee480 2007-05-25
  • 打赏
  • 举报
回复
源码???从网站上下的Moxa多串口卡驱动只有一个mxser.tgz文件,我看了,里面有c文件和makefile文件的呀,你指的是Linux源码吗???
awjx 2007-05-25
  • 打赏
  • 举报
回复
没安装源码吧?
awjx 2007-05-25
  • 打赏
  • 举报
回复
linux源码,
好像如果要安装驱动的话,必须要安装linux源码。

19,613

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧