All,

  Updated Archlinux host & guest to Linux 5.17. Host modules build fine and
guest starts. However attempting to rebuild guest additions on guest fails with:

Building the main Guest Additions 6.1.32 module for kernel 5.17.1-arch1-1.
Building the shared folder support module.
Building the graphics driver module.
Error building the module.  Build output follows.
make V=1 CONFIG_MODULE_SIG= CONFIG_MODULE_SIG_ALL= -C
/lib/modules/5.17.1-arch1-1/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j2 modules
make[1]: warning: -j2 forced in submake: resetting jobserver mode.
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (
          \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf
are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix
it.";      \
echo >&2 ;                                                      \
/bin/false)
make -f ./scripts/Makefile.build obj=/tmp/vbox.0 \
single-build= \
need-builtin=1 need-modorder=1
<snip>
/tmp/vbox.0/vbox_drv.c: In function ‘vbox_init’:
/tmp/vbox.0/vbox_drv.c:398:20: error: implicit declaration of function
‘vgacon_text_force’ [-Werror=implicit-function-declaration]
  398 |                 printk("vboxvideo: please consider either to remove it
or load driver\n");
      |                    ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:288: /tmp/vbox.0/vbox_drv.o] Error 1
make[2]: *** Waiting for unfinished jobs....
   { echo ; echo '/tmp/vbox.0/vbox_fb.o: $(wildcard ./tools/objtool/objtool)'
; } >> /tmp/vbox.0/.vbox_fb.o.cmd
make[1]: *** [Makefile:1831: /tmp/vbox.0] Error 2
make: *** [/tmp/vbox.0/Makefile-footer.gmk:117: vboxvideo] Error 2


  While most functionality is built into the kernel, this impacts the
framebuffer size on boot when accessed headless over the network.

  Additional problems were encountered running the desktop (fluxbox) on the
guest. Parts of windows were not not redrawn and remain visible on the desktop
after a window is moved or application closed. This occurs with xterm, gtk
apps, etc (all apps), but the fluxbox menu itself doesn't have this problem.

  What to do to fix the guest addition build failure? I've not had problems
with the autoconf.h header or vbox_drv.c not having a prototype for
vgacon_text_force before.

-- 
David C. Rankin, J.D.,P.E.


_______________________________________________
VBox-users-community mailing list
VBox-users-community@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:vbox-users-community-requ...@lists.sourceforge.net?subject=unsubscribe

Reply via email to