1

ubuntu 16.04(x86-64) でカーネル 3.10.32 をコンパイルするときの、ubuntu 16.04 用の RTAI4.1 インストール 次のコマンドを実行します:</p>

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 

「make -j getconf _NPROCESSORS_ONLNdeb-pkg LOCALVERSION=-rtai」を実行した場合: エラー:

/scripts/package/Makefile:90: ターゲット 'deb-pkg' のレシピが失敗しました
make[1]: * [deb-pkg] エラー 1
Makefile:1078: ターゲット 'deb-pkg' のレシピが作成に失敗
しました: *
[deb- pkg] エラー 2

4

1 に答える 1