VirtualBox

Ticket #21272 (closed defect: fixed)

Opened 2 weeks ago

Last modified 12 days ago

Error building guest addition on AlmaLinux 8.7

Reported by: VitekK Owned by:
Component: guest additions Version: VirtualBox 6.1.40
Keywords: Cc:
Guest type: X11 Host type: Linux

Description

Not possible build guest addition -version 6.1.40 and the latest test build 6.1.41:

Static hostname: xxxxxxxxxxx

Icon name: computer-vm

Chassis: vm

Machine ID: xxxxxxx

Boot ID: xxxxxxx

Virtualization: oracle

Operating System: AlmaLinux 8.7 (Stone Smilodon)

CPE OS Name: cpe:/o:almalinux:almalinux:8::baseos

Kernel: Linux 4.18.0-425.3.1.el8.x86_64

Architecture: x86-64


gcc -Wp,-MD,/tmp/vbox.0/.vbox_irq.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/8/include -I./arch/x86/include -I./arch/x86/include/generated -I./include/drm-backport -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -DKERNEL -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -fno-PIE -DCC_HAVE_ASM_GOTO -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -DCONFIG_TPAUSE=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-int-in-bool-context -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -g -gdwarf-4 -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -Wno-stringop-truncation -Wno-maybe-uninitialized -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -Wno-packed-not-aligned -I./include -I/tmp/vbox.0/ -I./include/drm -DKERNEL -DMODULE -DRT_WITHOUT_PRAGMA_ONCE -DRT_ARCH_AMD64 -DMODULE -DKBUILD_BASENAME='"vbox_irq"' -DKBUILD_MODNAME='"vboxvideo"' -c -o /tmp/vbox.0/.tmp_vbox_irq.o /tmp/vbox.0/vbox_irq.c

In file included from /tmp/vbox.0/hgsmi_base.c:27: /tmp/vbox.0/vbox_drv.h:157:12: fatal error: drm/drm_irq.h: No such file or directory

# include <drm/drm_irq.h>

compilation terminated. make[2]: * [scripts/Makefile.build:318: /tmp/vbox.0/hgsmi_base.o] Error 1 make[2]: * Waiting for unfinished jobs.... In file included from /tmp/vbox.0/vboxvideo_guest.h:34,

from /tmp/vbox.0/modesetting.c:27:

/tmp/vbox.0/vbox_drv.h:157:12: fatal error: drm/drm_irq.h: No such file or directory

# include <drm/drm_irq.h>

compilation terminated. make[2]: * [scripts/Makefile.build:318: /tmp/vbox.0/modesetting.o] Error 1 In file included from /tmp/vbox.0/vbox_drv.c:35: /tmp/vbox.0/vbox_drv.h:157:12: fatal error: drm/drm_irq.h: No such file or directory

# include <drm/drm_irq.h>

compilation terminated. make[2]: * [scripts/Makefile.build:318: /tmp/vbox.0/vbox_drv.o] Error 1 In file included from /tmp/vbox.0/vbox_fb.c:41: /tmp/vbox.0/vbox_drv.h:157:12: fatal error: drm/drm_irq.h: No such file or directory

# include <drm/drm_irq.h>

compilation terminated. make[2]: * [scripts/Makefile.build:318: /tmp/vbox.0/vbox_fb.o] Error 1 In file included from /tmp/vbox.0/vbox_irq.c:30: /tmp/vbox.0/vbox_drv.h:157:12: fatal error: drm/drm_irq.h: No such file or directory

# include <drm/drm_irq.h>

compilation terminated. make[2]: * [scripts/Makefile.build:318: /tmp/vbox.0/vbox_irq.o] Error 1 make[1]: * [Makefile:1585: _module_/tmp/vbox.0] Error 2 make: * vboxvideo Error 2

Change History

comment:1 Changed 12 days ago by galitsyn

  • Status changed from new to closed
  • Resolution set to fixed

VirtualBox 7.0.4 was just released and available for download at https://www.virtualbox.org/wiki/Downloads. This issue should be fixed in this version. Next 6.1 maintenance release will also have the fix.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use