Virtualbox build fails

AN andy at neu.net
Wed Jul 4 19:06:31 UTC 2018


FreeBSD BSD_12 12.0-CURRENT FreeBSD 12.0-CURRENT #29 r335957: Wed Jul  4 
13:04:20 EDT 2018 
root at BSD_12:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL  amd64 1200071

VBox kmod fails to compile, is anyone seeing this?


/usr/ports/emulators/virtualbox-ose-kmod]# make install clean
===>  License GPLv2 accepted by the user
===>   virtualbox-ose-kmod-5.2.14 depends on file: /usr/local/sbin/pkg - 
found
===> Fetching all distfiles required by virtualbox-ose-kmod-5.2.14 for 
building
===>  Extracting for virtualbox-ose-kmod-5.2.14
=> SHA256 Checksum OK for VirtualBox-5.2.14.tar.bz2.
===>  Patching for virtualbox-ose-kmod-5.2.14
===>  Applying FreeBSD patches for virtualbox-ose-kmod-5.2.14
===>   virtualbox-ose-kmod-5.2.14 depends on executable: kmk - found
===>  Configuring for virtualbox-ose-kmod-5.2.14
...
--- SUPDrvSem.o ---
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:495:5: error: type name requires a specifier or 
qualifier
     PVM                             pSessionVM;
     ^
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:495:5: error: expected member name or ';' after 
declaration specifiers
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:495:5: error: expected ')'
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:495:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:495:5: error: expected ')'
     PVM                             pSessionVM;
     ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:495:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:495:8: error: expected ';' at end of declaration list
     PVM                             pSessionVM;
        ^
        ;
./SUPDrvInternal.h:497:5: error: type name requires a specifier or 
qualifier
     PVM                             pFastIoCtrlVM;
     ^
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:497:5: error: expected member name or ';' after 
declaration specifiers
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:497:5: error: expected ')'
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:497:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:497:5: error: expected ')'
     PVM                             pFastIoCtrlVM;
     ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:497:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:497:8: error: expected ';' at end of declaration list
     PVM                             pFastIoCtrlVM;
        ^
        ;
./SUPDrvInternal.h:596:68: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                    ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:596:68: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvSem.c:33:
--- SUPDrv.o ---
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:495:5: error: type name requires a specifier or 
qualifier
     PVM                             pSessionVM;
     ^
--- SUPDrvSem.o ---
./SUPDrvInternal.h:596:68: error: expected ')'
--- SUPDrv.o ---
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:495:5: error: expected member name or ';' after 
declaration specifiers
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
--- SUPDrvSem.o ---
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
--- SUPDrv.o ---
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
--- SUPDrvSem.o ---
                                                                    ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
--- SUPDrv.o ---
#define PRI_MIN_KERN            (80)
--- SUPDrvSem.o ---
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
--- SUPDrv.o ---
                                  ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:495:5: error: expected ')'
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:495:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:495:5: error: expected ')'
     PVM                             pSessionVM;
     ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
--- SUPDrvSem.o ---
./SUPDrvInternal.h:596:68: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:596:72: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                        ^
./SUPDrvInternal.h:596:56: note: to match this '('
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                        ^
./SUPDrvInternal.h:598:66: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                  ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
--- SUPDrv.o ---
./SUPDrvInternal.h:495:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:495:8: error: expected ';' at end of declaration list
     PVM                             pSessionVM;
        ^
        ;
./SUPDrvInternal.h:497:5: error: type name requires a specifier or 
qualifier
     PVM                             pFastIoCtrlVM;
     ^
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:497:5: error: expected member name or ';' after 
declaration specifiers
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
--- SUPDrvSem.o ---
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:598:66: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:598:66: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                  ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
--- SUPDrv.o ---
#define PRI_MIN_KERN            (80)
                                  ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:497:5: error: expected ')'
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:497:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:497:5: error: expected ')'
     PVM                             pFastIoCtrlVM;
     ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
--- SUPDrvSem.o ---
./SUPDrvInternal.h:598:66: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvSem.c:33:
./SUPDrvInternal.h:598:70: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                      ^
./SUPDrvInternal.h:598:54: note: to match this '('
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                      ^
--- SUPDrv.o ---
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:497:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:497:8: error: expected ';' at end of declaration list
     PVM                             pFastIoCtrlVM;
        ^
        ;
./SUPDrvInternal.h:596:68: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                    ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:596:68: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:596:68: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                    ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:596:68: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:596:72: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                        ^
./SUPDrvInternal.h:596:56: note: to match this '('
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                        ^
./SUPDrvInternal.h:598:66: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                  ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:598:66: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrv.c:33:
./SUPDrvInternal.h:598:66: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                  ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:598:66: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
--- SUPDrvTracer.o ---
In file included from SUPDrvTracer.c:33:
--- SUPDrv.o ---
In file included from SUPDrv.c:33:
--- SUPDrvTracer.o ---
./SUPDrvInternal.h:495:5: error: type name requires a specifier or 
qualifier
--- SUPDrv.o ---
./SUPDrvInternal.h:598:70: error: expected ')'
--- SUPDrvTracer.o ---
     PVM                             pSessionVM;
