[vbox-dev] headless build failure on linux

Vedran Vrbanc oracle at ozna.net
Thu Apr 23 11:22:25 GMT 2020


Hello,


headless build on linux fails with this error:

VirtualBox-6.1.6/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11-stubs.cpp:98:42: 
error: ‘PSHCLFORMATDATA’ has not been declared

Seems to be introduced here

https://www.virtualbox.org/changeset/83624/vbox

PSHCLFORMATDATA was renamed to PSHCLFORMATS everywhere except in 
VBoxSharedClipboardSvc-x11-stubs.cpp.

Regular (non-headless) build works fine.


Steps to reproduce:

./configure --build-headless --disable-dbus --disable-kmods 
--disable-alsa --disable-docs --disable-java --disable-devmapper 
--disable-pulse --disable-python --disable-opengl
source env.sh
kmk

These configure parameters are what I'm using, but I'm guessing that 
only --build-headless is the important one (I.E. triggers build failure).


This seems to be the fix:
VBoxSharedClipboardSvc-x11-stubs.cpp:98
- PSHCLFORMATDATA pFormats)
+ PSHCLFORMATS pFormats)



regards,
Vedran



More information about the vbox-dev mailing list