intel / KVMGT-kernel

Other
41 stars 20 forks source link

compilation problem with -Werror=implicit-function-declaration #1

Closed limbo127 closed 9 years ago

limbo127 commented 9 years ago

hello, when i'm trying to comile KVMGT-kernel, i see an error : KVMGT>make make[1]: Nothing to be done for all'. make[1]: Nothing to be done forrelocs'. CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h make[3]: `arch/x86/realmode/rm/realmode.bin' is up to date. CC drivers/gpu/drm/i915/i915_irq.o drivers/gpu/drm/i915/i915_irq.c: In function ‘vgt_irq_uninstall’: drivers/gpu/drm/i915/i915_irq.c:3875:2: error: implicit declaration of function ‘vgt_uninstall_irq’ [-Werror=implicit-function-declaration] drivers/gpu/drm/i915/i915_irq.c: In function ‘intel_irq_init’: drivers/gpu/drm/i915/i915_irq.c:3968:30: error: ‘vgt_interrupt’ undeclared (first use in this function) drivers/gpu/drm/i915/i915_irq.c:3968:30: note: each undeclared identifier is reported only once for each function it appears in drivers/gpu/drm/i915/i915_irq.c:3969:3: error: implicit declaration of function ‘vgt_install_irq’ [-Werror=implicit-function-declaration] drivers/gpu/drm/i915/i915_irq.c:3969:17: warning: assignment makes pointer from integer without a cast [enabled by default] drivers/gpu/drm/i915/i915_irq.c:3975:38: error: ‘i915_isr_wrapper’ undeclared (first use in this function) cc1: some warnings being treated as errors make[4]: * [drivers/gpu/drm/i915/i915_irq.o] Error 1 make[3]: * [drivers/gpu/drm/i915] Error 2 make[2]: * [drivers/gpu/drm] Error 2 make[1]: * [drivers/gpu] Error 2 make: *\ [drivers] Error 2

l1viathan commented 9 years ago

Did you have CONFIG_KVMGT enabled in .config? Please also have a try with config-3.14.1-host.

limbo127 commented 9 years ago

Yes CONFIG_KVMGT is enabled in .config . With your config-3.14.1-host, compilation is done.

limbo127 commented 9 years ago

Kernel Xen option must be set.