KMK Fails to compile vboxvideo_drm

Discussions related to using the OSE version of VirtualBox.

Re: KMK Fails to compile vboxvideo_drm

Postby frank » 1. Sep 2015, 15:50

Try adding
Code: Select all   Expand viewCollapse view
VBOX_WITH_ADDITION_DRIVERS =
to your LocalConfig.kmk
frank
Oracle Corporation
 
Posts: 3362
Joined: 7. Jun 2007, 09:11
Location: Dresden, Germany
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Linux, Windows

Re: KMK Fails to compile vboxvideo_drm

Postby Dhaks » 1. Sep 2015, 18:03

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
Dhaks
 
Posts: 43
Joined: 26. Feb 2015, 07:52

Re: KMK Fails to compile vboxvideo_drm

Postby Dhaks » 1. Sep 2015, 18:11

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
Dhaks
 
Posts: 43
Joined: 26. Feb 2015, 07:52

Re: KMK Fails to compile vboxvideo_drm

Postby Dhaks » 1. Sep 2015, 18:31

Compile crash text output, http://pastebin.ca/3147319
Dhaks
 
Posts: 43
Joined: 26. Feb 2015, 07:52

Re: KMK Fails to compile vboxvideo_drm

Postby Perryg » 1. Sep 2015, 18:35

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 )
Perryg
Site Moderator
 
Posts: 34373
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: KMK Fails to compile vboxvideo_drm

Postby Dhaks » 1. Sep 2015, 19:14

My bad, switch "VBOX_WITH_ADDITION_DRIVERS =" never got picked, hence the failure. I now have release build compile successfully and (almost) debug build.
Dhaks
 
Posts: 43
Joined: 26. Feb 2015, 07:52

Previous

Return to VirtualBox OSE

Who is online

Users browsing this forum: No registered users and 1 guest