How to solve "implicit declaration of function '__ipipe_tsc_register'"

Greg Gallagher greg at embeddedgreg.com
Sun May 2 08:05:25 CEST 2021


On Fri, Apr 30, 2021 at 6:26 AM Fangsuo Wu via Xenomai <xenomai at xenomai.org>
wrote:

> Hi, I'm a beginner of xenomai. After I applied
> the ipipe-core-4.19.55-arm-5.patch to my 4.19 linux kernel, I found the
> below compiling error:
>
>
>
>
>
> */home/data/asr_code/nest/linux/drivers/clocksource/arm_arch_timer.c:1094:2:
> error: implicit declaration of function '__ipipe_tsc_register'; did you
> mean 'ipipe_timer_register'? [-Werror=implicit-function-declaration]
> __ipipe_tsc_register(&tsc_info);  ^~~~~~~~~~~~~~~~~~~~
> ipipe_timer_register*
>
> Checked the patch, it seems the CONFIG_IPIPE_ARM_KUSER_TSC is not set in my
> config. But in the kernel menu config,  CONFIG_IPIPE_ARM_KUSER_TSC is
> defaulty n since the platform I used doesn't belong to ARCH_SOCFPGA or
> ARCH_STI or ARCH_DAVINCI_DA850 or MACH_SUN8I. How can I solve this problem?
> Thanks!
>
>  Symbol: IPIPE_ARM_KUSER_TSC [=n]
>
>>   │ Type  : bool
>
>>   │   Defined at arch/arm/Kconfig:924
>
>>   │   Depends on: IPIPE [=y]
>
>>   │   Selects: HAVE_IPIPE_TRACER_SUPPORT [=n] && GENERIC_TIME_VSYSCALL [=y]
> && IPIPE_HAVE_HOSTRT [=n]
>>   │   Selected by [n]:
>
>>   │   - ARCH_SOCFPGA [=n] && ARCH_MULTI_V7 [=y] && IPIPE [=y]
>
>>   │   - ARCH_STI [=n] && ARCH_MULTI_V7 [=y] && IPIPE [=y]
>
>>   │   - ARCH_DAVINCI_DA850 [=n] && ARCH_DAVINCI [=n] && (!ARCH_DAVINCI_DMx
> [=n] || AUTO_ZRELADDR [=y] && ARM_PATCH_PHYS_VIRT [=y]) && IPIPE [=y]
>>   │   - MACH_SUN8I [=n] && ARCH_SUNXI [=n] && IPIPE [=y]
>
>>>
Hi,
  What defconfig are you using ?  Have you tried a more recent patch?

Thanks

Greg


More information about the Xenomai mailing list