MOXA card

tig no-reply-gw at fcp.homelinux.org
Fri May 26 20:10:37 UTC 2006


On Fedora Core 5, kernel 2.6.16-1.2122_FC5, attempting to compile the driver from Moxa (version 1.8) fails with:

[code]make[1]: Entering directory `/root/mxser/driver'
make -C /lib/modules/2.6.16-1.2122_FC5/build SUBDIRS=/root/mxser/driver modules
make[2]: Entering directory `/usr/src/kernels/2.6.16-1.2122_FC5-i686'
  CC [M]  /root/mxser/driver/mxser.o
/root/mxser/driver/mxser.c:722: warning: initialization from incompatible pointer type
/root/mxser/driver/mxser.c: In function ‘mxser_init’:
/root/mxser/driver/mxser.c:1035: warning: assignment from incompatible pointer type
/root/mxser/driver/mxser.c: In function ‘mxser_ioctl’:
/root/mxser/driver/mxser.c:1685: warning: implicit declaration of function ‘verify_area’
/root/mxser/driver/mxser.c: In function ‘mxser_receive_chars’:
/root/mxser/driver/mxser.c:2631: error: ‘struct tty_ldisc’ has no member named ‘receive_room’
/root/mxser/driver/mxser.c:2638: error: ‘struct tty_struct’ has no member named ‘flip’
/root/mxser/driver/mxser.c:2639: error: ‘struct tty_struct’ has no member named ‘flip’
/root/mxser/driver/mxser.c:2783: error: ‘struct tty_struct’ has no member named ‘flip’
/root/mxser/driver/mxser.c:2783: error: ‘struct tty_struct’ has no member named ‘flip’
make[3]: *** [/root/mxser/driver/mxser.o] Error 1
make[2]: *** [_module_/root/mxser/driver] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.16-1.2122_FC5-i686'
make[1]: *** [module] Error 2
make[1]: Leaving directory `/root/mxser/driver'
make: *** [mxser] Error 2[/code]

>From what I can gather there was a change to TTY buffering in 2.6.13 that breaks lots of drivers. Has anyone got the driver to compile recently?


-- 
This is an email sent via the webforum on http://fcp.homelinux.org
http://fcp.homelinux.org/modules/newbb/viewtopic.php?post_id=89330&topic_id=19068&forum=28#forumpost89330




More information about the fedora-list mailing list