RH AS3. Driver problem
So...
i'm using RH AS3 taroon update 3..
kernell is 2.4.21-47.EL
i have some problem with installing drivers for 485 serial interface board...
i've istalled it many times...but several days ago...our administrator had changed version of linux..
and now...when i compile driver...it doesn't want to include system kernell headers..
for example...
===
In file included from mxser.c:50:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
In file included from /usr/include/linux/signal.h:4,
from mxser.c:52:
/usr/include/asm/signal.h:107: syntax error before "sigset_t"
/usr/include/asm/signal.h:110: syntax error before '}' token
In file included from /usr/include/linux/sched.h:14,
from mxser.c:53:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from mxser.c:53:
/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
========
[11:38:20] <ehot> and so on...
|