[Rtai] RTAI 3.7 on Ubuntu 8.10

Paolo Mantegazza mantegazza at aero.polimi.it
Fri Apr 17 15:04:53 CEST 2009


To be more precise I should have written:
"Well you should first tell me why you are patching 2.6.28 with a patch 
for 2.6.28.7," ... and "why you went on making the kernel despite 
messages showing hunks that failed to apply".

Paolo.

Ramon wrote:
> Hi
> 
> I found the following problem when compiling.
> 
> CC      mm/mincore.o
>  CC      mm/mlock.o
>  CC      mm/mmap.o
>  CC      mm/mprotect.o
>  CC      mm/mremap.o
>  CC      mm/msync.o
>  CC      mm/rmap.o
>  CC      mm/vmalloc.o
> mm/vmalloc.c: In function ?vmap_page_range?:
> mm/vmalloc.c:175: error: ?start? undeclared (first use in this function)
> mm/vmalloc.c:175: error: (Each undeclared identifier is reported only once
> mm/vmalloc.c:175: error: for each function it appears in.)
> make[2]: *** [mm/vmalloc.o] Error 1
> make[1]: *** [mm] Error 2
> make[1]: Leaving directory `/usr/src/RTAI-3.7_2.6.28/linux-2.6.28'
> make: *** [debian/stamp-build-kernel] Error 2
> 
> 
> 
> I started from the initial Ubuntu 8.10 configuration.
> And I followed these steps :
> 
> 
> apt-get update
> apt-get install patch libncurses5-dev kernel-package libc6-dev
> cd /usr/src
> mkdir RTAI-3.7_2.6.28
> cd RTAI-3.7_2.6.28/
> cp /home/costa/Desktop/RTAI/linux-2.6.28.tar.gz .
> cp /home/costa/Desktop/RTAI/rtai-3.7.tar.bz2 .
> tar -xvf linux-2.6.28.tar.gz
> tar -xvf rtai-3.7.tar.bz2
> cd /usr/src
> ln -snf RTAI-3.7_2.6.28/linux-2.6.28 linux
> ln -snf RTAI-3.7_2.6.28/rtai-3.7 rtai
> cd linux
> patch  -p1 -b < 
> /usr/src/rtai/base/arch/x86/patches/hal-linux-2.6.28.7-x86-2.2.06.patch
> cp /boot/config-2.6.27-7-generic ./.config
> make oldconfig
> make menuconfig
> 
> #######################################################
>  >>Enable loadable module support
>   >> Module versioning support : off
>  >>Processor type and features
>   >> Subarchitecture Type : PC-compatible
>   >> Processor family : 386
>   >> Multi-core scheduler support : off
>   >> Preemption model : Preemptible kernel (Low-Latency Desktop)
>   >> Interrupt pipeline : on
>   >> High memory support : off
>   >> Maximun number of CPUs : 16
>  >>Power Management and ACPI options
>   >> Power Management Support : off
>  >>Kernel hacking
>   >> Kernel debugging : off
> #######################################################
> 
> 
> make-kpkg clean
> make-kpkg --rootcmd fakeroot --append-to-version -rtai-3.7 --revision r1 
> --initrd kernel_image kernel_headers
> 
> 
> 
> 
> 
> Does  anyone any idea about what's wrong ?  (should I disable additional 
> kernel modules ?)
> 
> best wishes,
> Ramon
> 
> _______________________________________________
> Rtai mailing list
> Rtai at rtai.org
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
> 



More information about the Rtai mailing list