安装moxa的串口服务器出现如下问题咋办?
Tofloor
poster avatar
lxfsky
deepin
2015-06-04 00:52
Author
想安装一个moxa的Nport5110,结果安装的时候出现如下错误::请高手帮忙看看,安装文件见附件!
In file included from /home/lxf/tmp/moxa/npreal2.c:57:0:
include/linux/tty_flip.h:17:19: note: expected ‘struct tty_port *’ but argument is of type ‘struct tty_struct *’
static inline int tty_insert_flip_char(struct tty_port *port,
                   ^
/home/lxf/tmp/moxa/npreal2.c: In function ‘npreal_do_session_recovery’:
/home/lxf/tmp/moxa/npreal2.c:4571:22: error: incompatible types when assigning to type ‘struct ktermios *’ from type ‘struct ktermios’
         if (!(termio = info->tty->termios))
                      ^
cc1: some warnings being treated as errors
make[2]: *** [/home/lxf/tmp/moxa/npreal2.o] 错误 1
make[1]: *** [_module_/home/lxf/tmp/moxa] 错误 2
make[1]:正在离开目录 `/usr/src/linux-headers-3.13.0-49-generic'
make: *** [module] 错误 2
Check Driver...
FAILED !!!

Install Not Completed !



Reply Favorite View the author
All Replies
cxbii
deepin
2015-06-04 03:41
#1
没安装过你说的东西。。
Reply View the author
lxfsky
deepin
2015-06-09 00:35
#2
在debian上安装就没有问题
Reply View the author
New Thread

Popular Ranking

Change

Popular Events

More
国际排名
WHLUG