[vbox-dev] headless build failure on linux

Frank Batschulat frank.batschulat at oracle.com
Thu Apr 23 11:45:48 GMT 2020


Thanks for the report, this is valid and needs fixing. Will do so asap for
trunk and 6.1.X

On Thu, 23 Apr 2020 13:22:25 +0200, Vedran Vrbanc <oracle at ozna.net> wrote:

> 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)

-- 
frankB

Oracle Virtualbox Development



More information about the vbox-dev mailing list