Skip to contentSkip to conversation

error: implicit declaration of function '__mtmsrd'

Xenomai 2012—2012 2 participants 2 messages Mar 9, 2016 – Mar 16, 2016

lore
Share & tools
lore
#0 lore raw

When I compile the kernel, there are some errors.

The detailed compile output is here:

root@ubuntu:/home/ling/linux-3.14.44# make ARCH=powerpc CROSS_COMPILE=powerpc-fsl-linux- uImage
scripts/kconfig/conf --silentoldconfig Kconfig
#
# configuration written to .config
#
  CHK     include/config/kernel.release
  UPD     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
  GEN     include/generated/bounds.h
  CC      arch/powerpc/kernel/asm-offsets.s
In file included from include/linux/ipipe_debug.h:25:0,
                 from include/linux/ipipe.h:31,
                 from include/linux/sched.h:27,
                 from arch/powerpc/kernel/asm-offsets.c:17:
include/linux/ipipe_domain.h: In function 'ipipe_current_context':
include/linux/ipipe_domain.h:247:2: error: implicit declaration of function '__mtmsrd' [-Werror=implicit-function-declaration]
  hard_smp_local_irq_restore(flags);
  ^
cc1: some warnings being treated as errors
make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Anyone can help me? Sincerely.

#1 lore raw
Quoted 5 lines · On Wed, Mar 09, 2016 at 10:41:48AM +0800, 2012—2012 wrote:

When I compile the kernel, there are some errors.

The detailed compile output is here:

root@ubuntu:/home/ling/linux-3.14.44# make ARCH=powerpc CROSS_COMPILE=powerpc-fsl-linux- uImage
scripts/kconfig/conf --silentoldconfig Kconfig

Strange, because Xenomai nightly build test builds for many powerpc, without any error:
http://xenomai.org/build-test-stable/#powerpc

Signature · 2 lines
					    Gilles.
https://click-hack.org