virtualbox build not working

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
alsys
Ronin
Ronin
Posts: 1
Joined: 08 Feb 2017, 19:07
Distribution: Porteus-v3.2.2
Location: Mexico

virtualbox build not working

Post#1 by alsys » 08 Feb 2017, 19:37

Im running porteus v3.2.2 and i want to build virtualbox

When running vbox builder from system tools, i'm choosing build virtualbox

i get the message no development module found on your system ....
would you want to download it and i choose yes
then the message development module was downloaded into /tmp, I select OK to activate it, then i get the message 05-devel.xzm This is not a valid module (if a look at /tmp directory i cant found 05-devel.xzm)
the i get the message no kernel source module.
would you want to download it and i choose yes
then the message kernel sources were downloaded into /tmp, I select OK to activate it, then i get the message
crippled_sources.xzm This is not a valid module (if a look at /tmp directory i cant found crippled_sources.xzm)

Then i search this files (05-devel.xzm, crippled_sources.xzm) from internet and activate them

then i run vbox builder again
then i select i want to download virtualbox run file
then Porteus virtualbox compiler start
show installing virtualbox to /opt/virtualbox
python found ....
then
vboxdrv.sh: failed look /var/log/vbox-install.log to find what went wrong
if i run /sbin/vboxconfig as root i get

vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
vboxdrv.sh: failed look /var/log/vbox-install.log to find what went wrong

The Porteus virtualbox compiler finish the if i run virtualbox i get the message:
vboxdrv kernel module is not loaded
virtualbox program run but i can not run VMs

Any idea how to resolve this

the vbox-install.log file next:

Code: Select all

VirtualBox 5.1.14 r112924 installer, built 2017-01-16T17:06:12Z.

Testing system setup...
Removing previous installation of VirtualBox 5.1.14 r112924 from /opt/VirtualBox

vboxdrv.sh: Building VirtualBox kernel modules.
cp: preserving permissions for ‘/tmp/vbox.0/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/log’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/misc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/err’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/alloc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/table’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/time’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/checksum’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/string’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/internal’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt/nocrt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox/vmm’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math/gcc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv’: Invalid argument
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.9.0-porteus/build -j2 modules
make[1]: warning: -jN forced in submake: disabling 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)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv_linux"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/SUPDrv.o /tmp/vbox.0/SUPDrv.c
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
make[2]: *** [/tmp/vbox.0/SUPDrv.o] Error 2
make[2]: *** Waiting for unfinished jobs....
In file included from ./include/linux/kobject.h:21:0,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
./include/linux/sysfs.h:517:2: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
  ^
In file included from ./include/linux/sysfs.h:15:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/kernfs.h:452:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:130:0,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/nls.h: In function ‘nls_nullsize’:
./include/linux/nls.h:100:2: warning: pointer targets in passing argument 2 of ‘codepage->uni2char’ differ in signedness [-Wpointer-sign]
  charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE);
  ^
./include/linux/nls.h:100:2: note: expected ‘unsigned char *’ but argument is of type ‘char *’
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 2
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
cp: preserving permissions for ‘/tmp/vbox.0/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/log’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/misc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/err’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/alloc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/table’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/time’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/checksum’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/string’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/internal’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt/nocrt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox/vmm’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math/gcc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv’: Invalid argument
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.9.0-porteus/build -j2 modules
make[1]: warning: -jN forced in submake: disabling 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)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv_linux"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/SUPDrv.o /tmp/vbox.0/SUPDrv.c
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
In file included from ./include/linux/kobject.h:21:0,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
./include/linux/sysfs.h:517:2: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
  ^
In file included from ./include/linux/sysfs.h:15:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/kernfs.h:452:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
make[2]: *** [/tmp/vbox.0/SUPDrv.o] Error 2
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:130:0,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/nls.h: In function ‘nls_nullsize’:
./include/linux/nls.h:100:2: warning: pointer targets in passing argument 2 of ‘codepage->uni2char’ differ in signedness [-Wpointer-sign]
  charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE);
  ^
./include/linux/nls.h:100:2: note: expected ‘unsigned char *’ but argument is of type ‘char *’
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 2
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
cp: preserving permissions for ‘/tmp/vbox.0/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/log’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/misc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/err’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/alloc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/table’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/time’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/checksum’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/string’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/internal’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt/nocrt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox/vmm’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math/gcc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv’: Invalid argument
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.9.0-porteus/build -j2 modules
make[1]: warning: -jN forced in submake: disabling 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)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv_linux"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/SUPDrv.o /tmp/vbox.0/SUPDrv.c
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
In file included from ./include/linux/kobject.h:21:0,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
./include/linux/sysfs.h:517:2: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
  ^
In file included from ./include/linux/sysfs.h:15:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/kernfs.h:452:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:130:0,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/nls.h: In function ‘nls_nullsize’:
./include/linux/nls.h:100:2: warning: pointer targets in passing argument 2 of ‘codepage->uni2char’ differ in signedness [-Wpointer-sign]
  charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE);
  ^