--- SUPDrv.o ---
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
--- SUPDrvTracer.o ---
     ^
--- SUPDrv.o ---
                                                                      ^
./SUPDrvInternal.h:598:54: note: to match this '('
--- SUPDrvTracer.o ---
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
--- SUPDrv.o ---
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                      ^
--- SUPDrvGip.o ---
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:495:5: error: type name requires a specifier or 
qualifier
     PVM                             pSessionVM;
     ^
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:495:5: error: expected member name or ';' after 
declaration specifiers
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:495:5: error: expected ')'
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
--- SUPDrvTracer.o ---
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:495:5: error: expected member name or ';' after 
declaration specifiers
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:495:5: error: expected ')'
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:495:5: note: to match this '('
--- logformat.o ---
--- SUPDrvGip.o ---
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:495:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:495:5: error: expected ')'
     PVM                             pSessionVM;
     ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:495:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
--- SUPDrvTracer.o ---
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:495:5: error: expected ')'
     PVM                             pSessionVM;
     ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:495:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:495:8: error: expected ';' at end of declaration list
     PVM                             pSessionVM;
        ^
        ;
--- SUPDrvGip.o ---
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:495:8: error: expected ';' at end of declaration list
     PVM                             pSessionVM;
        ^
        ;
./SUPDrvInternal.h:497:5: error: type name requires a specifier or 
qualifier
     PVM                             pFastIoCtrlVM;
     ^
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:497:5: error: expected member name or ';' after 
declaration specifiers
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:497:5: error: expected ')'
--- SUPDrvTracer.o ---
./SUPDrvInternal.h:497:5: error: type name requires a specifier or 
qualifier
     PVM                             pFastIoCtrlVM;
     ^
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:497:5: error: expected member name or ';' after 
declaration specifiers
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:497:5: error: expected ')'
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
--- logformat.o ---
cc  -O2 -pipe -fno-strict-aliasing -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 
-DIN_SUP_R0 -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX -DRT_WITH_VBOX -w 
-DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64  -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc  -Iinclude -I. -Ir0drv -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer   -MD  -MF.depend.logformat.o -MTlogformat.o 
-mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector 
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign 
-D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs 
-fdiagnostics-show-option -Wno-unknown-pragmas 
-Wno-error-tautological-compare -Wno-error-empty-body 
-Wno-error-parentheses-equality -Wno-error-unused-function 
-Wno-error-pointer-sign -Wno-error-shift-negative-value 
-Wno-address-of-packed-member  -mno-aes -mno-avx--- SUPDrvGip.o ---
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:497:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:497:5: error: expected ')'
     PVM                             pFastIoCtrlVM;
     ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:497:5: note: to match this '('
--- SUPDrvTracer.o ---
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:497:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:497:5: error: expected ')'
     PVM                             pFastIoCtrlVM;
     ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:497:5: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
--- logformat.o ---
   -std=iso9899:1999 -c 
/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.14/out/freebsd.amd64/release/bin/src/vboxdrv/common/log/logformat.c 
-o logformat.o
--- SUPDrvGip.o ---
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:497:8: error: expected ';' at end of declaration list
     PVM                             pFastIoCtrlVM;
        ^
        ;
./SUPDrvInternal.h:596:68: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                    ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:596:68: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
--- SUPDrvTracer.o ---
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:497:8: error: expected ';' at end of declaration list
     PVM                             pFastIoCtrlVM;
        ^
        ;
./SUPDrvInternal.h:596:68: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                    ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:596:68: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
--- SUPDrvGip.o ---
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:596:68: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                    ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:596:68: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:596:72: error: expected ')'
--- SUPDrvTracer.o ---
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:596:68: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                    ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:596:68: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:596:72: error: expected ')'
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                        ^
--- SUPDrvGip.o ---
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                                        ^
./SUPDrvInternal.h:596:56: note: to match this '('
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                        ^
./SUPDrvInternal.h:598:66: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                  ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:598:66: note: to match this '('
--- SUPDrvTracer.o ---
./SUPDrvInternal.h:596:56: note: to match this '('
     DECLR0CALLBACKMEMBER(void,      pfnVMMR0EntryFast, (PGVM pGVM, PVM 
pVM, VMCPUID idCpu, uint32_t uOperation));
                                                        ^
./SUPDrvInternal.h:598:66: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                  ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
./SUPDrvInternal.h:598:66: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
--- SUPDrvGip.o ---
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:598:66: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                  ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:598:66: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvGip.c:33:
./SUPDrvInternal.h:598:70: error: expected ')'
--- SUPDrvTracer.o ---
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:598:66: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                  ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
./SUPDrvInternal.h:598:66: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrvTracer.c:33:
./SUPDrvInternal.h:598:70: error: expected ')'
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
--- SUPDrvGip.o ---
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                                      ^
./SUPDrvInternal.h:598:54: note: to match this '('
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                      ^
--- SUPDrvTracer.o ---
                                                                      ^
