CURRENT: build world failure: /usr/src/usr.sbin/bhyvectl/bhyvectl.c:1466:8: error: use of undeclared identifier 'VMCS_EXIT_INTERRUPTION_ERROR' VMCS_EXIT_INTERRUPTION_ERROR, &u64);

Marcus Karlsson mk at acc.umu.se
Sat Jan 11 11:34:49 UTC 2014


On Sat, Jan 11, 2014 at 11:32:06AM +0100, O. Hartmann wrote:
> Recent sources (revision 260540) fail to build: 
> 
> cc  -O2 -pipe -O3 -march=native
> -I/usr/src/usr.sbin/bhyvectl/../../sys/amd64/vmm -pipe -O3 -std=gnu99
> -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall
> -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
> -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized
> -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int
> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality
> -Wno-unused-function -Wno-enum-conversion
> -c /usr/src/usr.sbin/bhyvectl/bhyvectl.c /usr/src/usr.sbin/bhyvectl/bhyvectl.c:1457:8:
> error: use of undeclared identifier 'VMCS_EXIT_INTERRUPTION_INFO'; did
> you mean 'SET_VMCS_ENTRY_INTERRUPTION_INFO'?
> VMCS_EXIT_INTERRUPTION_INFO, &u64); ^~~~~~~~~~~~~~~~~~~~~~~~~~~
> SET_VMCS_ENTRY_INTERRUPTION_INFO /usr/src/usr.sbin/bhyvectl/bhyvectl.c:382:2:
> note: 'SET_VMCS_ENTRY_INTERRUPTION_INFO' declared here
> SET_VMCS_ENTRY_INTERRUPTION_INFO,
> ^ /usr/src/usr.sbin/bhyvectl/bhyvectl.c:1466:8: error: use of
> undeclared identifier 'VMCS_EXIT_INTERRUPTION_ERROR'
> VMCS_EXIT_INTERRUPTION_ERROR, &u64);

I see the same thing. It appears that the definition of
VMCS_EXIT_INTERRUPTION_INFO and VMCS_EXIT_INTERRUPTION_ERROR changed in
r260531 to VMC_EXIT_INT_INFO and VMCS_EXIT_INTR_ERRCODE respectively.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20140111/0a3354eb/attachment.sig>


More information about the freebsd-current mailing list