ipipe kernel image compile error

C Smith csmithquestions at gmail.com
Tue Mar 31 23:42:45 CEST 2020


Hi,

I'm having a problem compiling Kernel 4.19.109 with
ipipe-core-4.19.109-cip22-x86-11.patch using Xenomai-3.1.

$ scripts/prepare-kernel.sh --linux=../linux/
--ipipe=../ipipe-core-4.19.109-cip22-x86-11.patch --arch=x86

I'm compiling with:
$ m -j4 bzImage

I'm getting following error:

arch/x86/kernel/apb_timer.c: In function ‘apbt_set_mapping’:
arch/x86/kernel/apb_timer.c:122:21: error: too few arguments to function
‘dw_apb_clocksource_init’
  clocksource_apbt = dw_apb_clocksource_init(APBT_CLOCKSOURCE_RATING,
                     ^~~~~~~~~~~~~~~~~~~~~~~
In file included from arch/x86/kernel/apb_timer.c:31:
./include/linux/dw_apb_timer.h:50:1: note: declared here
 dw_apb_clocksource_init(unsigned rating, const char *name, void __iomem
*base,
 ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [scripts/Makefile.build:303: arch/x86/kernel/apb_timer.o]
Error 1
make[1]: *** [scripts/Makefile.build:544: arch/x86/kernel] Error 2
make[1]: *** Waiting for unfinished jobs....


 config_20200331
<https://drive.google.com/file/d/1n3gdgMogUUKjleWzEgAEGu_330mYX_io/view?usp=drive_web>


Thank you
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config_20200331
Type: application/octet-stream
Size: 208519 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20200331/ed753c3a/attachment.obj>


More information about the Xenomai mailing list