发表于:2007/5/24 17:30:00
#0楼
在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
按照厂商所提供的以下安装方法进行安装,当执行到步骤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