Page 3 of 3

Re: KMK Fails to compile vboxvideo_drm

PostPosted: 1. Sep 2015, 15:50
by frank
Try adding
Code: Select all   Expand viewCollapse view
VBOX_WITH_ADDITION_DRIVERS =
to your LocalConfig.kmk

Re: KMK Fails to compile vboxvideo_drm

PostPosted: 1. Sep 2015, 18:03
by Dhaks
Thanks for the response. After making recommended changes, unfortunately, I still ended up seeing the porblem,

from /usr/local/VBox/VirtualBox-5.0.2/src/VBox/Additions/linux/drm/vboxvideo_drm.c:56:
/lib/modules/2.6.32-431.el6.x86_64/build/include/linux/pci_hotplug.h: In function 'pci_hp_register':
/lib/modules/2.6.32-431.el6.x86_64/build/include/linux/pci_hotplug.h:181: error: implicit declaration of function 'KBUILD_STR' [-Wimplicit-function-declaration]
/lib/modules/2.6.32-431.el6.x86_64/build/include/linux/pci_hotplug.h:181: error: 'vboxvideo' undeclared (first use in this function)
/lib/modules/2.6.32-431.el6.x86_64/build/include/linux/pci_hotplug.h:181: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.32-431.el6.x86_64/build/include/linux/pci_hotplug.h:181: error: for each function it appears in.)
kBuild: lrelease VirtualBox - /usr/local/VBox/VirtualBox-5.0.2/src/VBox/Frontends/VirtualBox/nls/VirtualBox_ro.ts
kBuild: lrelease VirtualBox - /usr/local/VBox/VirtualBox-5.0.2/src/VBox/Frontends/VirtualBox/nls/VirtualBox_ru.ts
kBuild: lrelease VirtualBox - /usr/local/VBox/VirtualBox-5.0.2/src/VBox/Frontends/VirtualBox/nls/VirtualBox_sk.ts
kBuild: lrelease VirtualBox - /usr/local/VBox/VirtualBox-5.0.2/src/VBox/Frontends/VirtualBox/nls/VirtualBox_sr.ts
kBuild: lrelease VirtualBox - /usr/local/VBox/VirtualBox-5.0.2/src/VBox/Frontends/VirtualBox/nls/VirtualBox_sv.ts
kBuild: lrelease VirtualBox - /usr/local/VBox/VirtualBox-5.0.2/src/VBox/Frontends/VirtualBox/nls/VirtualBox_tr.ts
kmk: *** [/usr/local/VBox/VirtualBox-5.0.2/out/linux.amd64/release/obj/vboxvideo_drm/vboxvideo_drm.o] Error 1
kmk: *** Waiting for unfinished jobs....
kmk: *** Exiting with status 2

Re: KMK Fails to compile vboxvideo_drm

PostPosted: 1. Sep 2015, 18:11
by Dhaks
Sorry, I didn't see your last response on VBOX_WITH_ADDITION_DRIVERS = before sending my previous message.

You are right, even though error is reported it did not crash immediately right after. But it did crash out at a later point showing the same error message.

install: warning: Not hard linking, mode differs: 0664, desires 0644
install: src path '/usr/local/VBox/VirtualBox-5.0.2/out/linux.amd64/release/obj/VBoxDTraceR0/VBoxDTraceR0.debug'
install: dst path '/usr/local/VBox/VirtualBox-5.0.2/out/linux.amd64/release/bin/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/linux.amd64/VBoxDTraceR0.debug'
kmk: *** [/usr/local/VBox/VirtualBox-5.0.2/out/linux.amd64/release/obj/vboxvideo_drm/vboxvideo_drm.o] Error 1

Re: KMK Fails to compile vboxvideo_drm

PostPosted: 1. Sep 2015, 18:31
by Dhaks
Compile crash text output, http://pastebin.ca/3147319

Re: KMK Fails to compile vboxvideo_drm

PostPosted: 1. Sep 2015, 18:35
by Perryg
I still want to see the information I posted above. I have no idea what you build env is.

At a minimum post these:
    2) what is the build environment? IE: Kernel, headers, devel, Etc.
    4) What does configure.log say? Does it mention missing packages?
    5) have you created a LocalConfig.kmk and if so what is the content?
    6) what do you use in the configure statement ( switches )

Re: KMK Fails to compile vboxvideo_drm

PostPosted: 1. Sep 2015, 19:14
by Dhaks
My bad, switch "VBOX_WITH_ADDITION_DRIVERS =" never got picked, hence the failure. I now have release build compile successfully and (almost) debug build.