Re: arch/powerpc/kvm/trace.h:9:0: error: "TRACE_INCLUDE_PATH" redefined
From: Christian Zigotzky <hidden>
Date: 2018-10-31 10:12:13
Hello, I compiled the latest Git kernel today. The error 'TRACE_INCLUDE_PATH redefined' still exist. Cheers, Christian On 29 October 2018 at 11:22AM, Christian Zigotzky wrote:
Hello, The latest Git kernel doesn't compile currently because of the following error: christian@christian-virtual-machine:~/Downloads/a$ env LANG=C make CROSS_COMPILE=powerpc-linux-gnu- ARCH=powerpc uImage CALL scripts/checksyscalls.sh CHK include/generated/compile.h CALL arch/powerpc/kernel/systbl_chk.sh CC arch/powerpc/kvm/powerpc.o In file included from arch/powerpc/kvm/powerpc.c:51:0: arch/powerpc/kvm/trace.h:9:0: error: "TRACE_INCLUDE_PATH" redefined [-Werror] #define TRACE_INCLUDE_PATH . ^ In file included from arch/powerpc/kvm/../mm/mmu_decl.h:25:0, from arch/powerpc/kvm/powerpc.c:48: ./arch/powerpc/include/asm/trace.h:224:0: note: this is the location of the previous definition #define TRACE_INCLUDE_PATH asm ^ cc1: all warnings being treated as errors scripts/Makefile.build:305: recipe for target 'arch/powerpc/kvm/powerpc.o' failed make[2]: *** [arch/powerpc/kvm/powerpc.o] Error 1 scripts/Makefile.build:546: recipe for target 'arch/powerpc/kvm' failed make[1]: *** [arch/powerpc/kvm] Error 2 Makefile:1052: recipe for target 'arch/powerpc' failed make: *** [arch/powerpc] Error 2 --- I deleted the definition of 'TRACE_INCLUDE_PATH' in 'arch/powerpc/kvm/trace.h'. After that the kernel compiled without any problems. -- Christian