> Try beta13 from ftp.fsmlabs.com
> <ftp://ftp.fsmlabs.com/pub/rtlinux/v2/beta13.tgz>
> 
> you need 2.2.11 
>

Yeah, it is much better.



However when I installed beta13 I found, that the top Makefile
is incorrect. The following patch is suggested:

-------8<------- unified diff follows ---------8<----------
--- /tmp/Makefile       Sat Aug 14 08:44:30 1999
+++ Makefile    Wed Aug 18 11:36:30 1999
@@ -4,7 +4,7 @@
 # (C) Victor Yodaiken. August 1 1998
 # Released under the GPL
 
-LINUX_KERNEL_DIR=linux
+LINUX_KERNEL_DIR=../linux
 
 MOD_DIR=../modules
 ABSPATH := $(shell cd ../; pwd)
@@ -145,7 +145,7 @@
        -mkdir -p $(MOD_INSTDIR)
        -mkdir -p $(MOD_INSTDIR)/misc
        @echo "Instaling modules in" $(MOD_INSTDIR)/misc
-       @for mod in fifos/rtl_fifo.o schedulers/rtl_sched.o schedulers/rtl_time.o; do \
+       for mod in fifos/rtl_fifo.o schedulers/rtl_sched.o schedulers/rtl_time.o 
+system/rtl_posixio.o ; do \
           install -c -m 644 $$mod $(MOD_INSTDIR)/misc; \
        done
        @echo "Installing header" $(INC_INSTDIR)
@@ -158,8 +158,8 @@
        done
        @rm -f $(INC_INSTDIR)/arch
        @ln -s arch-$(ARCH) $(INC_INSTDIR)/arch
-       @ln -s arch-$(ARCH) $(INC_INSTDIR)/linux  # compatibility
-       @ln -s arch-$(ARCH) $(INC_INSTDIR)/asm    # compatibility
+       @-ln -s arch-$(ARCH) $(INC_INSTDIR)/linux  # compatibility
+       @-ln -s arch-$(ARCH) $(INC_INSTDIR)/asm    # compatibility
        @echo
 
 clean:
---------------8<-------------------------8<--------------------

1. When untarring beta13.tgz in /usr/local/src the following hierarchy
is created:
        beta13/
        beta13/rtl/
        ...

beta13/rtl/Makefile incorrectly refers kernel source dir as linux.
The correct path is ../linux.

(I didn't download the 14 MB of merged source tree (beta13full.tgz).
It is possible that there is no extra intermediate directory in it,
and Makefile works there. In that case the two .tgz files are
incompatible.)

This problem exists in beta4 too, and I guess all versions above
have it.


2. "make install" does not care with system/rtl_posixio.o

3. "ln -s arch-$(ARCH) $(INC_INSTDIR)/linux" aborts make. (At least
on my system.)



An other problem is in kernel_patch file:

It sets make varible EXTRAVERSION to "-RTL_BETA13".
This makes fool the Debian package handlers.
May I suggest to use the following characters in the version string?

        - + . 0-9 a-z

Gabor
--- [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/

Reply via email to