﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
18620,Module build fails on linux due to mistake in vboxnetadp/Makefile -> fixed in releases after 7 May 2019,Ambroz Bizjak,,"In some circumstances (probably out-of-tree build), the vboxnetadp module fails to build with an error like this:


{{{
cc1: fatal error: /build/virtualbox-6.0.6-modsrc/include/VBox/SUPDrvMangling.h: No such file or directory
}}}

This is fixed by changing


{{{
VBOXMOD_CFLAGS = -include $(KBUILD_EXTMOD)/include/VBox/SUPDrvMangling.h -fno-pie -Wno-declaration-after-statement
}}}

to

{{{
VBOXMOD_CFLAGS = -include $(VBOXNETADPT_DIR)include/VBox/SUPDrvMangling.h -fno-pie -Wno-declaration-after-statement
}}}

in the vboxnetadp Makefile. It appears that this change was missed during refactoring of the makefiles in this commit: [https://www.virtualbox.org/changeset/77394/vbox]. One can easily see the problem by comparing this line with the equivalent lines in Makefiles of other modules.
",defect,closed,host support,VirtualBox 6.0.6,fixed,,,other,Linux
