I installed VirtualBox (VirtualBox-1.6.0_30421_rhel5-1.i586) on my CentOS 5 machine and am having problems with starting it up.
I built my own kernel and I have /usr/src/linux linked to my kernel header files.
Code: Select all
[root@geezed src]$ ls -l
total 44488
drwxr-xr-x 3 root root 4096 May 1 02:42 debug
drwxr-xr-x 3 root root 4096 Dec 22 20:32 kernels
lrwxrwxrwx 1 root root 15 Dec 24 23:41 linux -> linux-2.6.23.12
drwxr-xr-x 19 root root 4096 Dec 24 23:40 linux-2.6.18
drwxrwxr-x 19 root root 4096 May 31 11:24 linux-2.6.23.12
-rw-r--r-- 1 root root 45474970 Dec 24 23:25 linux-2.6.23.12.tar.bz2
drwxr-xr-x 7 root root 4096 Dec 22 20:32 redhat
lrwxrwxrwx 1 root root 25 May 31 11:03 vboxdrv-1.6.0 -> /usr/share/virtualbox/src
Code: Select all
[root@geezed ~]# uname -a
Linux geezed 2.6.23.12geezed-1 #1 SMP Thu Jan 10 00:13:21 EAT 2008 i686 i686 i386 GNU/LinuxCode: Select all
[root@geezed ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module [ OK ]
Recompiling VirtualBox kernel module [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)Code: Select all
[root@geezed ~]# cat /var/log/vbox-install.log
/tmp/vbox.12/include/iprt/mp.h:133: error: expected ‘,’ or ‘;’ before ‘RTMpGetOnlineCount’
/tmp/vbox.12/include/iprt/mp.h:146: error: expected ‘)’ before ‘idCpu’
/tmp/vbox.12/include/iprt/mp.h:148: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
/tmp/vbox.12/include/iprt/mp.h:164: error: expected ‘)’ before ‘pfnWorker’
/tmp/vbox.12/include/iprt/mp.h:180: error: expected ‘)’ before ‘pfnWorker’
/tmp/vbox.12/include/iprt/mp.h:196: error: expected ‘)’ before ‘idCpu’
/tmp/vbox.12/linux/SUPDrv-linux.c:57:23: error: asm/apic.h: No such file or directory
/tmp/vbox.12/linux/SUPDrv-linux.c:58:6: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:58:28: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:58:42: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:63:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:63:26: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:63:40: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:135:6: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:135:27: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:135:41: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:142:6: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:142:27: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:142:41: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:159:5: warning: "HZ" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:191:6: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:191:27: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:191:41: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:310: error: unknown field ‘open’ specified in initializer
/tmp/vbox.12/linux/SUPDrv-linux.c:310: warning: excess elements in struct initializer
/tmp/vbox.12/linux/SUPDrv-linux.c:310: warning: (near initialization for ‘gFileOpsVBoxDrv’)
/tmp/vbox.12/linux/SUPDrv-linux.c:311: error: unknown field ‘release’ specified in initializer
/tmp/vbox.12/linux/SUPDrv-linux.c:311: warning: excess elements in struct initializer
/tmp/vbox.12/linux/SUPDrv-linux.c:311: warning: (near initialization for ‘gFileOpsVBoxDrv’)
/tmp/vbox.12/linux/SUPDrv-linux.c:313: error: unknown field ‘unlocked_ioctl’ specified in initializer
/tmp/vbox.12/linux/SUPDrv-linux.c:313: warning: excess elements in struct initializer
/tmp/vbox.12/linux/SUPDrv-linux.c:313: warning: (near initialization for ‘gFileOpsVBoxDrv’)
/tmp/vbox.12/linux/SUPDrv-linux.c:326:6: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:326:28: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:326:42: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:491:6: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:491:28: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:491:42: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxInit’:
/tmp/vbox.12/linux/SUPDrv-linux.c:563: error: implicit declaration of function ‘apic_read’
/tmp/vbox.12/linux/SUPDrv-linux.c:563: error: ‘APIC_LVR’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:564: error: implicit declaration of function ‘GET_APIC_VERSION’
/tmp/vbox.12/linux/SUPDrv-linux.c:566: error: implicit declaration of function ‘APIC_INTEGRATED’
/tmp/vbox.12/linux/SUPDrv-linux.c:566: error: implicit declaration of function ‘GET_APIC_MAXLVT’
/tmp/vbox.12/linux/SUPDrv-linux.c:570: error: ‘APIC_LVTPC’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:573: error: implicit declaration of function ‘GET_APIC_DELIVERY_MODE’
/tmp/vbox.12/linux/SUPDrv-linux.c:573: error: ‘APIC_MODE_NMI’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:573: error: ‘APIC_LVT_MASKED’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:575:6: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:575:28: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:575:42: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:583:7: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:583:29: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:583:43: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:590: error: ‘EINVAL’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:595:6: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:595:28: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:595:42: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:603: error: implicit declaration of function ‘RTMpGetOnlineCount’
/tmp/vbox.12/linux/SUPDrv-linux.c:606: error: expected ‘)’ before ‘u64DiffCores’
/tmp/vbox.12/linux/SUPDrv-linux.c:682: error: ‘SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxCreate’:
/tmp/vbox.12/linux/SUPDrv-linux.c:772: error: ‘struct SUPDRVSESSION’ has no member named ‘Uid’
/tmp/vbox.12/linux/SUPDrv-linux.c:772: error: ‘current’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:773: error: ‘struct SUPDRVSESSION’ has no member named ‘Gid’
/tmp/vbox.12/linux/SUPDrv-linux.c:774: error: ‘struct SUPDRVSESSION’ has no member named ‘Process’
/tmp/vbox.12/linux/SUPDrv-linux.c:774: error: implicit declaration of function ‘RTProcSelf’
/tmp/vbox.12/linux/SUPDrv-linux.c:775: error: ‘struct SUPDRVSESSION’ has no member named ‘R0Process’
/tmp/vbox.12/linux/SUPDrv-linux.c:775: error: implicit declaration of function ‘RTR0ProcHandleSelf’
/tmp/vbox.12/linux/SUPDrv-linux.c:778: error: ‘struct file’ has no member named ‘private_data’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxClose’:
/tmp/vbox.12/linux/SUPDrv-linux.c:797: error: ‘struct file’ has no member named ‘private_data’
/tmp/vbox.12/linux/SUPDrv-linux.c:798: error: ‘struct file’ has no member named ‘private_data’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxIOCtl’:
/tmp/vbox.12/linux/SUPDrv-linux.c:821: error: implicit declaration of function ‘_IO’
/tmp/vbox.12/linux/SUPDrv-linux.c:824: error: ‘struct file’ has no member named ‘private_data’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxIOCtlSlow’:
/tmp/vbox.12/linux/SUPDrv-linux.c:855: warning: statement with no effect
/tmp/vbox.12/linux/SUPDrv-linux.c:855: error: expected ‘;’ before ‘cbBuf’
/tmp/vbox.12/linux/SUPDrv-linux.c:862: error: implicit declaration of function ‘copy_from_user’
/tmp/vbox.12/linux/SUPDrv-linux.c:865: error: ‘EFAULT’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:867: error: ‘SUPREQHDR’ has no member named ‘fFlags’
/tmp/vbox.12/linux/SUPDrv-linux.c:870: error: ‘EINVAL’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:876: error: ‘cbBuf’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:876: error: ‘SUPREQHDR’ has no member named ‘cbIn’
/tmp/vbox.12/linux/SUPDrv-linux.c:876: error: ‘SUPREQHDR’ has no member named ‘cbOut’
/tmp/vbox.12/linux/SUPDrv-linux.c:876: error: ‘SUPREQHDR’ has no member named ‘cbIn’
/tmp/vbox.12/linux/SUPDrv-linux.c:876: error: ‘SUPREQHDR’ has no member named ‘cbOut’
/tmp/vbox.12/linux/SUPDrv-linux.c:880: error: ‘E2BIG’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:882: error: implicit declaration of function ‘_IOC_SIZE’
/tmp/vbox.12/linux/SUPDrv-linux.c:891: error: ‘ENOMEM’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:893: error: ‘SUPREQHDR’ has no member named ‘cbIn’
/tmp/vbox.12/linux/SUPDrv-linux.c:903: error: ‘struct file’ has no member named ‘private_data’
/tmp/vbox.12/linux/SUPDrv-linux.c:910: warning: statement with no effect
/tmp/vbox.12/linux/SUPDrv-linux.c:910: error: expected ‘;’ before ‘cbOut’
/tmp/vbox.12/linux/SUPDrv-linux.c:911: error: ‘cbOut’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:916: error: implicit declaration of function ‘copy_to_user’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxInitGip’:
/tmp/vbox.12/linux/SUPDrv-linux.c:975: error: ‘dma_addr_t’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:975: error: expected ‘;’ before ‘HCPhys’
/tmp/vbox.12/linux/SUPDrv-linux.c:976: warning: ISO C90 forbids mixed declarations and code
/tmp/vbox.12/linux/SUPDrv-linux.c:989: error: ‘ENOMEM’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1001: error: ‘HCPhys’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1001: error: implicit declaration of function ‘page_to_phys’
/tmp/vbox.12/linux/SUPDrv-linux.c:1003: error: ‘struct SUPDRVDEVEXT’ has no member named ‘ulLastJiffies’
/tmp/vbox.12/linux/SUPDrv-linux.c:1004: error: ‘struct SUPDRVDEVEXT’ has no member named ‘u64LastMonotime’
/tmp/vbox.12/linux/SUPDrv-linux.c:1004: error: ‘struct SUPDRVDEVEXT’ has no member named ‘ulLastJiffies’
/tmp/vbox.12/linux/SUPDrv-linux.c:1004: error: ‘CLOCK_TICK_RATE’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1004: error: ‘HZ’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1007: error: ‘struct SUPDRVDEVEXT’ has no member named ‘u64LastMonotime’
/tmp/vbox.12/linux/SUPDrv-linux.c:1008: error: too many arguments to function ‘supdrvGipInit’
/tmp/vbox.12/linux/SUPDrv-linux.c:1015: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1015: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1017: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1017: error: ‘struct SUPDRVDEVEXT’ has no member named ‘u64LastMonotime’
/tmp/vbox.12/linux/SUPDrv-linux.c:1018: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1018: error: ‘struct SUPDRVDEVEXT’ has no member named ‘ulLastJiffies’
/tmp/vbox.12/linux/SUPDrv-linux.c:1019: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1020: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxTermGip’:
/tmp/vbox.12/linux/SUPDrv-linux.c:1048: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1048: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1049: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1055: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c:1056: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxGipTimer’:
/tmp/vbox.12/linux/SUPDrv-linux.c:1098: error: implicit declaration of function ‘raw_local_irq_save’
/tmp/vbox.12/linux/SUPDrv-linux.c:1107: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c:1110: error: ‘SUPGLOBALINFOPAGE’ has no member named ‘u32Mode’
/tmp/vbox.12/linux/SUPDrv-linux.c:1112: warning: statement with no effect
/tmp/vbox.12/linux/SUPDrv-linux.c:1112: error: expected ‘;’ before ‘iCPU’
/tmp/vbox.12/linux/SUPDrv-linux.c:1113: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1113: error: ‘iCPU’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1114: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1115: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1115: error: ‘CLOCK_TICK_RATE’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1115: error: ‘HZ’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1116: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1121: error: ‘struct SUPDRVDEVEXT’ has no member named ‘ulLastJiffies’
/tmp/vbox.12/linux/SUPDrv-linux.c:1122: error: ‘struct SUPDRVDEVEXT’ has no member named ‘ulLastJiffies’
/tmp/vbox.12/linux/SUPDrv-linux.c:1123: error: ‘struct SUPDRVDEVEXT’ has no member named ‘u64LastMonotime’
/tmp/vbox.12/linux/SUPDrv-linux.c:1124: error: ‘struct SUPDRVDEVEXT’ has no member named ‘u64LastMonotime’
/tmp/vbox.12/linux/SUPDrv-linux.c:1127: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c:1128: error: ‘struct SUPDRVDEVEXT’ has no member named ‘fGIPSuspended’
/tmp/vbox.12/linux/SUPDrv-linux.c:1137: error: implicit declaration of function ‘raw_irqs_disabled_flags’
/tmp/vbox.12/linux/SUPDrv-linux.c:1137: error: implicit declaration of function ‘raw_local_irq_restore’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxGipTimerPerCpu’:
/tmp/vbox.12/linux/SUPDrv-linux.c:1159: warning: statement with no effect
/tmp/vbox.12/linux/SUPDrv-linux.c:1159: error: expected ‘;’ before ‘iCPU’
/tmp/vbox.12/linux/SUPDrv-linux.c:1160: warning: ISO C90 forbids mixed declarations and code
/tmp/vbox.12/linux/SUPDrv-linux.c:1172: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c:1173: error: ‘iCPU’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1173: error: implicit declaration of function ‘ASMGetApicId’
/tmp/vbox.12/linux/SUPDrv-linux.c:1179: error: ‘SUPGLOBALINFOPAGE’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1179: error: ‘SUPGLOBALINFOPAGE’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1183: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1184: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1185: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1185: error: ‘CLOCK_TICK_RATE’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1185: error: ‘HZ’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1186: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1189: error: ‘struct SUPDRVDEVEXT’ has no member named ‘fGIPSuspended’
/tmp/vbox.12/linux/SUPDrv-linux.c:1194: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1200: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1204: error: ‘SUPGLOBALINFOPAGE’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1204: error: ‘SUPGLOBALINFOPAGE’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘supdrvOSGipMap’:
/tmp/vbox.12/linux/SUPDrv-linux.c:1225: error: ‘struct SUPDRVDEVEXT’ has no member named ‘HCPhysGip’
/tmp/vbox.12/linux/SUPDrv-linux.c:1226: error: ‘pgprot_t’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1226: error: expected ‘;’ before ‘pgFlags’
/tmp/vbox.12/linux/SUPDrv-linux.c:1227: error: implicit declaration of function ‘pgprot_val’
/tmp/vbox.12/linux/SUPDrv-linux.c:1227: error: ‘pgFlags’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1227: error: ‘_PAGE_PRESENT’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1227: error: ‘_PAGE_USER’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1233: error: ‘current’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1234: error: ‘PAGE_SIZE’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1234: error: ‘PROT_READ’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1234: error: ‘MAP_SHARED’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1234: error: ‘MAP_ANONYMOUS’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1235: error: ‘PAGE_MASK’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1237:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:1237:26: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:1237:40: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:1243:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:1243:26: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:1243:40: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c:1246: error: ‘PAGE_SHIFT’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1246: error: too many arguments to function ‘remap_pfn_range’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘supdrvOSGipUnmap’:
/tmp/vbox.12/linux/SUPDrv-linux.c:1301: error: ‘current’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1304: error: ‘PAGE_SIZE’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘supdrvOSGipResume’:
/tmp/vbox.12/linux/SUPDrv-linux.c:1320: error: ‘struct SUPDRVDEVEXT’ has no member named ‘fGIPSuspended’
/tmp/vbox.12/linux/SUPDrv-linux.c:1322: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxGipResumePerCpu’:
/tmp/vbox.12/linux/SUPDrv-linux.c:1348: warning: statement with no effect
/tmp/vbox.12/linux/SUPDrv-linux.c:1348: error: expected ‘;’ before ‘iCPU’
/tmp/vbox.12/linux/SUPDrv-linux.c:1350: error: ‘iCPU’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1350: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c:1350: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c:1353: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c:1353: error: ‘struct SUPDRVDEVEXT’ has no member named ‘pGip’
/tmp/vbox.12/linux/SUPDrv-linux.c:1357: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1358: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘supdrvOSGipSuspend’:
/tmp/vbox.12/linux/SUPDrv-linux.c:1374: error: ‘struct SUPDRVDEVEXT’ has no member named ‘fGIPSuspended’
/tmp/vbox.12/linux/SUPDrv-linux.c:1378: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1378: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c:1379: error: ‘struct SUPDRVDEVEXT’ has no member named ‘aCPUs’
/tmp/vbox.12/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxErr2LinuxErr’:
/tmp/vbox.12/linux/SUPDrv-linux.c:1424: error: ‘EACCES’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1425: error: ‘EINVAL’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1426: error: ‘EILSEQ’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1427: error: ‘ENXIO’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1428: error: ‘EFAULT’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1429: error: ‘ENOLCK’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1430: error: ‘EEXIST’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1431: error: ‘EPERM’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1432: error: ‘ENOSYS’ undeclared (first use in this function)
/tmp/vbox.12/linux/SUPDrv-linux.c:1507:5: warning: "LINUX_VERSION_CODE" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:1507:27: warning: "KERNEL_VERSION" is not defined
/tmp/vbox.12/linux/SUPDrv-linux.c:1507:41: error: missing binary operator before token "("
/tmp/vbox.12/linux/SUPDrv-linux.c: At top level:
/tmp/vbox.12/linux/SUPDrv-linux.c:1510: error: expected ‘)’ before string constant
make[2]: *** [/tmp/vbox.12/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.12] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23.12'
make: *** [vboxdrv] Error 2
Please if you could help me know what is messing my configuration with VirtualBox, i would highly appreciate it.
Thanks.
Code: Select all