Open Lishuoyy opened 2 years ago
Comment line 54 in tpmd_dev.c works for me. tpmd_dev/linux/tpmd_dev.c:
// MODULE_SUPPORTED_DEVICE(TPM_DEVICE_ID);
error: expected declaration specifiers or ‘...’ before string constant 33 | #define TPM_DEVICE_ID "tpm" | ^~~~~ I hope someone can answer for me, thanks!
How did you solve it? I meet the same problem at ubuntu22.04. I tryied the method in this issue but it doesn't work.
error: expected declaration specifiers or ‘...’ before string constant 33 | #define TPM_DEVICE_ID "tpm" | ^~~~~ I hope someone can answer for me, thanks!