arch/powerpc/kvm/trace.h:9:0: error: "TRACE_INCLUDE_PATH" redefined

Christian Zigotzky chzigotzky at xenosoft.de
Wed Oct 31 21:09:37 AEDT 2018


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 at 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
>



More information about the Linuxppc-dev mailing list