Hi Tomek,
Many thanks for the help. It worked right after following yours pointers.
Now I'm entering second episode of testing it. Having compiled "hello", I
proceeded to testing it by typing #make test, and here are the message I
got:
--- snip --
rmmod: module sound not loaded
make: [test] Error 1 (ignored)
rmmod: module rt_process not loaded
make: [test] Error 1 (ignored)
rmmod: module frank_module not loaded
make: [test] Error 1 (ignored)
rmmod: module rtl_fifo not loaded
rmmod: module rtl_posixio not loaded
rmmod: module rtl_sched not loaded
rmmod: module rtl_time not loaded
schedulers/rtl_time.o: kernel-module version mismatch
schedulers/rtl_time.o was compiled for kernel version 2.2.13-RTL2.0
while this kernel is version 2.2.12-20.
schedulers/rtl_sched.o: kernel-module version mismatch
schedulers/rtl_sched.o was compiled for kernel version 2.2.13-RTL2.0
while this kernel is version 2.2.12-20.
system/rtl_posixio.o: kernel-module version mismatch
system/rtl_posixio.o was compiled for kernel version 2.2.13-RTL2.0
while this kernel is version 2.2.12-20.
fifos/rtl_fifo.o: kernel-module version mismatch
fifos/rtl_fifo.o was compiled for kernel version 2.2.13-RTL2.0
while this kernel is version 2.2.12-20.
hello.o: kernel-module version mismatch
hello.o was compiled for kernel version 2.2.13-RTL2.0
while this kernel is version 2.2.12-20.
make: *** [test] Error 1
--- end ---
I'm running on redhat 6.1, kernel 2.2.12-20. But according to messages above
that those programs were compiled for kernel 2.2.13. Does this mean that I
need to run another patch which to fool realtime compiler to treat 2.2.12 as
2.2.13 ? This is just my theory, it may be wrong.
Anyway, the other solution is to upgrade kernel to 2.2.13 right ?
Has anyone encoutered this before. Hope someone out there would kindly
provide some pointers.
Appreciate any suggestions or ideas.
Thanks in advance.
Rgds,
Nixien
-----Original Message-----
From: Tomasz Motylewski [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 09, 1999 9:10 PM
To: nixien
Cc: RTLinux
Subject: Re: [rtl] newbie needs help after installation
On Tue, 9 Nov 1999, nixien wrote:
> cpp: /usr/src/linux-2.2.12/rtlinux-2.0/linux/include/linux/modversions.h:
No
> such file or directory
Or may be you have forgotten to make a symlink from
/usr/src/linux-2.2.12/rtlinux-2.0/linux to /usr/src/linux-2.2.12 ?
I remember I had the same problem - the parent directory of rtl needs to
have
linux kernel sources directory, or a symlink "linux" pointing to the
sources.
I think that in the distributed .tar.gz there should be a symlink pointing
to
/usr/src/linux as this is the most standard location.
Just do
cd /usr/src/linux-2.2.12/rtlinux-2.0/
ln -s /usr/src/linux-2.2.12 linux
(if /usr/src/linux-2.2.12 is your patched RT Linux kernel)
--
Tomek
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/