Linux or Windows, read and compare!
We are using online programs on OS/2 system.
(OS/2 has problems with new equipments)
Now we decided to replace with a new one. For us it is important to support MOXA serial adapter C320T/PCI.
1)It has been said that Linux more suitable, stable, durable.
We have never used Linux before.
We installed MOXA's serial adapter C320T/PCI under Red Hat 9 according to manual of the equipment.(Red hat is second try after unsuccessful action with Mandriva) But without success. Then asked Moxa Linux support team to help solving the problem. They also could not help. After that I posted this problem in the several linux forums. And followed some member's advice, downloaded kernel-source and built it.
Received error again during MOXA installation:
[root@localhost driver]# make install
gcc -c -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer-pipe -march=i486 -I/usr/src/linux-2.4/include -I/usr/src/linux/include -DMODVERSIONS moxa.c
In file included from moxa.c:36:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from the appropriate kernel package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include (or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running kernel.
In file included from /usr/include/linux/module.h:10,
/usr/include/linux/config.h:5:2: #error Incorrectly using glibc headers for a kernel module
In file included from moxa.c:44:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
moxa.c:46:22: linux/mm.h: No such file or directory
In file included from /usr/include/linux/signal.h:4,
/usr/include/asm/signal.h:107: error: syntax error before "sigset_t"
/usr/include/asm/signal.h:110: error: syntax error before '}' token
In file included from /usr/include/linux/sched.h:14,
/usr/include/linux/timex.h:148: error: field `time' has incomplete type
moxa.c:51:25: linux/timer.h: No such file or directory
In file included from /usr/include/linux/interrupt.h:9,
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers in userspace: atomicity not guaranteed
In file included from moxa.c:52:
/usr/include/linux/interrupt.h:12:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:13:25: asm/softirq.h: No such file or directory
moxa.c:54:28: linux/tty_flip.h: No such file or directory
moxa.c:59:26: linux/string.h: No such file or directory
In file included from moxa.c:63:
/usr/include/linux/tty_driver.h:130: error: field `init_termios' has incompletetype
moxa.c:64:25: linux/delay.h: No such file or directory
In file included from moxa.c:67:
/usr/include/asm/io.h:4:2: warning: #warning <asm/io.h> is deprecated, use <sys/io.h> instead
moxa.c:94:25: asm/uaccess.h: No such file or directory
moxa.c:202: error: field `normal_termios' has incomplete type
moxa.c:203: error: field `callout_termios' has incomplete type
moxa.c:208: error: syntax error before "wait_queue_head_t"
moxa.c:208: warning: no semicolon at end of struct or union
For twenty days I'm trying to install this device.
2) After hardware installation Windows detected the device and installed all nessisary drivers. All ports are operational. I did nothing more.