error: implicit declaration of function '__mtmsrd'
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 2Anyone can help me? Sincerely.
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