./SUPDrvInternal.h:598:54: note: to match this '('
     DECLR0CALLBACKMEMBER(int,       pfnVMMR0EntryEx, (PGVM pGVM, PVM pVM, 
VMCPUID idCpu, uint32_t uOperation,
                                                      ^
--- RTAssertMsg1Weak.o ---
cc  -O2 -pipe -fno-strict-aliasing -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 
-DIN_SUP_R0 -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX -DRT_WITH_VBOX -w 
-DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64  -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc  -Iinclude -I. -Ir0drv -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer   -MD  -MF.depend.RTAssertMsg1Weak.o 
-MTRTAssertMsg1Weak.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse 
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual 
-Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ 
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas 
-Wno-error-tautological-compare -Wno-error-empty-body 
-Wno-error-parentheses-equality -Wno-error-unused-function 
-Wno-error-pointer-sign -Wno-error-shift-negative-value 
-Wno-address-of-packed-member  -mno-aes -mno-avx  -std=iso9899:1999 -c 
/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.14/out/freebsd.amd64/release/bin/src/vboxdrv/common/misc/RTAssertMsg1Weak.c 
-o RTAssertMsg1Weak.o
--- RTAssertMsg2.o ---
--- SUPDrvSem.o ---
16 errors generated.
--- RTAssertMsg2.o ---
cc  -O2 -pipe -fno-strict-aliasing -DRT_OS_FREEBSD -DIN_RING0 -DIN_RT_R0 
-DIN_SUP_R0 -DSUPDRV_WITH_RELEASE_LOGGER -DVBOX -DRT_WITH_VBOX -w 
-DVBOX_WITH_HARDENING -DVBOX_WITH_64_BITS_GUESTS -DRT_ARCH_AMD64  -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc  -Iinclude -I. -Ir0drv -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/ck/include -fno-common  -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer   -MD  -MF.depend.RTAssertMsg2.o 
-MTRTAssertMsg2.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse 
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv 
-fstack-protector -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual 
-Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ 
-Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas 
-Wno-error-tautological-compare -Wno-error-empty-body 
-Wno-error-parentheses-equality -Wno-error-unused-function 
-Wno-error-pointer-sign -Wno-error-shift-negative-value 
-Wno-address-of-packed-member  -mno-aes -mno-avx  -std=iso9899:1999 -c 
/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.14/out/freebsd.amd64/release/bin/src/vboxdrv/common/misc/RTAssertMsg2.c 
-o RTAssertMsg2.o
--- SUPDrvSem.o ---
*** [SUPDrvSem.o] Error code 1

make[3]: stopped in 
/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.14/out/freebsd.amd64/release/bin/src/vboxdrv
--- SUPDrvTracer.o ---
16 errors generated.
*** [SUPDrvTracer.o] Error code 1

make[3]: stopped in 
/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.14/out/freebsd.amd64/release/bin/src/vboxdrv
--- SUPDrv.o ---
In file included from SUPDrv.c:67:
include/VBox/vmm/hm_vmx.h:2538:36: error: expected ')'
VMMR0DECL(int) VMXR0InvalidatePage(PVM pVM, PVMCPU pVCpu, RTGCPTR GCVirt);
                                    ^
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:24: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                  ^
include/VBox/vmm/hm_vmx.h:2538:36: note: to match this '('
/usr/src/sys/sys/priority.h:104:16: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                  ^
/usr/src/sys/sys/priority.h:100:23: note: expanded from macro 
'PRI_MIN_KERN'
#define PRI_MIN_KERN            (80)
                                 ^
In file included from SUPDrv.c:67:
include/VBox/vmm/hm_vmx.h:2538:36: error: expected ')'
VMMR0DECL(int) VMXR0InvalidatePage(PVM pVM, PVMCPU pVCpu, RTGCPTR GCVirt);
                                    ^
/usr/src/sys/sys/priority.h:104:29: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                               ^
include/VBox/vmm/hm_vmx.h:2538:36: note: to match this '('
/usr/src/sys/sys/priority.h:104:15: note: expanded from macro 'PVM'
#define PVM                     (PRI_MIN_KERN + 4)
                                 ^
In file included from SUPDrv.c:67:
include/VBox/vmm/hm_vmx.h:2538:40: error: expected ')'
VMMR0DECL(int) VMXR0InvalidatePage(PVM pVM, PVMCPU pVCpu, RTGCPTR GCVirt);
                                        ^
include/VBox/vmm/hm_vmx.h:2538:35: note: to match this '('
VMMR0DECL(int) VMXR0InvalidatePage(PVM pVM, PVMCPU pVCpu, RTGCPTR GCVirt);
                                   ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
--- SUPDrvGip.o ---
16 errors generated.
*** [SUPDrvGip.o] Error code 1

make[3]: stopped in 
/usr/ports/emulators/virtualbox-ose-kmod/work/VirtualBox-5.2.14/out/freebsd.amd64/release/bin/src/vboxdrv
--- SUPDrv.o ---
20 errors generated.
*** [SUPDrv.o] Error code 1



More information about the freebsd-ports mailing list