Re: randconfig build error with next-20140825, in include/linux/tracepoint.h

From: Steven Rostedt
Date: Mon Aug 25 2014 - 17:22:14 EST


On Mon, 25 Aug 2014 09:30:14 -0700
Jim Davis <jim.epost@xxxxxxxxx> wrote:

> Building with the attached random configuration file,
>
> In file included from include/linux/linkage.h:6:0,
> from include/linux/preempt.h:9,
> from include/linux/preempt_mask.h:4,
> from include/linux/hardirq.h:4,
> from include/linux/kvm_host.h:10,
> from arch/x86/kvm/x86.c:22:
> include/linux/tracepoint.h:214:20: error:
> â__tracepoint_kvm_ple_windowâ undeclared here (not in a function)
> EXPORT_SYMBOL_GPL(__tracepoint_##name)
> ^
> include/linux/export.h:57:16: note: in definition of macro â__EXPORT_SYMBOLâ
> extern typeof(sym) sym; \
> ^
> include/linux/tracepoint.h:214:2: note: in expansion of macro âEXPORT_SYMBOL_GPL
> â
> EXPORT_SYMBOL_GPL(__tracepoint_##name)
> ^
> arch/x86/kvm/x86.c:7676:1: note: in expansion of macro âEXPORT_TRACEPOINT_SYMBOL
> _GPLâ
> EXPORT_TRACEPOINT_SYMBOL_GPL(kvm_ple_window);
> ^
> LD fs/affs/built-in.o
> CC [M] fs/affs/super.o
> make[2]: *** [arch/x86/kvm/x86.o] Error 1
> make[1]: *** [arch/x86/kvm] Error 2

Does this fix it for you?

-- Steve