首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >RTAY4.1 linux内核3.10.32目标“deb-pkg”失败配方

RTAY4.1 linux内核3.10.32目标“deb-pkg”失败配方
EN

Stack Overflow用户
提问于 2016-09-19 01:25:33
回答 1查看 1.2K关注 0票数 1

当我在我的ubuntu16.04(x86-64)中编译内核3.10.32时,为ubuntu16.04安装RTAI4.1,执行以下命令:

代码语言:javascript
复制
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_ONLN deb-pkg LOCALVERSION=-rtai“时:Error

/scripts/package/Makefile:90:目标'deb-pkg‘失败的配方 make1:* deb-pkg错误1 Makefile:1078:目标'deb-pkg‘失败的配方 make:* deb-pkg错误2

EN

回答 1

Stack Overflow用户

发布于 2021-05-15 00:47:45

我知道这个问题是一段时间前的问题,但我有类似的问题,我无法找到一个解决办法,所以我会在这里张贴无论如何。似乎许多用户在编译debian包时遇到了问题。我不知道为什么会这样。然而,我所遵循的让我编译到debian包的每一个教程都没有起作用,而每个没有让我编译到debian包的教程都起了作用。这里有一个对我有用的。它专门用于实时内核,但步骤类似。您只需要忽略下载实时修补程序,并且不需要为实时配置内核。Install RT Linux patch for Ubuntu

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/39564179

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档