tag 307982 patch thanks Somehow, the upstream patch was only half-fixed by the package's maintainer in recent uploads to cope with the Debian changes. fork.o should be in the list of files having exported objects.
The attached patch is against the rtai-3.1.0 source package and only takes into account the 2.4.27 patch (since Debian sarge does not offer 2.4.26 etc anymore). Please test! -Malte Cornils, from the BSP in Karlsruhe
diff -Naur rtai-3.1.0.orig/rtai-core/arch/i386/patches/hal16-2.4.27.patch rtai-3.1.0/rtai-core/arch/i386/patches/hal16-2.4.27.patch --- rtai-3.1.0.orig/rtai-core/arch/i386/patches/hal16-2.4.27.patch 2005-05-07 19:09:31.000000000 +0200 +++ rtai-3.1.0/rtai-core/arch/i386/patches/hal16-2.4.27.patch 2005-05-07 19:21:22.000000000 +0200 @@ -4443,7 +4443,7 @@ O_TARGET := kernel.o -export-objs = signal.o sys.o kmod.o context.o ksyms.o pm.o exec_domain.o printk.o fork.o -+export-objs = adeos.o signal.o sys.o kmod.o context.o ksyms.o pm.o exec_domain.o printk.o ++export-objs = adeos.o signal.o sys.o kmod.o context.o ksyms.o pm.o exec_domain.o printk.o fork.o obj-y = sched.o dma.o fork.o exec_domain.o panic.o printk.o \ module.o exit.o itimer.o info.o time.o softirq.o resource.o \