I am just starting to work with EVL/Xenomai 4.  (I have worked with Xenomai
2 and 3 in the past.)
I cloned the linux-evl repo from LTS latest, my git HEAD is 105f39131e8a.
I am compiling on (and for) an Intel i5-10400 with Ubuntu Studio 20.04
distro installed,
and I started with a /boot/config file that came with the distro kernel as
the basis for my EVL Linux kernel .config.

I ran into a compile error:

# make modules
arch/x86/kernel/irq_pipeline.c: In function ‘do_sysvec_inband’:
arch/x86/kernel/irq_pipeline.c:117:3: error: implicit declaration of
function ‘__sysvec_uv_bau_message’ [-Werror=implicit-function-declaration]
  117 |   __sysvec_uv_bau_message(regs);
      |   ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
etc.

I looked in irq_pipeline.c and saw that __sysvec_uv_bau_message is
referenced inside #ifdef CONFIG_X86_UV.
Which is SGI Ultraviolet, a NUMA server setting that I don't need.
CONFIG_X86_UV is turned on in the distro kernel, so my EVL config inherited
this setting.
I was able to compile the EVL distro patched kernel after I
turned CONFIG_X86_UV off.
I think I tried EVL-patched 5.10.61 and 5.14.0 and both showed a similar
compile error.

-Andy

Reply via email to