Closed HuidaeCho closed 1 year ago
I had to use this patch:
--- Config.kmk.orig 2023-04-13 03:15:13.000000000 -0600
+++ Config.kmk 2023-06-16 09:59:19.820597642 -0600
@@ -7485,7 +7485,7 @@
TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.amd64 = -m elf_x86_64
endif
TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-pie -fno-merge-constants -std=c99 -ffreestanding
-TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-pie -fno-merge-constants -ffreestanding
+TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-pie -fno-merge-constants
TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS.linux = $(VBOX_GCC_fno-stack-protector) # Remove symvers.h
TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS.linux = $(VBOX_GCC_fno-stack-protector) # Remove symvers.h
TEMPLATE_VBOXGUESTR3XF86MOD_SYSSUFF = .o
Thanks for the patch!
I merged it in a dedicated virtualbox-addons branch and it will go in the main "current" branch at the next global merge.
Hello, Thanks for the great repo! I'm on Slackware-current and cannot build virtualbox-addons with the following errors. Do you have any ideas how to fix these? Thanks!