./include/linux/nls.h:100:2: note: expected ‘unsigned char *’ but argument is of type ‘char *’
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/tmp/vbox.0/SUPDrv.o] Error 2
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
cp: preserving permissions for ‘/tmp/vbox.0/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/log’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/misc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/err’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/alloc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/table’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/time’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/checksum’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/string’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/internal’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt/nocrt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox/vmm’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math/gcc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv’: Invalid argument
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.9.0-porteus/build -j2 modules
make[1]: warning: -jN forced in submake: disabling 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)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv_linux"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/SUPDrv.o /tmp/vbox.0/SUPDrv.c
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
In file included from ./include/linux/kobject.h:21:0,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
./include/linux/sysfs.h:517:2: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
  ^
In file included from ./include/linux/sysfs.h:15:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/kernfs.h:452:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
make[2]: *** [/tmp/vbox.0/SUPDrv.o] Error 2
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:130:0,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/nls.h: In function ‘nls_nullsize’:
./include/linux/nls.h:100:2: warning: pointer targets in passing argument 2 of ‘codepage->uni2char’ differ in signedness [-Wpointer-sign]
  charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE);
  ^
./include/linux/nls.h:100:2: note: expected ‘unsigned char *’ but argument is of type ‘char *’
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 2
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
cp: preserving permissions for ‘/tmp/vbox.0/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/log’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/misc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/err’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/alloc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/table’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/time’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/checksum’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/string’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/internal’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt/nocrt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox/vmm’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math/gcc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv’: Invalid argument
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.9.0-porteus/build -j2 modules
make[1]: warning: -jN forced in submake: disabling 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)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv_linux"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/SUPDrv.o /tmp/vbox.0/SUPDrv.c
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
In file included from ./include/linux/kobject.h:21:0,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
./include/linux/sysfs.h:517:2: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
  ^
In file included from ./include/linux/sysfs.h:15:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/kernfs.h:452:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:130:0,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/nls.h: In function ‘nls_nullsize’:
./include/linux/nls.h:100:2: warning: pointer targets in passing argument 2 of ‘codepage->uni2char’ differ in signedness [-Wpointer-sign]
  charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE);
  ^
./include/linux/nls.h:100:2: note: expected ‘unsigned char *’ but argument is of type ‘char *’
make[2]: *** [/tmp/vbox.0/SUPDrv.o] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 2
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
cp: preserving permissions for ‘/tmp/vbox.0/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/log’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/misc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/err’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/alloc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/table’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/time’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/checksum’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common/string’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/common’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/internal’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt/nocrt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/iprt’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox/vmm’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include/VBox’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/include’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math/gcc’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/math’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/generic’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv/linux’: Invalid argument
cp: preserving permissions for ‘/tmp/vbox.0/r0drv’: Invalid argument
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 CONFIG_MODULE_SIG= -C /lib/modules/4.9.0-porteus/build -j2 modules
make[1]: warning: -jN forced in submake: disabling 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)
mkdir -p /tmp/vbox.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv_linux"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
  gcc -Wp,-MD,/tmp/vbox.0/.SUPDrv.o.d  -nostdinc -isystem /usr/lib64/gcc/x86_64-slackware-linux/4.8.2/include -I./arch/x86/include -I./arch/x86/include/generated/uapi -I./arch/x86/include/generated  -I./include -I./arch/x86/include/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -m64 -falign-jumps=1 -falign-loops=1 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -Os -fomit-frame-pointer -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/4.9.0-porteus/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DSUPDRV_WITH_RELEASE_LOGGER -Wno-declaration-after-statement -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -fno-omit-frame-pointer -fno-pie  -DMODULE  -DKBUILD_BASENAME='"SUPDrv"'  -DKBUILD_MODNAME='"vboxdrv"' -c -o /tmp/vbox.0/SUPDrv.o /tmp/vbox.0/SUPDrv.c
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/as: error while loading shared libraries: libbfd-2.23.52.0.1.20130226.so: cannot open shared object file: No such file or directory
In file included from ./include/linux/kobject.h:21:0,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/sysfs.h: In function ‘sysfs_get_dirent’:
./include/linux/sysfs.h:517:2: warning: pointer targets in passing argument 2 of ‘kernfs_find_and_get’ differ in signedness [-Wpointer-sign]
  return kernfs_find_and_get(parent, name);
  ^
In file included from ./include/linux/sysfs.h:15:0,
                 from ./include/linux/kobject.h:21,
                 from ./include/linux/module.h:17,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:88,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/kernfs.h:452:1: note: expected ‘const char *’ but argument is of type ‘const unsigned char *’
 kernfs_find_and_get(struct kernfs_node *kn, const char *name)
 ^
In file included from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:130:0,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:33:
./include/linux/nls.h: In function ‘nls_nullsize’:
./include/linux/nls.h:100:2: warning: pointer targets in passing argument 2 of ‘codepage->uni2char’ differ in signedness [-Wpointer-sign]
  charlen = codepage->uni2char(0, tmp, NLS_MAX_CHARSET_SIZE);
  ^
./include/linux/nls.h:100:2: note: expected ‘unsigned char *’ but argument is of type ‘char *’
make[2]: *** [/tmp/vbox.0/SUPDrv.o] Error 2
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 2
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2


edit: Ed_P - added code tags

User avatar
francois
Contributor
Contributor
Posts: 4945
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: virtualbox build not working

Post#2 by francois » 09 Feb 2017, 03:24

Voltaire: Le mieux est l'ennemi du bien.

Post Reply