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
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.
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 )
My bad, switch "VBOX_WITH_ADDITION_DRIVERS =" never got picked, hence the failure. I now have release build compile successfully and (almost) debug build.