Help needed on running example

Ke Tang <[email protected]> Sat, 22 Jan 2005 11:01:33 -0600
Newsgroups gmane.linux.real-time.rtlinux.general
Message-ID <[email protected]>
Hello, everyone

I have already installed the rtlinux-3.2-pre3 on RedHat 9.0 sucessfully,
and I am trying to running some examples now....
1. When I run the examples in /examples/hello, I can insert, run and
remove hello.o sucessfully, but when I try to insert posix_hello.o and
sem_hello.o, it shows error information that "couldn't find the kernel
version the module was compiled for". Anybody know the reason?
2. In /examples/fifos, I try to change the posix_fifo.c to do some
test. I want to randomly select some integar to do a matrix
multiplication in the real-time side. It can not be compiled
sucessfully. The error message is as following:
/usr/include/stdlib.h:513: unnamed fields of type other than struct or
union are not allowed
......
Can "#include <stdlib.h>" be used in rtlinux side?

Thanks.

Ke Tang
_______________________________________________
Rtl mailing list
[email protected]
http://www2.fsmlabs.com/mailman/listinfo/rtl