Advertisement
theguild42

tpm_emulator

Aug 20th, 2019
385
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 2.17 KB | None | 0 0
  1. In file included from /cygdrive/d/Users/brazg/Documents/GitHub/qemu/hw/tpm/tpm_emulator.c:38:0:
  2. /cygdrive/d/Users/brazg/Documents/GitHub/qemu/hw/tpm/tpm_ioctl.h:223:30: warning: implicit declaration of function ‘_IOWR’; did you mean ‘_IOR’? [-Wimplicit-function-declaration]
  3.      PTM_INIT               = _IOWR('P', 1, ptm_init),
  4.                               ^~~~~
  5.                               _IOR
  6. /cygdrive/d/Users/brazg/Documents/GitHub/qemu/hw/tpm/tpm_ioctl.h:223:44: error: expected expression before ‘ptm_init’
  7.      PTM_INIT               = _IOWR('P', 1, ptm_init),
  8.                                             ^~~~~~~~
  9. /cygdrive/d/Users/brazg/Documents/GitHub/qemu/hw/tpm/tpm_ioctl.h:226:44: error: expected expression before ‘ptm_loc’
  10.      PTM_SET_LOCALITY       = _IOWR('P', 4, ptm_loc),
  11.                                             ^~~~~~~
  12. /cygdrive/d/Users/brazg/Documents/GitHub/qemu/hw/tpm/tpm_ioctl.h:228:44: error: expected expression before ‘ptm_hdata’
  13.      PTM_HASH_DATA          = _IOWR('P', 6, ptm_hdata),
  14.                                             ^~~~~~~~~
  15. /cygdrive/d/Users/brazg/Documents/GitHub/qemu/hw/tpm/tpm_ioctl.h:232:47: error: expected expression before ‘ptm_reset_est’
  16.      PTM_RESET_TPMESTABLISHED = _IOWR('P', 10, ptm_reset_est),
  17.                                                ^~~~~~~~~~~~~
  18. /cygdrive/d/Users/brazg/Documents/GitHub/qemu/hw/tpm/tpm_ioctl.h:233:45: error: expected expression before ‘ptm_getstate’
  19.      PTM_GET_STATEBLOB      = _IOWR('P', 11, ptm_getstate),
  20.                                              ^~~~~~~~~~~~
  21. /cygdrive/d/Users/brazg/Documents/GitHub/qemu/hw/tpm/tpm_ioctl.h:234:45: error: expected expression before ‘ptm_setstate’
  22.      PTM_SET_STATEBLOB      = _IOWR('P', 12, ptm_setstate),
  23.                                              ^~~~~~~~~~~~
  24. /cygdrive/d/Users/brazg/Documents/GitHub/qemu/hw/tpm/tpm_ioctl.h:238:45: error: expected expression before ‘ptm_setbuffersize’
  25.      PTM_SET_BUFFERSIZE     = _IOWR('P', 16, ptm_setbuffersize),
  26.                                              ^~~~~~~~~~~~~~~~~
  27. make: *** [/cygdrive/d/Users/brazg/Documents/GitHub/qemu/rules.mak:69: hw/tpm/tpm_emulator.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement