I am trying to install a Preempt_RT patch on the linux. I downloaded the Linux kernel from github which is described in 'Embedded Linux Hands-on Tutorial': https://github.com/DigilentInc/Linux-Digilent-Dev.git . I noticed that the kernel version is 3.18.0, so I install the patch 3.18.24-rt22.patch (since there is no patch for 3.18.0). But when I try to compile the patched kernel with the configuration of full RT, I got this following errors:
CC kernel/softirq.o kernel/softirq.c:1115:13: error: redefinition of 'run_ksoftirqd' static void run_ksoftirqd(unsigned int cpu) ^ kernel/softirq.c:626:13: note: previous definition of 'run_ksoftirqd' was here static void run_ksoftirqd(unsigned int cpu) ^ kernel/softirq.c: In function 'run_ksoftirqd': kernel/softirq.c:1123:3: error: implicit declaration of function '__do_softirq' [-Werror=implicit-function-declaration] __do_softirq(); ^ kernel/softirq.c: At top level: kernel/softirq.c:626:13: warning: 'run_ksoftirqd' defined but not used [-Wunused-function] static void run_ksoftirqd(unsigned int cpu) ^ cc1: some warnings being treated as errors make[1]: *** [kernel/softirq.o] Error 1 make: *** [kernel] Error 2
So I am wondering how to solve this. And I also wonder if there is anybody else trying to use a real time linux on the zybo.
Question
Jimmy.L
Hey Guys,
I am trying to install a Preempt_RT patch on the linux. I downloaded the Linux kernel from github which is described in 'Embedded Linux Hands-on Tutorial': https://github.com/DigilentInc/Linux-Digilent-Dev.git . I noticed that the kernel version is 3.18.0, so I install the patch 3.18.24-rt22.patch (since there is no patch for 3.18.0). But when I try to compile the patched kernel with the configuration of full RT, I got this following errors:
So I am wondering how to solve this. And I also wonder if there is anybody else trying to use a real time linux on the zybo.
Regards,
Jimmy
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.