Results 1 to 2 of 2
My computer has Debian 5.0.4 (with kernel linux-2.6.26-2-AMD) installed. Processor is AMD64 athlon dual-core CPU.
I am trying to install RTLinux-3.2-wr. Below is what I did:
1) download a clean ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-27-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
Intall RTLinux-3.2-wr on Debian 5.0.4
My computer has Debian 5.0.4 (with kernel linux-2.6.26-2-AMD) installed. Processor is AMD64 athlon dual-core CPU.
I am trying to install RTLinux-3.2-wr. Below is what I did:
1) download a clean kernel : linux-2.6.26.8.tar.gz and patch : patch-2.6.26.8-rt16.gz
2) configure and build the kernel with the patch applied
3) reboot with the new kernel
"uname -r" shows "2.6.26.8-rt16"
4) download and unpack RTLinux-3.2-wr.tar.bz2 into /usr/src/rtlinux-3.2-wr, the execute the following commands:
cd /usr/src/rtlinux-3.2-wr
make menuconfig
I get an error message "Makefile: 66: schedulers/x86/Makefile: No such file or directory", which is caused by line 66 "include schedulers/$(ARCH)/Makefile" in file /usr/src/rtlinux-3.2-wr/Makefile.
When I go to directory "/usr/src/rtlinux-3.2-wr/schedulers", I find that there is no "x86" subfolder. The existing four subfolders are "alpha", "i386", "ppc" and "mips" respectively.
What should I do to "make menuconfig" successfully? Thanks.
- 07-29-2010 #2Just Joined!
- Join Date
- Jul 2010
- Posts
- 2
After replacing x86 with i386 in /usr/src/rtlinux-3.2-wr/Makefile, 'make menuconfig' succeeds.
However, when I try to run 'make dep' command, I get another error:
rm -f .depend
make .depend
make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[3]: *** [silentoldconfig] Error 1
make[2]: *** [silentoldconfig] Error 2
make[1]: Entering directory '/usr/src/rtlinux-3.2-wr'
gcc -Wall -02 -o scripts/mkdep scripts/mkdep.c
Kernel version
/bin/sh: -c: line 3: syntax error near unexpected token 'fi'
/bin/sh: -c: line 3: 'fi'
make[1]: *** [.depend] Error 2
make[1]: Leaving directory '/usr/src/rtlinux-3.2-wr'
make: *** [dep] Error 2


Reply With Quote
