doesn't work for me!

Discussions related to using VirtualBox on Linux hosts.

doesn't work for me!

Postby Koppie » 3. Sep 2007, 05:26

Not working for me, unfortunately! Running Kubuntu Gutsy Gibbon, everything fully upgraded, kernel 2.6.22-10 . Tried recompiling vboxdrv and got the missing source problem, installed the source files for my kernel, tried recompiling again, and now I get this:
[quote]Makefile:69: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
make KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/vbox.7 SRCROOT=/tmp/vbox.7 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-10'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)

ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.

mkdir -p /tmp/vbox.7/.tmp_versions
rm -f /tmp/vbox.7/.tmp_versions/*

WARNING: Symbol version dump /usr/src/linux-headers-2.6.22-10/Module.symvers
is missing; modules will have no dependencies and modversions.

make -f scripts/Makefile.build obj=/tmp/vbox.7
/tmp/vbox.7/Makefile:69: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
gcc -m32 -Wp,-MD,/tmp/vbox.7/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -ffreestanding -maccumulate-outgoing-args -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/usr/src/linux/include -I/tmp/vbox.7/ -I/tmp/vbox.7/include -I/tmp/vbox.7/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.7/linux/SUPDrv-linux.o /tmp/vbox.7/linux/SUPDrv-linux.c
cc1: error: include/linux/autoconf.h: No such file or directory
In file included from include/linux/posix_types.h:47,
from include/linux/types.h:14,
from /tmp/vbox.7/include/iprt/types.h:72,
from /tmp/vbox.7/include/VBox/types.h:21,
from /tmp/vbox.7/SUPDRV.h:26,
from /tmp/vbox.7/linux/SUPDrv-linux.c:22:
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/asm/posix_types.h:13:22: error: features.h: No such file or directory
/usr/lib/gcc/i486-linux-gnu/4.1.3/include/asm/posix_types.h:14:35: error: no include path in which to search for asm/posix_types.h
In file included from /tmp/vbox.7/include/iprt/types.h:72,
from /tmp/vbox.7/include/VBox/types.h:21,
from /tmp/vbox.7/SUPDRV.h:26,
from /tmp/vbox.7/linux/SUPDrv-linux.c:22:
include/linux/types.h:15:23: error: asm/types.h: No such file or directory
In file included from /tmp/vbox.7/include/iprt/types.h:72,
from /tmp/vbox.7/include/VBox/types.h:21,
from /tmp/vbox.7/SUPDRV.h:26,
from /tmp/vbox.7/linux/SUPDrv-linux.c:22:
include/linux/types.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__kernel_dev_t’
include/linux/types.h:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘dev_t’
include/linux/types.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ino_t’
include/linux/types.h:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘mode_t’
include/linux/types.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘nlink_t’
include/linux/types.h:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘off_t’
include/linux/types.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pid_t’
include/linux/types.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘daddr_t’
include/linux/types.h:30: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘suseconds_t’
include/linux/types.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘timer_t’
include/linux/types.h:32: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clockid_t’
include/linux/types.h:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid_t’
include/linux/types.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid_t’
include/linux/types.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uid16_t’
include/linux/types.h:41: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gid16_t’
include/linux/types.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘loff_t’
include/linux/types.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssize_t’
include/linux/types.h:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘time_t’
include/linux/types.h:87: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘clock_t’
include/linux/types.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘caddr_t’
include/linux/types.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int8_t’
include/linux/types.h:111: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int8_t’
include/linux/types.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int16_t’
include/linux/types.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int16_t’
include/linux/types.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int32_t’
include/linux/types.h:115: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int32_t’
include/linux/types.h:119: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint8_t’
include/linux/types.h:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint16_t’
include/linux/types.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint32_t’
include/linux/types.h:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘uint64_t’
include/linux/types.h:125: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u_int64_t’
include/linux/types.h:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int64_t’
include/linux/types.h:181: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le16’
include/linux/types.h:182: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be16’
include/linux/types.h:183: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le32’
include/linux/types.h:184: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be32’
include/linux/types.h:186: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__le64’
include/linux/types.h:187: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__be64’
include/linux/types.h:189: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__sum16’
include/linux/types.h:190: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__wsum’
include/linux/types.h:198: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘resource_size_t’
include/linux/types.h:204: error: expected specifier-qualifier-list before ‘__kernel_daddr_t’
In file included from /tmp/vbox.7/include/VBox/types.h:21,
from /tmp/vbox.7/SUPDRV.h:26,
from /tmp/vbox.7/linux/SUPDrv-linux.c:22:
/tmp/vbox.7/include/iprt/types.h:138: error: expected specifier-qualifier-list before ‘uint64_t’
/tmp/vbox.7/include/iprt/types.h:152: error: expected specifier-qualifier-list before ‘uint64_t’
/tmp/vbox.7/include/iprt/types.h:164: error: expected specifier-qualifier-list before ‘uint16_t’
/tmp/vbox.7/include/iprt/types.h:189: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/types.h:222: error: expected specifier-qualifier-list before ‘uint64_t’
/tmp/vbox.7/include/iprt/types.h:270: error: expected specifier-qualifier-list before ‘uint64_t’
/tmp/vbox.7/include/iprt/types.h:276: error: expected specifier-qualifier-list before ‘uint64_t’
/tmp/vbox.7/include/iprt/types.h:282: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/types.h:290: error: expected specifier-qualifier-list before ‘uint16_t’
/tmp/vbox.7/include/iprt/types.h:301: error: expected specifier-qualifier-list before ‘uint64_t’
/tmp/vbox.7/include/iprt/types.h:346: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTINTPTR’
/tmp/vbox.7/include/iprt/types.h:353: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:355: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:359: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTUINTPTR’
/tmp/vbox.7/include/iprt/types.h:366: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:368: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:371: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTINT’
/tmp/vbox.7/include/iprt/types.h:373: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:375: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:378: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTUINT’
/tmp/vbox.7/include/iprt/types.h:380: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:382: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:385: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTFOFF’
/tmp/vbox.7/include/iprt/types.h:387: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:390: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTFMODE’
/tmp/vbox.7/include/iprt/types.h:392: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:395: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTDEV’
/tmp/vbox.7/include/iprt/types.h:397: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:400: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTINODE’
/tmp/vbox.7/include/iprt/types.h:402: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:405: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTUID’
/tmp/vbox.7/include/iprt/types.h:407: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:413: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTGID’
/tmp/vbox.7/include/iprt/types.h:415: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:421: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTIOPORT’
/tmp/vbox.7/include/iprt/types.h:423: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:425: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:428: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTSEL’
/tmp/vbox.7/include/iprt/types.h:430: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:432: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:438: error: expected specifier-qualifier-list before ‘uint16_t’
/tmp/vbox.7/include/iprt/types.h:451: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/types.h:464: error: expected specifier-qualifier-list before ‘uint64_t’
/tmp/vbox.7/include/iprt/types.h:482: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTHCINT’
/tmp/vbox.7/include/iprt/types.h:484: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:489: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTHCUINT’
/tmp/vbox.7/include/iprt/types.h:491: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:493: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:498: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTHCINTPTR’
/tmp/vbox.7/include/iprt/types.h:505: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:507: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:511: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTR3INTPTR’
/tmp/vbox.7/include/iprt/types.h:518: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:520: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:524: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTR0INTPTR’
/tmp/vbox.7/include/iprt/types.h:531: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:533: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:538: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTHCUINTPTR’
/tmp/vbox.7/include/iprt/types.h:545: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:547: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:551: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTR3UINTPTR’
/tmp/vbox.7/include/iprt/types.h:558: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:560: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:564: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTR0UINTPTR’
/tmp/vbox.7/include/iprt/types.h:571: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:573: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:579: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTHCPHYS’
/tmp/vbox.7/include/iprt/types.h:581: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:583: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:611: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTR3PTR’
/tmp/vbox.7/include/iprt/types.h:614: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:616: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:640: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTHCUINTREG’
/tmp/vbox.7/include/iprt/types.h:647: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:649: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:653: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTR3UINTREG’
/tmp/vbox.7/include/iprt/types.h:660: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:662: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:666: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTR0UINTREG’
/tmp/vbox.7/include/iprt/types.h:673: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:675: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:686: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTGCINT’
/tmp/vbox.7/include/iprt/types.h:688: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:693: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTGCUINT’
/tmp/vbox.7/include/iprt/types.h:695: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:697: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:701: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTGCINTPTR’
/tmp/vbox.7/include/iprt/types.h:708: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:710: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:714: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTGCUINTPTR’
/tmp/vbox.7/include/iprt/types.h:721: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:723: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:726: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTGCPHYS’
/tmp/vbox.7/include/iprt/types.h:728: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:730: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:746: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTGCPTR’
/tmp/vbox.7/include/iprt/types.h:749: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:751: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:760: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTGCUINTREG’
/tmp/vbox.7/include/iprt/types.h:767: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:769: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:783: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTCCPHYS’
/tmp/vbox.7/include/iprt/types.h:786: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:788: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:802: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTCCUINTREG’
/tmp/vbox.7/include/iprt/types.h:809: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:811: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:814: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTUINTREG’
/tmp/vbox.7/include/iprt/types.h:816: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:818: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:824: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTFILE’
/tmp/vbox.7/include/iprt/types.h:826: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:845: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTNATIVETHREAD’
/tmp/vbox.7/include/iprt/types.h:847: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:852: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTPROCESS’
/tmp/vbox.7/include/iprt/types.h:854: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:859: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTR0PROCESS’
/tmp/vbox.7/include/iprt/types.h:861: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:947: error: expected specifier-qualifier-list before ‘uint8_t’
/tmp/vbox.7/include/iprt/types.h:987: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTUNICP’
/tmp/vbox.7/include/iprt/types.h:989: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:991: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:1002: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTUTF16’
/tmp/vbox.7/include/iprt/types.h:1004: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:1006: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/types.h:1013: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTUCS2’
/tmp/vbox.7/include/iprt/types.h:1017: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PRTUCS2’
/tmp/vbox.7/include/iprt/types.h:1021: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PCRTUCS2’
/tmp/vbox.7/include/iprt/types.h:1049: error: expected specifier-qualifier-list before ‘int32_t’
In file included from /tmp/vbox.7/SUPDRV.h:26,
from /tmp/vbox.7/linux/SUPDrv-linux.c:22:
/tmp/vbox.7/include/VBox/types.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VBOXHCPHYS’
/tmp/vbox.7/include/VBox/types.h:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/VBox/types.h:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VBOXGCPHYS’
/tmp/vbox.7/include/VBox/types.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/VBox/types.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VBOXGCPTR’
/tmp/vbox.7/include/VBox/types.h:63: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/VBox/types.h:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PVMR3’
/tmp/vbox.7/include/VBox/types.h:81: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PVMGC’
/tmp/vbox.7/include/VBox/types.h:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PPDMDEVINSR3’
/tmp/vbox.7/include/VBox/types.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PPDMDEVINSGC’
/tmp/vbox.7/include/VBox/types.h:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PTMTIMERR3’
/tmp/vbox.7/include/VBox/types.h:161: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/VBox/types.h:169: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PTMTIMERGC’
/tmp/vbox.7/include/VBox/types.h:171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/VBox/types.h:349: error: expected specifier-qualifier-list before ‘uint8_t’
/tmp/vbox.7/include/VBox/types.h:366: error: expected specifier-qualifier-list before ‘uint16_t’
/tmp/vbox.7/include/VBox/types.h:430: error: expected specifier-qualifier-list before ‘uint8_t’
/tmp/vbox.7/include/VBox/types.h:448: error: expected specifier-qualifier-list before ‘uint16_t’
/tmp/vbox.7/include/VBox/types.h:485: error: expected specifier-qualifier-list before ‘RTSEL’
In file included from /tmp/vbox.7/SUPDRV.h:28,
from /tmp/vbox.7/linux/SUPDrv-linux.c:22:
/tmp/vbox.7/include/iprt/asm.h:123: error: expected specifier-qualifier-list before ‘uint16_t’
/tmp/vbox.7/include/iprt/asm.h:134: error: expected specifier-qualifier-list before ‘uint16_t’
/tmp/vbox.7/include/iprt/asm.h:245: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetCS’
/tmp/vbox.7/include/iprt/asm.h:269: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetDS’
/tmp/vbox.7/include/iprt/asm.h:293: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetES’
/tmp/vbox.7/include/iprt/asm.h:317: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetFS’
/tmp/vbox.7/include/iprt/asm.h:341: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetGS’
/tmp/vbox.7/include/iprt/asm.h:365: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetSS’
/tmp/vbox.7/include/iprt/asm.h:389: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetTR’
/tmp/vbox.7/include/iprt/asm.h:413: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetFlags’
/tmp/vbox.7/include/iprt/asm.h:450: error: expected ‘)’ before ‘uFlags’
/tmp/vbox.7/include/iprt/asm.h:486: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMReadTSC’
/tmp/vbox.7/include/iprt/asm.h:521: error: expected ‘)’ before ‘uOperator’
/tmp/vbox.7/include/iprt/asm.h:591: error: expected ‘)’ before ‘uOperator’
/tmp/vbox.7/include/iprt/asm.h:608: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMCpuId_EDX’
/tmp/vbox.7/include/iprt/asm.h:664: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMCpuId_ECX’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMHasCpuId’:
/tmp/vbox.7/include/iprt/asm.h:724: error: ‘uint32_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:724: error: (Each undeclared identifier is reported only once
/tmp/vbox.7/include/iprt/asm.h:724: error: for each function it appears in.)
/tmp/vbox.7/include/iprt/asm.h:724: error: expected ‘;’ before ‘u1’
/tmp/vbox.7/include/iprt/asm.h:725: error: expected ‘;’ before ‘u2’
/tmp/vbox.7/include/iprt/asm.h:738: error: ‘u1’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:738: error: ‘u2’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:726: error: invalid lvalue in asm output 1
/tmp/vbox.7/include/iprt/asm.h:726: error: invalid lvalue in asm output 2
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:769: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetApicId’
/tmp/vbox.7/include/iprt/asm.h:824: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetCR0’
/tmp/vbox.7/include/iprt/asm.h:860: error: expected ‘)’ before ‘uCR0’
/tmp/vbox.7/include/iprt/asm.h:894: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetCR2’
/tmp/vbox.7/include/iprt/asm.h:930: error: expected ‘)’ before ‘uCR2’
/tmp/vbox.7/include/iprt/asm.h:961: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetCR3’
/tmp/vbox.7/include/iprt/asm.h:998: error: expected ‘)’ before ‘uCR3’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMReloadCR3’:
/tmp/vbox.7/include/iprt/asm.h:1037: error: ‘RTCCUINTREG’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:1037: error: expected ‘;’ before ‘u’
/tmp/vbox.7/include/iprt/asm.h:1045: error: ‘u’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:1043: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:1070: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetCR4’
/tmp/vbox.7/include/iprt/asm.h:1112: error: expected ‘)’ before ‘uCR4’
/tmp/vbox.7/include/iprt/asm.h:1149: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetCR8’
/tmp/vbox.7/include/iprt/asm.h:1217: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMIntDisableFlags’
/tmp/vbox.7/include/iprt/asm.h:1256: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMRdMsr’
/tmp/vbox.7/include/iprt/asm.h:1293: error: expected ‘)’ before ‘uRegister’
/tmp/vbox.7/include/iprt/asm.h:1329: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMRdMsr_Low’
/tmp/vbox.7/include/iprt/asm.h:1364: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMRdMsr_High’
/tmp/vbox.7/include/iprt/asm.h:1398: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetDR7’
/tmp/vbox.7/include/iprt/asm.h:1432: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetDR6’
/tmp/vbox.7/include/iprt/asm.h:1466: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMGetAndClearDR6’
/tmp/vbox.7/include/iprt/asm.h:1537: error: expected ‘)’ before ‘Port’
/tmp/vbox.7/include/iprt/asm.h:1568: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMInU8’
/tmp/vbox.7/include/iprt/asm.h:1601: error: expected ‘)’ before ‘Port’
/tmp/vbox.7/include/iprt/asm.h:1632: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMInU16’
/tmp/vbox.7/include/iprt/asm.h:1665: error: expected ‘)’ before ‘Port’
/tmp/vbox.7/include/iprt/asm.h:1696: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMInU32’
/tmp/vbox.7/include/iprt/asm.h:1730: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicXchgU8’
/tmp/vbox.7/include/iprt/asm.h:1765: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicXchgS8’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMAtomicXchgBool’:
/tmp/vbox.7/include/iprt/asm.h:1783: warning: implicit declaration of function ‘ASMAtomicXchgU8’
/tmp/vbox.7/include/iprt/asm.h:1783: error: expected ‘)’ before ‘uint8_t’
/tmp/vbox.7/include/iprt/asm.h:1783: warning: type defaults to ‘int’ in declaration of ‘type name’
/tmp/vbox.7/include/iprt/asm.h:1783: error: ‘uint8_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:1783: error: expected ‘)’ before ‘f’
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:1798: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicXchgU16’
/tmp/vbox.7/include/iprt/asm.h:1833: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicXchgS16’
/tmp/vbox.7/include/iprt/asm.h:1849: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicXchgU32’
/tmp/vbox.7/include/iprt/asm.h:1888: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicXchgS32’
/tmp/vbox.7/include/iprt/asm.h:1904: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicXchgU64’
/tmp/vbox.7/include/iprt/asm.h:1979: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicXchgS64’
/tmp/vbox.7/include/iprt/asm.h:2057: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicReadU64’
/tmp/vbox.7/include/iprt/asm.h:2121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicReadS64’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMAtomicXchgPtr’:
/tmp/vbox.7/include/iprt/asm.h:2156: warning: implicit declaration of function ‘ASMAtomicXchgU32’
/tmp/vbox.7/include/iprt/asm.h:2156: error: expected ‘)’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:2156: warning: type defaults to ‘int’ in declaration of ‘type name’
/tmp/vbox.7/include/iprt/asm.h:2156: error: ‘uint32_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:2156: error: expected ‘)’ before ‘pv’
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:2178: warning: type defaults to ‘int’ in declaration of ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:2178: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/tmp/vbox.7/include/iprt/asm.h:2230: warning: type defaults to ‘int’ in declaration of ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h:2230: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/tmp/vbox.7/include/iprt/asm.h:2249: warning: type defaults to ‘int’ in declaration of ‘uint64_t’
/tmp/vbox.7/include/iprt/asm.h:2249: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/tmp/vbox.7/include/iprt/asm.h:2339: warning: type defaults to ‘int’ in declaration of ‘int64_t’
/tmp/vbox.7/include/iprt/asm.h:2339: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMAtomicCmpXchgPtr’:
/tmp/vbox.7/include/iprt/asm.h:2382: warning: implicit declaration of function ‘ASMAtomicCmpXchgU32’
/tmp/vbox.7/include/iprt/asm.h:2382: error: expected ‘)’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:2382: warning: type defaults to ‘int’ in declaration of ‘type name’
/tmp/vbox.7/include/iprt/asm.h:2382: error: ‘uint32_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:2382: error: expected ‘)’ before ‘pvNew’
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:2400: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicIncU32’
/tmp/vbox.7/include/iprt/asm.h:2439: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicIncS32’
/tmp/vbox.7/include/iprt/asm.h:2454: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicDecU32’
/tmp/vbox.7/include/iprt/asm.h:2493: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMAtomicDecS32’
/tmp/vbox.7/include/iprt/asm.h:2508: error: expected ‘)’ before ‘volatile’
/tmp/vbox.7/include/iprt/asm.h:2540: error: expected ‘)’ before ‘volatile’
/tmp/vbox.7/include/iprt/asm.h:2555: error: expected ‘)’ before ‘volatile’
/tmp/vbox.7/include/iprt/asm.h:2587: error: expected ‘)’ before ‘volatile’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMInvalidatePage’:
/tmp/vbox.7/include/iprt/asm.h:2608: error: ‘uint8_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:2608: error: expected expression before ‘)’ token
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMMemZeroPage’:
/tmp/vbox.7/include/iprt/asm.h:2649: error: ‘RTUINTREG’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:2649: error: expected ‘;’ before ‘uDummy’
/tmp/vbox.7/include/iprt/asm.h:2661: error: ‘uDummy’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:2659: error: invalid lvalue in asm output 1
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:2739: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMMemFill32’:
/tmp/vbox.7/include/iprt/asm.h:2750: error: ‘u32’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:2781: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMMult2xU32RetU64’
/tmp/vbox.7/include/iprt/asm.h:2815: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMMult2xS32RetS64’
/tmp/vbox.7/include/iprt/asm.h:2849: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMDivU64ByU32RetU32’
/tmp/vbox.7/include/iprt/asm.h:2883: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMDivS64ByS32RetS32’
/tmp/vbox.7/include/iprt/asm.h:2923: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMMultU64ByU32DivByU32’
/tmp/vbox.7/include/iprt/asm.h:2994: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMProbeReadByte’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMProbeReadBuffer’:
/tmp/vbox.7/include/iprt/asm.h:3036: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/asm.h:3036: error: ‘pu8’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3036: error: expected ‘)’ before ‘uint8_t’
/tmp/vbox.7/include/iprt/asm.h:3036: warning: type defaults to ‘int’ in declaration of ‘type name’
/tmp/vbox.7/include/iprt/asm.h:3037: warning: implicit declaration of function ‘ASMProbeReadByte’
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3085: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitSet’:
/tmp/vbox.7/include/iprt/asm.h:3093: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3122: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMAtomicBitSet’:
/tmp/vbox.7/include/iprt/asm.h:3129: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3158: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitClear’:
/tmp/vbox.7/include/iprt/asm.h:3166: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3196: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMAtomicBitClear’:
/tmp/vbox.7/include/iprt/asm.h:3201: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3230: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitToggle’:
/tmp/vbox.7/include/iprt/asm.h:3237: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3266: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMAtomicBitToggle’:
/tmp/vbox.7/include/iprt/asm.h:3271: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3302: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitTestAndSet’:
/tmp/vbox.7/include/iprt/asm.h:3304: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3312: error: ‘union <anonymous>’ has no member named ‘u32’
/tmp/vbox.7/include/iprt/asm.h:3314: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3309: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3348: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMAtomicBitTestAndSet’:
/tmp/vbox.7/include/iprt/asm.h:3350: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3357: error: ‘union <anonymous>’ has no member named ‘u32’
/tmp/vbox.7/include/iprt/asm.h:3359: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3354: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3393: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitTestAndClear’:
/tmp/vbox.7/include/iprt/asm.h:3395: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3403: error: ‘union <anonymous>’ has no member named ‘u32’
/tmp/vbox.7/include/iprt/asm.h:3405: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3400: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3440: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMAtomicBitTestAndClear’:
/tmp/vbox.7/include/iprt/asm.h:3442: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3450: error: ‘union <anonymous>’ has no member named ‘u32’
/tmp/vbox.7/include/iprt/asm.h:3452: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3447: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3486: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitTestAndToggle’:
/tmp/vbox.7/include/iprt/asm.h:3488: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3496: error: ‘union <anonymous>’ has no member named ‘u32’
/tmp/vbox.7/include/iprt/asm.h:3498: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3493: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3532: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMAtomicBitTestAndToggle’:
/tmp/vbox.7/include/iprt/asm.h:3534: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3539: error: ‘union <anonymous>’ has no member named ‘u32’
/tmp/vbox.7/include/iprt/asm.h:3541: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3536: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3575: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitTest’:
/tmp/vbox.7/include/iprt/asm.h:3577: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3585: error: ‘union <anonymous>’ has no member named ‘u32’
/tmp/vbox.7/include/iprt/asm.h:3587: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3582: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3617: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h:3617: error: expected declaration specifiers or ‘...’ before ‘int32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitClearRange’:
/tmp/vbox.7/include/iprt/asm.h:3619: error: ‘iBitStart’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3619: error: ‘iBitEnd’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3621: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.7/include/iprt/asm.h:3621: error: ‘pu32’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3621: error: expected ‘)’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3621: warning: type defaults to ‘int’ in declaration of ‘type name’
/tmp/vbox.7/include/iprt/asm.h:3622: warning: ISO C90 forbids mixed declarations and code
/tmp/vbox.7/include/iprt/asm.h:3643: error: expected ‘)’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3643: warning: type defaults to ‘int’ in declaration of ‘type name’
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3662: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitFirstClear’:
/tmp/vbox.7/include/iprt/asm.h:3664: error: ‘cBits’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3666: error: ‘int32_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3666: error: expected ‘;’ before ‘iBit’
/tmp/vbox.7/include/iprt/asm.h:3668: error: ‘RTCCUINTREG’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3668: error: expected ‘;’ before ‘uEAX’
/tmp/vbox.7/include/iprt/asm.h:3669: error: ‘uint32_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3685: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3686: error: ‘uECX’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3687: error: ‘uEDI’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3688: error: ‘uEAX’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3670: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h:3670: error: invalid lvalue in asm output 1
/tmp/vbox.7/include/iprt/asm.h:3670: error: invalid lvalue in asm output 2
/tmp/vbox.7/include/iprt/asm.h:3670: error: invalid lvalue in asm output 3
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3748: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3748: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitNextClear’:
/tmp/vbox.7/include/iprt/asm.h:3750: error: ‘iBitPrev’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3752: error: ‘cBits’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3756: error: ‘uint32_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3756: error: expected ‘;’ before ‘u32’
/tmp/vbox.7/include/iprt/asm.h:3769: error: ‘u32’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3787: error: too many arguments to function ‘ASMBitFirstClear’
/tmp/vbox.7/include/iprt/asm.h:3795: error: too many arguments to function ‘ASMBitFirstClear’
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3815: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitFirstSet’:
/tmp/vbox.7/include/iprt/asm.h:3817: error: ‘cBits’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3819: error: ‘int32_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3819: error: expected ‘;’ before ‘iBit’
/tmp/vbox.7/include/iprt/asm.h:3821: error: ‘RTCCUINTREG’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3821: error: expected ‘;’ before ‘uEAX’
/tmp/vbox.7/include/iprt/asm.h:3822: error: ‘uint32_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3838: error: ‘iBit’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3839: error: ‘uECX’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3840: error: ‘uEDI’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3841: error: ‘uEAX’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3823: error: invalid lvalue in asm output 0
/tmp/vbox.7/include/iprt/asm.h:3823: error: invalid lvalue in asm output 1
/tmp/vbox.7/include/iprt/asm.h:3823: error: invalid lvalue in asm output 2
/tmp/vbox.7/include/iprt/asm.h:3823: error: invalid lvalue in asm output 3
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3900: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h:3900: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/iprt/asm.h: In function ‘ASMBitNextSet’:
/tmp/vbox.7/include/iprt/asm.h:3902: error: ‘iBitPrev’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3904: error: ‘cBits’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3908: error: ‘uint32_t’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3908: error: expected ‘;’ before ‘u32’
/tmp/vbox.7/include/iprt/asm.h:3921: error: ‘u32’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/asm.h:3939: error: too many arguments to function ‘ASMBitFirstSet’
/tmp/vbox.7/include/iprt/asm.h:3948: error: too many arguments to function ‘ASMBitFirstSet’
/tmp/vbox.7/include/iprt/asm.h: At top level:
/tmp/vbox.7/include/iprt/asm.h:3966: error: expected ‘)’ before ‘u32’
/tmp/vbox.7/include/iprt/asm.h:4012: error: expected ‘)’ before ‘i32’
/tmp/vbox.7/include/iprt/asm.h:4027: error: expected ‘)’ before ‘u32’
/tmp/vbox.7/include/iprt/asm.h:4073: error: expected ‘)’ before ‘i32’
/tmp/vbox.7/include/iprt/asm.h:4083: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ASMByteSwapU32’
In file included from /tmp/vbox.7/SUPDRV.h:29,
from /tmp/vbox.7/linux/SUPDrv-linux.c:22:
/tmp/vbox.7/include/VBox/sup.h:38: error: expected specifier-qualifier-list before ‘RTHCPHYS’
/tmp/vbox.7/include/VBox/sup.h:92: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘u32TransactionId’
/tmp/vbox.7/include/VBox/sup.h:117: error: conflicting types for ‘RTASSERTVAR’
/tmp/vbox.7/include/VBox/sup.h:117: error: previous declaration of ‘RTASSERTVAR’ was here
/tmp/vbox.7/include/VBox/sup.h:134: error: expected specifier-qualifier-list before ‘uint32_t’
/tmp/vbox.7/include/VBox/sup.h:230: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SUPGetCpuHzFromGIP’
/tmp/vbox.7/include/VBox/sup.h:553: error: expected declaration specifiers or ‘...’ before ‘RTR3PTR’
/tmp/vbox.7/include/VBox/sup.h:553: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/VBox/sup.h:554: error: expected declaration specifiers or ‘...’ before ‘RTR3PTR’
/tmp/vbox.7/include/VBox/sup.h:555: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/VBox/sup.h:555: error: expected declaration specifiers or ‘...’ before ‘PRTR3PTR’
/tmp/vbox.7/include/VBox/sup.h:555: error: expected declaration specifiers or ‘...’ before ‘PRTHCPHYS’
/tmp/vbox.7/include/VBox/sup.h:556: error: expected declaration specifiers or ‘...’ before ‘RTHCUINTPTR’
/tmp/vbox.7/include/VBox/sup.h:557: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/VBox/sup.h:557: error: expected declaration specifiers or ‘...’ before ‘PRTR3PTR’
/tmp/vbox.7/include/VBox/sup.h:558: error: expected declaration specifiers or ‘...’ before ‘RTHCUINTPTR’
/tmp/vbox.7/include/VBox/sup.h:559: error: expected declaration specifiers or ‘...’ before ‘uint32_t’
/tmp/vbox.7/include/VBox/sup.h:559: error: expected declaration specifiers or ‘...’ before ‘PRTR3PTR’
/tmp/vbox.7/include/VBox/sup.h:560: error: expected declaration specifiers or ‘...’ before ‘RTHCUINTPTR’
/tmp/vbox.7/include/VBox/sup.h:561: error: expected declaration specifiers or ‘...’ before ‘RTHCUINTPTR’
/tmp/vbox.7/include/VBox/sup.h:562: error: expected declaration specifiers or ‘...’ before ‘PRTR3PTR’
/tmp/vbox.7/include/VBox/sup.h:562: error: expected declaration specifiers or ‘...’ before ‘PRTHCPHYS’
In file included from /tmp/vbox.7/SUPDRV.h:36,
from /tmp/vbox.7/linux/SUPDrv-linux.c:22:
/tmp/vbox.7/include/iprt/memobj.h:61: warning: data definition has no type or storage class
/tmp/vbox.7/include/iprt/memobj.h:61: warning: type defaults to ‘int’ in declaration of ‘RTR3PTR’
/tmp/vbox.7/include/iprt/memobj.h:61: warning: ‘cdecl’ attribute only applies to function types
/tmp/vbox.7/include/iprt/memobj.h:61: warning: ‘regparm’ attribute only applies to function types
/tmp/vbox.7/include/iprt/memobj.h:61: error: expected ‘,’ or ‘;’ before ‘RTR0MemObjAddressR3’
/tmp/vbox.7/include/iprt/memobj.h:82: warning: data definition has no type or storage class
/tmp/vbox.7/include/iprt/memobj.h:82: warning: type defaults to ‘int’ in declaration of ‘RTHCPHYS’
/tmp/vbox.7/include/iprt/memobj.h:82: warning: ‘cdecl’ attribute only applies to function types
/tmp/vbox.7/include/iprt/memobj.h:82: warning: ‘regparm’ attribute only applies to function types
/tmp/vbox.7/include/iprt/memobj.h:82: error: expected ‘,’ or ‘;’ before ‘RTR0MemObjGetPagePhysAddr’
/tmp/vbox.7/include/iprt/memobj.h:141: error: expected declaration specifiers or ‘...’ before ‘RTR3PTR’
/tmp/vbox.7/include/iprt/memobj.h:141: error: expected declaration specifiers or ‘...’ before ‘RTR0PROCESS’
/tmp/vbox.7/include/iprt/memobj.h:164: error: expected declaration specifiers or ‘...’ before ‘RTHCPHYS’
/tmp/vbox.7/include/iprt/memobj.h:182: error: expected declaration specifiers or ‘...’ before ‘RTHCPHYS’
/tmp/vbox.7/include/iprt/memobj.h:195: error: expected declaration specifiers or ‘...’ before ‘RTHCPHYS’
/tmp/vbox.7/include/iprt/memobj.h:224: error: expected declaration specifiers or ‘...’ before ‘RTR3PTR’
/tmp/vbox.7/include/iprt/memobj.h:224: error: expected declaration specifiers or ‘...’ before ‘RTR0PROCESS’
/tmp/vbox.7/include/iprt/memobj.h:251: error: expected declaration specifiers or ‘...’ before ‘RTR3PTR’
/tmp/vbox.7/include/iprt/memobj.h:251: error: expected declaration specifiers or ‘...’ before ‘RTR0PROCESS’
In file included from /tmp/vbox.7/SUPDRV.h:37,
from /tmp/vbox.7/linux/SUPDrv-linux.c:22:
/tmp/vbox.7/include/iprt/time.h:45: error: expected specifier-qualifier-list before ‘int64_t’
/tmp/vbox.7/include/iprt/time.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTTimeSpecGetNano’
/tmp/vbox.7/include/iprt/time.h:75: error: expected declaration specifiers or ‘...’ before ‘int64_t’
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecSetNano’:
/tmp/vbox.7/include/iprt/time.h:77: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:77: error: ‘i64Nano’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/time.h: At top level:
/tmp/vbox.7/include/iprt/time.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTTimeSpecGetMicro’
/tmp/vbox.7/include/iprt/time.h:101: error: expected declaration specifiers or ‘...’ before ‘int64_t’
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecSetMicro’:
/tmp/vbox.7/include/iprt/time.h:103: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:103: error: ‘i64Micro’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/time.h: At top level:
/tmp/vbox.7/include/iprt/time.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTTimeSpecGetMilli’
/tmp/vbox.7/include/iprt/time.h:127: error: expected declaration specifiers or ‘...’ before ‘int64_t’
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecSetMilli’:
/tmp/vbox.7/include/iprt/time.h:129: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:129: error: ‘i64Milli’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/time.h: At top level:
/tmp/vbox.7/include/iprt/time.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RTTimeSpecGetSeconds’
/tmp/vbox.7/include/iprt/time.h:153: error: expected declaration specifiers or ‘...’ before ‘int64_t’
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecSetSeconds’:
/tmp/vbox.7/include/iprt/time.h:155: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:155: error: ‘i64Seconds’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecAbsolute’:
/tmp/vbox.7/include/iprt/time.h:168: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:169: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:169: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecNegate’:
/tmp/vbox.7/include/iprt/time.h:182: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:182: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecAdd’:
/tmp/vbox.7/include/iprt/time.h:196: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:196: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h: At top level:
/tmp/vbox.7/include/iprt/time.h:208: error: expected declaration specifiers or ‘...’ before ‘int64_t’
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecAddNano’:
/tmp/vbox.7/include/iprt/time.h:210: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:210: error: ‘i64Nano’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/time.h: At top level:
/tmp/vbox.7/include/iprt/time.h:222: error: expected declaration specifiers or ‘...’ before ‘int64_t’
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecAddMicro’:
/tmp/vbox.7/include/iprt/time.h:224: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:224: error: ‘i64Micro’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/time.h: At top level:
/tmp/vbox.7/include/iprt/time.h:236: error: expected declaration specifiers or ‘...’ before ‘int64_t’
/tmp/vbox.7/include/iprt/time.h: In function ‘RTTimeSpecAddMilli’:
/tmp/vbox.7/include/iprt/time.h:238: error: ‘RTTIMESPEC’ has no member named ‘i64NanosecondsRelativeToUnixEpoch’
/tmp/vbox.7/include/iprt/time.h:238: error: ‘i64Milli’ undeclared (first use in this function)
/tmp/vbox.7/include/iprt/time.h: At top level:
/tmp/vbox.7/include/iprt/time.h:250: error: expected declaration specifiers or ‘...’ before ‘int64_t’
/tmp/vbo
Koppie
 
Posts: 6
Joined: 16. Jul 2007, 02:43
Location: San Francisco

Postby Ingo » 3. Sep 2007, 08:23

Hi Koppie,
for a successful compiling of vboxdrv on my Debian etch system I needed at least a compiled bare kernel with default options. I use kernel 2.6.21 and did this:
Code: Select all   Expand viewCollapse view
$ sudo adduser ingo src (logoff, logon)
$ sudo aptitude install linux-source-2.6.21
$ cd /usr/src
$ tar -xvjf linux-source-2.6.21.tar.bz2
$ ln -s linux-source-2.6.21 linux
$ cp /boot/config-$(uname -r) linux/.config
$ cd linux
$ make oldconfig
$ make vmlinux
$ sudo /etc/init.d/vboxdrv setup

I don't know why they can't setup the Makefile for vboxdrv to compile without a precompiled default bare kernel. It was also so in VBox Version 1.4.

EDIT: There is something going wrong with the layout. Can not fix it! I don't know what this is. Have attention of the non existing line breaks.
Ingo
Volunteer
 
Posts: 731
Joined: 22. Aug 2007, 10:13
Location: Germany

Postby Koppie » 7. Sep 2007, 09:47

Ingo, you embody the holy trinity of tech support:
(1) you're patient with the newb
(2) your advice is easy to understand and easy to follow
(3) it works!

I must apologize for my stupid thread name; I was trying to reply to an earlier thread and it didn't work. Anyway, your advice DID work. I discovered it's not necessary to make vmlinux, just oldconfig.

Thanks again!
Koppie
 
Posts: 6
Joined: 16. Jul 2007, 02:43
Location: San Francisco

Postby Ingo » 7. Sep 2007, 10:21

Thank you.
I like to help not only the cracks to change their operating system and VitualBox is a smooth path to do it ... :D
EDIT: sorry, that DOESN'T mean you are not crack!
Ingo
Volunteer
 
Posts: 731
Joined: 22. Aug 2007, 10:13
Location: Germany


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 11 guests