RTAI4.1 installation for ubuntu 16.04 when i compile kernel 3.10.32 in my ubuntu 16.04(x86-64) following command which i execute:
patch for kernel
cd /usr/src/linux
patch -p1 < /usr/src/rtai/base/arch/x86/patches/hal-linux-3.10.32-x86-5.patch
config
make menuconfig
Set up the kernel settings as follows
Processor type and features
-> Processor family = Select yours
-> Maximum number of CPUs (NR_CPUS) = Set your number (it's generally "4")
-> SMT (Hyperthreading) scheduler support = DISABLE IT
Power Management and ACPI options
CPU idle PM support = DISABLE IT
build
make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-rtai
when "make -j getconf _NPROCESSORS_ONLN
deb-pkg LOCALVERSION=-rtai " was executed:
Error:
/scripts/package/Makefile:90: recipe for target 'deb-pkg' failed
make[1]: * [deb-pkg] Error 1
Makefile:1078: recipe for target 'deb-pkg' failed
make: * [deb-pkg] Error 2