==> Building on C ==> Ensuring required PGP keys are present...  -> Checking for B00B48BC731AA8840FED9FB0EED266B70F4FEF10...  -> Checking for 039A9CEA19DE9508C36875AA2532F9176A95A442... ==> Checking for remote environment... ==> Syncing package to remote host... sending incremental file list created directory packages/shim ./ PKGBUILD 1,410 100% 0.00kB/s 0:00:00 1,410 100% 0.00kB/s 0:00:00 (xfr#1, to-chk=1/3) shim-15.5-1.log 576 100% 562.50kB/s 0:00:00 576 100% 562.50kB/s 0:00:00 (xfr#2, to-chk=0/3) sent 1,307 bytes received 93 bytes 2,800.00 bytes/sec total size is 1,831 speedup is 1.31 ==> Running extra-riscv64-build -- -d /home/felix/packages/riscv64-pkg-cache:/var/cache/pacman/pkg -l felix14 on remote host... [?25l:: Synchronizing package databases... core downloading... extra downloading... community downloading... :: Starting full system upgrade... there is nothing to do [?25h==> Building in chroot for [extra] (riscv64)... ==> Synchronizing chroot copy [/var/lib/archbuild/extra-riscv64/root] -> [felix14]...done ==> Making package: shim 15.5-1 (Sun Mar 27 14:19:13 2022) ==> Retrieving sources...  -> Cloning shim git repo... Cloning into bare repository '/home/felix/packages/shim/shim'... remote: Enumerating objects: 13995, done. remote: Counting objects: 0% (1/997) remote: Counting objects: 1% (10/997) remote: Counting objects: 2% (20/997) remote: Counting objects: 3% (30/997) remote: Counting objects: 4% (40/997) remote: Counting objects: 5% (50/997) remote: Counting objects: 6% (60/997) remote: Counting objects: 7% (70/997) remote: Counting objects: 8% (80/997) remote: Counting objects: 9% (90/997) remote: Counting objects: 10% (100/997) remote: Counting objects: 11% (110/997) remote: Counting objects: 12% (120/997) remote: Counting objects: 13% (130/997) remote: Counting objects: 14% (140/997) remote: Counting objects: 15% (150/997) remote: Counting objects: 16% (160/997) remote: Counting objects: 17% (170/997) remote: Counting objects: 18% (180/997) remote: Counting objects: 19% (190/997) remote: Counting objects: 20% (200/997) remote: Counting objects: 21% (210/997) remote: Counting objects: 22% (220/997) remote: Counting objects: 23% (230/997) remote: Counting objects: 24% (240/997) remote: Counting objects: 25% (250/997) remote: Counting objects: 26% (260/997) remote: Counting objects: 27% (270/997) remote: Counting objects: 28% (280/997) remote: Counting objects: 29% (290/997) remote: Counting objects: 30% (300/997) remote: Counting objects: 31% (310/997) remote: Counting objects: 32% (320/997) remote: Counting objects: 33% (330/997) remote: Counting objects: 34% (339/997) remote: Counting objects: 35% (349/997) remote: Counting objects: 36% (359/997) remote: Counting objects: 37% (369/997) remote: Counting objects: 38% (379/997) remote: Counting objects: 39% (389/997) remote: Counting objects: 40% (399/997) remote: Counting objects: 41% (409/997) remote: Counting objects: 42% (419/997) remote: Counting objects: 43% (429/997) remote: Counting objects: 44% (439/997) remote: Counting objects: 45% (449/997) remote: Counting objects: 46% (459/997) remote: Counting objects: 47% (469/997) remote: Counting objects: 48% (479/997) remote: Counting objects: 49% (489/997) remote: Counting objects: 50% (499/997) remote: Counting objects: 51% (509/997) remote: Counting objects: 52% (519/997) remote: Counting objects: 53% (529/997) remote: Counting objects: 54% (539/997) remote: Counting objects: 55% (549/997) remote: Counting objects: 56% (559/997) remote: Counting objects: 57% (569/997) remote: Counting objects: 58% (579/997) remote: Counting objects: 59% (589/997) remote: Counting objects: 60% (599/997) remote: Counting objects: 61% (609/997) remote: Counting objects: 62% (619/997) remote: Counting objects: 63% (629/997) remote: Counting objects: 64% (639/997) remote: Counting objects: 65% (649/997) remote: Counting objects: 66% (659/997) remote: Counting objects: 67% (668/997) remote: Counting objects: 68% (678/997) remote: Counting objects: 69% (688/997) remote: Counting objects: 70% (698/997) remote: Counting objects: 71% (708/997) remote: Counting objects: 72% (718/997) remote: Counting objects: 73% (728/997) remote: Counting objects: 74% (738/997) remote: Counting objects: 75% (748/997) remote: Counting objects: 76% (758/997) remote: Counting objects: 77% (768/997) remote: Counting objects: 78% (778/997) remote: Counting objects: 79% (788/997) remote: Counting objects: 80% (798/997) remote: Counting objects: 81% (808/997) remote: Counting objects: 82% (818/997) remote: Counting objects: 83% (828/997) remote: Counting objects: 84% (838/997) remote: Counting objects: 85% (848/997) remote: Counting objects: 86% (858/997) remote: Counting objects: 87% (868/997) remote: Counting objects: 88% (878/997) remote: Counting objects: 89% (888/997) remote: Counting objects: 90% (898/997) remote: Counting objects: 91% (908/997) remote: Counting objects: 92% (918/997) remote: Counting objects: 93% (928/997) remote: Counting objects: 94% (938/997) remote: Counting objects: 95% (948/997) remote: Counting objects: 96% (958/997) remote: Counting objects: 97% (968/997) remote: Counting objects: 98% (978/997) remote: Counting objects: 99% (988/997) remote: Counting objects: 100% (997/997) remote: Counting objects: 100% (997/997), done. remote: Compressing objects: 0% (1/463) remote: Compressing objects: 1% (5/463) remote: Compressing objects: 2% (10/463) remote: Compressing objects: 3% (14/463) remote: Compressing objects: 4% (19/463) remote: Compressing objects: 5% (24/463) remote: Compressing objects: 6% (28/463) remote: Compressing objects: 7% (33/463) remote: Compressing objects: 8% (38/463) remote: Compressing objects: 9% (42/463) remote: Compressing objects: 10% (47/463) remote: Compressing objects: 11% (51/463) remote: Compressing objects: 12% (56/463) remote: Compressing objects: 13% (61/463) remote: Compressing objects: 14% (65/463) remote: Compressing objects: 15% (70/463) remote: Compressing objects: 16% (75/463) remote: Compressing objects: 17% (79/463) remote: Compressing objects: 18% (84/463) remote: Compressing objects: 19% (88/463) remote: Compressing objects: 20% (93/463) remote: Compressing objects: 21% (98/463) remote: Compressing objects: 22% (102/463) remote: Compressing objects: 23% (107/463) remote: Compressing objects: 24% (112/463) remote: Compressing objects: 25% (116/463) remote: Compressing objects: 26% (121/463) remote: Compressing objects: 27% (126/463) remote: Compressing objects: 28% (130/463) remote: Compressing objects: 29% (135/463) remote: Compressing objects: 30% (139/463) remote: Compressing objects: 31% (144/463) remote: Compressing objects: 32% (149/463) remote: Compressing objects: 33% (153/463) remote: Compressing objects: 34% (158/463) remote: Compressing objects: 35% (163/463) remote: Compressing objects: 36% (167/463) remote: Compressing objects: 37% (172/463) remote: Compressing objects: 38% (176/463) remote: Compressing objects: 39% (181/463) remote: Compressing objects: 40% (186/463) remote: Compressing objects: 41% (190/463) remote: Compressing objects: 42% (195/463) remote: Compressing objects: 43% (200/463) remote: Compressing objects: 44% (204/463) remote: Compressing objects: 45% (209/463) remote: Compressing objects: 46% (213/463) remote: Compressing objects: 47% (218/463) remote: Compressing objects: 48% (223/463) remote: Compressing objects: 49% (227/463) remote: Compressing objects: 50% (232/463) remote: Compressing objects: 51% (237/463) remote: Compressing objects: 52% (241/463) remote: Compressing objects: 53% (246/463) remote: Compressing objects: 54% (251/463) remote: Compressing objects: 55% (255/463) remote: Compressing objects: 56% (260/463) remote: Compressing objects: 57% (264/463) remote: Compressing objects: 58% (269/463) remote: Compressing objects: 59% (274/463) remote: Compressing objects: 60% (278/463) remote: Compressing objects: 61% (283/463) remote: Compressing objects: 62% (288/463) remote: Compressing objects: 63% (292/463) remote: Compressing objects: 64% (297/463) remote: Compressing objects: 65% (301/463) remote: Compressing objects: 66% (306/463) remote: Compressing objects: 67% (311/463) remote: Compressing objects: 68% (315/463) remote: Compressing objects: 69% (320/463) remote: Compressing objects: 70% (325/463) remote: Compressing objects: 71% (329/463) remote: Compressing objects: 72% (334/463) remote: Compressing objects: 73% (338/463) remote: Compressing objects: 74% (343/463) remote: Compressing objects: 75% (348/463) remote: Compressing objects: 76% (352/463) remote: Compressing objects: 77% (357/463) remote: Compressing objects: 78% (362/463) remote: Compressing objects: 79% (366/463) remote: Compressing objects: 80% (371/463) remote: Compressing objects: 81% (376/463) remote: Compressing objects: 82% (380/463) remote: Compressing objects: 83% (385/463) remote: Compressing objects: 84% (389/463) remote: Compressing objects: 85% (394/463) remote: Compressing objects: 86% (399/463) remote: Compressing objects: 87% (403/463) remote: Compressing objects: 88% (408/463) remote: Compressing objects: 89% (413/463) remote: Compressing objects: 90% (417/463) remote: Compressing objects: 91% (422/463) remote: Compressing objects: 92% (426/463) remote: Compressing objects: 93% (431/463) remote: Compressing objects: 94% (436/463) remote: Compressing objects: 95% (440/463) remote: Compressing objects: 96% (445/463) remote: Compressing objects: 97% (450/463) remote: Compressing objects: 98% (454/463) remote: Compressing objects: 99% (459/463) remote: Compressing objects: 100% (463/463) remote: Compressing objects: 100% (463/463), done. Receiving objects: 0% (1/13995) Receiving objects: 1% (140/13995) Receiving objects: 2% (280/13995) Receiving objects: 3% (420/13995) Receiving objects: 4% (560/13995) Receiving objects: 5% (700/13995) Receiving objects: 6% (840/13995) Receiving objects: 7% (980/13995) Receiving objects: 8% (1120/13995) Receiving objects: 9% (1260/13995) Receiving objects: 10% (1400/13995) Receiving objects: 11% (1540/13995) Receiving objects: 12% (1680/13995) Receiving objects: 13% (1820/13995) Receiving objects: 14% (1960/13995) Receiving objects: 15% (2100/13995) Receiving objects: 16% (2240/13995) Receiving objects: 17% (2380/13995) Receiving objects: 18% (2520/13995) Receiving objects: 19% (2660/13995) Receiving objects: 20% (2799/13995) Receiving objects: 21% (2939/13995) Receiving objects: 22% (3079/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 23% (3219/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 24% (3359/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 25% (3499/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 26% (3639/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 27% (3779/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 28% (3919/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 29% (4059/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 30% (4199/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 31% (4339/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 32% (4479/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 33% (4619/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 34% (4759/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 35% (4899/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 36% (5039/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 37% (5179/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 38% (5319/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 39% (5459/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 40% (5598/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 41% (5738/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 42% (5878/13995), 3.29 MiB | 6.57 MiB/s Receiving objects: 42% (6005/13995), 8.74 MiB | 8.31 MiB/s Receiving objects: 43% (6018/13995), 8.74 MiB | 8.31 MiB/s Receiving objects: 44% (6158/13995), 10.26 MiB | 6.57 MiB/s Receiving objects: 45% (6298/13995), 10.26 MiB | 6.57 MiB/s Receiving objects: 46% (6438/13995), 10.26 MiB | 6.57 MiB/s Receiving objects: 46% (6561/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 47% (6578/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 48% (6718/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 49% (6858/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 50% (6998/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 51% (7138/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 52% (7278/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 53% (7418/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 54% (7558/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 55% (7698/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 56% (7838/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 57% (7978/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 58% (8118/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 59% (8258/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 60% (8397/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 61% (8537/13995), 12.14 MiB | 5.78 MiB/s Receiving objects: 62% (8677/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 63% (8817/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 64% (8957/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 65% (9097/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 66% (9237/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 67% (9377/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 68% (9517/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 69% (9657/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 69% (9728/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 70% (9797/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 71% (9937/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 72% (10077/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 73% (10217/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 74% (10357/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 75% (10497/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 76% (10637/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 77% (10777/13995), 14.46 MiB | 5.34 MiB/s Receiving objects: 78% (10917/13995), 17.13 MiB | 5.34 MiB/s Receiving objects: 79% (11057/13995), 17.13 MiB | 5.34 MiB/s Receiving objects: 80% (11196/13995), 17.13 MiB | 5.34 MiB/s Receiving objects: 81% (11336/13995), 17.13 MiB | 5.34 MiB/s Receiving objects: 82% (11476/13995), 17.13 MiB | 5.34 MiB/s Receiving objects: 83% (11616/13995), 17.13 MiB | 5.34 MiB/s Receiving objects: 84% (11756/13995), 17.13 MiB | 5.34 MiB/s Receiving objects: 85% (11896/13995), 17.13 MiB | 5.34 MiB/s Receiving objects: 86% (12036/13995), 17.13 MiB | 5.34 MiB/s Receiving objects: 87% (12176/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 88% (12316/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 89% (12456/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 90% (12596/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 91% (12736/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 92% (12876/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 93% (13016/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 94% (13156/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 95% (13296/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 96% (13436/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 97% (13576/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 98% (13716/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 99% (13856/13995), 18.91 MiB | 5.04 MiB/s remote: Total 13995 (delta 606), reused 773 (delta 476), pack-reused 12998 Receiving objects: 100% (13995/13995), 18.91 MiB | 5.04 MiB/s Receiving objects: 100% (13995/13995), 19.81 MiB | 4.95 MiB/s, done. Resolving deltas: 0% (0/8801) Resolving deltas: 1% (89/8801) Resolving deltas: 2% (177/8801) Resolving deltas: 3% (265/8801) Resolving deltas: 4% (353/8801) Resolving deltas: 5% (441/8801) Resolving deltas: 6% (529/8801) Resolving deltas: 7% (617/8801) Resolving deltas: 8% (705/8801) Resolving deltas: 9% (793/8801) Resolving deltas: 10% (881/8801) Resolving deltas: 11% (972/8801) Resolving deltas: 12% (1057/8801) Resolving deltas: 13% (1145/8801) Resolving deltas: 14% (1233/8801) Resolving deltas: 15% (1321/8801) Resolving deltas: 16% (1409/8801) Resolving deltas: 17% (1497/8801) Resolving deltas: 18% (1585/8801) Resolving deltas: 19% (1673/8801) Resolving deltas: 20% (1761/8801) Resolving deltas: 21% (1849/8801) Resolving deltas: 22% (1937/8801) Resolving deltas: 23% (2025/8801) Resolving deltas: 24% (2113/8801) Resolving deltas: 25% (2201/8801) Resolving deltas: 26% (2289/8801) Resolving deltas: 27% (2377/8801) Resolving deltas: 28% (2465/8801) Resolving deltas: 29% (2553/8801) Resolving deltas: 30% (2641/8801) Resolving deltas: 31% (2729/8801) Resolving deltas: 32% (2817/8801) Resolving deltas: 33% (2905/8801) Resolving deltas: 34% (2993/8801) Resolving deltas: 35% (3081/8801) Resolving deltas: 36% (3169/8801) Resolving deltas: 37% (3257/8801) Resolving deltas: 38% (3345/8801) Resolving deltas: 39% (3433/8801) Resolving deltas: 40% (3521/8801) Resolving deltas: 41% (3609/8801) Resolving deltas: 42% (3697/8801) Resolving deltas: 43% (3785/8801) Resolving deltas: 44% (3873/8801) Resolving deltas: 45% (3962/8801) Resolving deltas: 46% (4049/8801) Resolving deltas: 47% (4137/8801) Resolving deltas: 48% (4225/8801) Resolving deltas: 49% (4313/8801) Resolving deltas: 50% (4401/8801) Resolving deltas: 51% (4489/8801) Resolving deltas: 52% (4577/8801) Resolving deltas: 53% (4665/8801) Resolving deltas: 54% (4753/8801) Resolving deltas: 55% (4841/8801) Resolving deltas: 56% (4929/8801) Resolving deltas: 57% (5017/8801) Resolving deltas: 58% (5105/8801) Resolving deltas: 59% (5193/8801) Resolving deltas: 60% (5281/8801) Resolving deltas: 61% (5369/8801) Resolving deltas: 62% (5457/8801) Resolving deltas: 63% (5545/8801) Resolving deltas: 64% (5633/8801) Resolving deltas: 65% (5721/8801) Resolving deltas: 66% (5809/8801) Resolving deltas: 67% (5897/8801) Resolving deltas: 68% (5985/8801) Resolving deltas: 69% (6073/8801) Resolving deltas: 70% (6161/8801) Resolving deltas: 71% (6249/8801) Resolving deltas: 72% (6337/8801) Resolving deltas: 73% (6425/8801) Resolving deltas: 74% (6513/8801) Resolving deltas: 75% (6601/8801) Resolving deltas: 76% (6689/8801) Resolving deltas: 77% (6777/8801) Resolving deltas: 78% (6865/8801) Resolving deltas: 79% (6953/8801) Resolving deltas: 80% (7041/8801) Resolving deltas: 81% (7129/8801) Resolving deltas: 82% (7217/8801) Resolving deltas: 83% (7305/8801) Resolving deltas: 84% (7393/8801) Resolving deltas: 85% (7481/8801) Resolving deltas: 86% (7570/8801) Resolving deltas: 87% (7657/8801) Resolving deltas: 88% (7745/8801) Resolving deltas: 89% (7833/8801) Resolving deltas: 90% (7921/8801) Resolving deltas: 91% (8009/8801) Resolving deltas: 92% (8097/8801) Resolving deltas: 93% (8185/8801) Resolving deltas: 94% (8273/8801) Resolving deltas: 95% (8361/8801) Resolving deltas: 96% (8449/8801) Resolving deltas: 97% (8537/8801) Resolving deltas: 98% (8625/8801) Resolving deltas: 99% (8713/8801) Resolving deltas: 100% (8801/8801) Resolving deltas: 100% (8801/8801), done.  -> Cloning rhboot-gnu-efi git repo... Cloning into bare repository '/home/felix/packages/shim/rhboot-gnu-efi'... remote: Enumerating objects: 2736, done. remote: Counting objects: 0% (1/2736) remote: Counting objects: 1% (28/2736) remote: Counting objects: 2% (55/2736) remote: Counting objects: 3% (83/2736) remote: Counting objects: 4% (110/2736) remote: Counting objects: 5% (137/2736) remote: Counting objects: 6% (165/2736) remote: Counting objects: 7% (192/2736) remote: Counting objects: 8% (219/2736) remote: Counting objects: 9% (247/2736) remote: Counting objects: 10% (274/2736) remote: Counting objects: 11% (301/2736) remote: Counting objects: 12% (329/2736) remote: Counting objects: 13% (356/2736) remote: Counting objects: 14% (384/2736) remote: Counting objects: 15% (411/2736) remote: Counting objects: 16% (438/2736) remote: Counting objects: 17% (466/2736) remote: Counting objects: 18% (493/2736) remote: Counting objects: 19% (520/2736) remote: Counting objects: 20% (548/2736) remote: Counting objects: 21% (575/2736) remote: Counting objects: 22% (602/2736) remote: Counting objects: 23% (630/2736) remote: Counting objects: 24% (657/2736) remote: Counting objects: 25% (684/2736) remote: Counting objects: 26% (712/2736) remote: Counting objects: 27% (739/2736) remote: Counting objects: 28% (767/2736) remote: Counting objects: 29% (794/2736) remote: Counting objects: 30% (821/2736) remote: Counting objects: 31% (849/2736) remote: Counting objects: 32% (876/2736) remote: Counting objects: 33% (903/2736) remote: Counting objects: 34% (931/2736) remote: Counting objects: 35% (958/2736) remote: Counting objects: 36% (985/2736) remote: Counting objects: 37% (1013/2736) remote: Counting objects: 38% (1040/2736) remote: Counting objects: 39% (1068/2736) remote: Counting objects: 40% (1095/2736) remote: Counting objects: 41% (1122/2736) remote: Counting objects: 42% (1150/2736) remote: Counting objects: 43% (1177/2736) remote: Counting objects: 44% (1204/2736) remote: Counting objects: 45% (1232/2736) remote: Counting objects: 46% (1259/2736) remote: Counting objects: 47% (1286/2736) remote: Counting objects: 48% (1314/2736) remote: Counting objects: 49% (1341/2736) remote: Counting objects: 50% (1368/2736) remote: Counting objects: 51% (1396/2736) remote: Counting objects: 52% (1423/2736) remote: Counting objects: 53% (1451/2736) remote: Counting objects: 54% (1478/2736) remote: Counting objects: 55% (1505/2736) remote: Counting objects: 56% (1533/2736) remote: Counting objects: 57% (1560/2736) remote: Counting objects: 58% (1587/2736) remote: Counting objects: 59% (1615/2736) remote: Counting objects: 60% (1642/2736) remote: Counting objects: 61% (1669/2736) remote: Counting objects: 62% (1697/2736) remote: Counting objects: 63% (1724/2736) remote: Counting objects: 64% (1752/2736) remote: Counting objects: 65% (1779/2736) remote: Counting objects: 66% (1806/2736) remote: Counting objects: 67% (1834/2736) remote: Counting objects: 68% (1861/2736) remote: Counting objects: 69% (1888/2736) remote: Counting objects: 70% (1916/2736) remote: Counting objects: 71% (1943/2736) remote: Counting objects: 72% (1970/2736) remote: Counting objects: 73% (1998/2736) remote: Counting objects: 74% (2025/2736) remote: Counting objects: 75% (2052/2736) remote: Counting objects: 76% (2080/2736) remote: Counting objects: 77% (2107/2736) remote: Counting objects: 78% (2135/2736) remote: Counting objects: 79% (2162/2736) remote: Counting objects: 80% (2189/2736) remote: Counting objects: 81% (2217/2736) remote: Counting objects: 82% (2244/2736) remote: Counting objects: 83% (2271/2736) remote: Counting objects: 84% (2299/2736) remote: Counting objects: 85% (2326/2736) remote: Counting objects: 86% (2353/2736) remote: Counting objects: 87% (2381/2736) remote: Counting objects: 88% (2408/2736) remote: Counting objects: 89% (2436/2736) remote: Counting objects: 90% (2463/2736) remote: Counting objects: 91% (2490/2736) remote: Counting objects: 92% (2518/2736) remote: Counting objects: 93% (2545/2736) remote: Counting objects: 94% (2572/2736) remote: Counting objects: 95% (2600/2736) remote: Counting objects: 96% (2627/2736) remote: Counting objects: 97% (2654/2736) remote: Counting objects: 98% (2682/2736) remote: Counting objects: 99% (2709/2736) remote: Counting objects: 100% (2736/2736) remote: Counting objects: 100% (2736/2736), done. remote: Compressing objects: 0% (1/908) remote: Compressing objects: 1% (10/908) remote: Compressing objects: 2% (19/908) remote: Compressing objects: 3% (28/908) remote: Compressing objects: 4% (37/908) remote: Compressing objects: 5% (46/908) remote: Compressing objects: 6% (55/908) remote: Compressing objects: 7% (64/908) remote: Compressing objects: 8% (73/908) remote: Compressing objects: 9% (82/908) remote: Compressing objects: 10% (91/908) remote: Compressing objects: 11% (100/908) remote: Compressing objects: 12% (109/908) remote: Compressing objects: 13% (119/908) remote: Compressing objects: 14% (128/908) remote: Compressing objects: 15% (137/908) remote: Compressing objects: 16% (146/908) remote: Compressing objects: 17% (155/908) remote: Compressing objects: 18% (164/908) remote: Compressing objects: 19% (173/908) remote: Compressing objects: 20% (182/908) remote: Compressing objects: 21% (191/908) remote: Compressing objects: 22% (200/908) remote: Compressing objects: 23% (209/908) remote: Compressing objects: 24% (218/908) remote: Compressing objects: 25% (227/908) remote: Compressing objects: 26% (237/908) remote: Compressing objects: 27% (246/908) remote: Compressing objects: 28% (255/908) remote: Compressing objects: 29% (264/908) remote: Compressing objects: 30% (273/908) remote: Compressing objects: 31% (282/908) remote: Compressing objects: 32% (291/908) remote: Compressing objects: 33% (300/908) remote: Compressing objects: 34% (309/908) remote: Compressing objects: 35% (318/908) remote: Compressing objects: 36% (327/908) remote: Compressing objects: 37% (336/908) remote: Compressing objects: 38% (346/908) remote: Compressing objects: 39% (355/908) remote: Compressing objects: 40% (364/908) remote: Compressing objects: 41% (373/908) remote: Compressing objects: 42% (382/908) remote: Compressing objects: 43% (391/908) remote: Compressing objects: 44% (400/908) remote: Compressing objects: 45% (409/908) remote: Compressing objects: 46% (418/908) remote: Compressing objects: 47% (427/908) remote: Compressing objects: 48% (436/908) remote: Compressing objects: 49% (445/908) remote: Compressing objects: 50% (454/908) remote: Compressing objects: 51% (464/908) remote: Compressing objects: 52% (473/908) remote: Compressing objects: 53% (482/908) remote: Compressing objects: 54% (491/908) remote: Compressing objects: 55% (500/908) remote: Compressing objects: 56% (509/908) remote: Compressing objects: 57% (518/908) remote: Compressing objects: 58% (527/908) remote: Compressing objects: 59% (536/908) remote: Compressing objects: 60% (545/908) remote: Compressing objects: 61% (554/908) remote: Compressing objects: 62% (563/908) remote: Compressing objects: 63% (573/908) remote: Compressing objects: 64% (582/908) remote: Compressing objects: 65% (591/908) remote: Compressing objects: 66% (600/908) remote: Compressing objects: 67% (609/908) remote: Compressing objects: 68% (618/908) remote: Compressing objects: 69% (627/908) remote: Compressing objects: 70% (636/908) remote: Compressing objects: 71% (645/908) remote: Compressing objects: 72% (654/908) remote: Compressing objects: 73% (663/908) remote: Compressing objects: 74% (672/908) remote: Compressing objects: 75% (681/908) remote: Compressing objects: 76% (691/908) remote: Compressing objects: 77% (700/908) remote: Compressing objects: 78% (709/908) remote: Compressing objects: 79% (718/908) remote: Compressing objects: 80% (727/908) remote: Compressing objects: 81% (736/908) remote: Compressing objects: 82% (745/908) remote: Compressing objects: 83% (754/908) remote: Compressing objects: 84% (763/908) remote: Compressing objects: 85% (772/908) remote: Compressing objects: 86% (781/908) remote: Compressing objects: 87% (790/908) remote: Compressing objects: 88% (800/908) remote: Compressing objects: 89% (809/908) remote: Compressing objects: 90% (818/908) remote: Compressing objects: 91% (827/908) remote: Compressing objects: 92% (836/908) remote: Compressing objects: 93% (845/908) remote: Compressing objects: 94% (854/908) remote: Compressing objects: 95% (863/908) remote: Compressing objects: 96% (872/908) remote: Compressing objects: 97% (881/908) remote: Compressing objects: 98% (890/908) remote: Compressing objects: 99% (899/908) remote: Compressing objects: 100% (908/908) remote: Compressing objects: 100% (908/908), done. Receiving objects: 0% (1/2736) Receiving objects: 1% (28/2736) Receiving objects: 2% (55/2736) Receiving objects: 3% (83/2736) Receiving objects: 4% (110/2736) Receiving objects: 5% (137/2736) Receiving objects: 6% (165/2736) Receiving objects: 7% (192/2736) Receiving objects: 8% (219/2736) Receiving objects: 9% (247/2736) Receiving objects: 10% (274/2736) Receiving objects: 11% (301/2736) Receiving objects: 12% (329/2736) Receiving objects: 13% (356/2736) Receiving objects: 14% (384/2736) Receiving objects: 15% (411/2736) Receiving objects: 16% (438/2736) Receiving objects: 17% (466/2736) Receiving objects: 18% (493/2736) Receiving objects: 19% (520/2736) Receiving objects: 20% (548/2736) Receiving objects: 21% (575/2736) Receiving objects: 22% (602/2736) Receiving objects: 23% (630/2736) Receiving objects: 24% (657/2736) Receiving objects: 25% (684/2736) Receiving objects: 26% (712/2736) Receiving objects: 27% (739/2736) Receiving objects: 28% (767/2736) Receiving objects: 29% (794/2736) Receiving objects: 30% (821/2736) Receiving objects: 31% (849/2736) Receiving objects: 32% (876/2736) Receiving objects: 33% (903/2736) Receiving objects: 34% (931/2736) Receiving objects: 35% (958/2736) Receiving objects: 36% (985/2736) Receiving objects: 37% (1013/2736) Receiving objects: 38% (1040/2736) Receiving objects: 39% (1068/2736) Receiving objects: 40% (1095/2736) Receiving objects: 41% (1122/2736) Receiving objects: 42% (1150/2736) Receiving objects: 43% (1177/2736) Receiving objects: 44% (1204/2736) Receiving objects: 45% (1232/2736) Receiving objects: 46% (1259/2736) Receiving objects: 47% (1286/2736) Receiving objects: 48% (1314/2736) Receiving objects: 49% (1341/2736) Receiving objects: 50% (1368/2736) Receiving objects: 51% (1396/2736) Receiving objects: 52% (1423/2736) Receiving objects: 53% (1451/2736) Receiving objects: 54% (1478/2736) Receiving objects: 55% (1505/2736) Receiving objects: 56% (1533/2736) Receiving objects: 57% (1560/2736) Receiving objects: 58% (1587/2736) Receiving objects: 59% (1615/2736) Receiving objects: 60% (1642/2736) Receiving objects: 61% (1669/2736) Receiving objects: 62% (1697/2736) Receiving objects: 63% (1724/2736) Receiving objects: 64% (1752/2736) Receiving objects: 65% (1779/2736) Receiving objects: 66% (1806/2736) Receiving objects: 67% (1834/2736) Receiving objects: 68% (1861/2736) Receiving objects: 69% (1888/2736) Receiving objects: 70% (1916/2736) Receiving objects: 71% (1943/2736) Receiving objects: 72% (1970/2736) Receiving objects: 73% (1998/2736) Receiving objects: 74% (2025/2736) Receiving objects: 75% (2052/2736) Receiving objects: 76% (2080/2736) Receiving objects: 77% (2107/2736) Receiving objects: 78% (2135/2736) Receiving objects: 79% (2162/2736) Receiving objects: 80% (2189/2736) Receiving objects: 81% (2217/2736) Receiving objects: 82% (2244/2736) Receiving objects: 83% (2271/2736) Receiving objects: 84% (2299/2736) Receiving objects: 85% (2326/2736) Receiving objects: 86% (2353/2736) Receiving objects: 87% (2381/2736) Receiving objects: 88% (2408/2736) Receiving objects: 89% (2436/2736) Receiving objects: 90% (2463/2736) Receiving objects: 91% (2490/2736) Receiving objects: 92% (2518/2736) Receiving objects: 93% (2545/2736) Receiving objects: 94% (2572/2736) Receiving objects: 95% (2600/2736) Receiving objects: 96% (2627/2736) Receiving objects: 97% (2654/2736) Receiving objects: 98% (2682/2736) Receiving objects: 99% (2709/2736) remote: Total 2736 (delta 1932), reused 2551 (delta 1749), pack-reused 0 Receiving objects: 100% (2736/2736) Receiving objects: 100% (2736/2736), 648.52 KiB | 1.90 MiB/s, done. Resolving deltas: 0% (0/1932) Resolving deltas: 1% (20/1932) Resolving deltas: 2% (39/1932) Resolving deltas: 3% (58/1932) Resolving deltas: 4% (78/1932) Resolving deltas: 5% (97/1932) Resolving deltas: 6% (116/1932) Resolving deltas: 7% (136/1932) Resolving deltas: 8% (155/1932) Resolving deltas: 9% (174/1932) Resolving deltas: 10% (194/1932) Resolving deltas: 11% (213/1932) Resolving deltas: 12% (232/1932) Resolving deltas: 13% (252/1932) Resolving deltas: 14% (271/1932) Resolving deltas: 15% (290/1932) Resolving deltas: 16% (310/1932) Resolving deltas: 17% (329/1932) Resolving deltas: 18% (348/1932) Resolving deltas: 19% (369/1932) Resolving deltas: 20% (387/1932) Resolving deltas: 21% (406/1932) Resolving deltas: 22% (426/1932) Resolving deltas: 23% (445/1932) Resolving deltas: 24% (464/1932) Resolving deltas: 25% (483/1932) Resolving deltas: 26% (503/1932) Resolving deltas: 27% (522/1932) Resolving deltas: 28% (541/1932) Resolving deltas: 29% (562/1932) Resolving deltas: 30% (580/1932) Resolving deltas: 31% (599/1932) Resolving deltas: 32% (619/1932) Resolving deltas: 33% (638/1932) Resolving deltas: 34% (657/1932) Resolving deltas: 35% (677/1932) Resolving deltas: 36% (696/1932) Resolving deltas: 37% (715/1932) Resolving deltas: 38% (735/1932) Resolving deltas: 39% (754/1932) Resolving deltas: 40% (773/1932) Resolving deltas: 41% (793/1932) Resolving deltas: 42% (812/1932) Resolving deltas: 43% (831/1932) Resolving deltas: 44% (851/1932) Resolving deltas: 45% (870/1932) Resolving deltas: 46% (889/1932) Resolving deltas: 47% (909/1932) Resolving deltas: 48% (928/1932) Resolving deltas: 49% (947/1932) Resolving deltas: 50% (966/1932) Resolving deltas: 51% (986/1932) Resolving deltas: 52% (1005/1932) Resolving deltas: 53% (1024/1932) Resolving deltas: 54% (1044/1932) Resolving deltas: 55% (1063/1932) Resolving deltas: 56% (1082/1932) Resolving deltas: 57% (1102/1932) Resolving deltas: 58% (1121/1932) Resolving deltas: 59% (1140/1932) Resolving deltas: 60% (1160/1932) Resolving deltas: 61% (1179/1932) Resolving deltas: 62% (1198/1932) Resolving deltas: 63% (1218/1932) Resolving deltas: 64% (1237/1932) Resolving deltas: 65% (1256/1932) Resolving deltas: 66% (1276/1932) Resolving deltas: 67% (1295/1932) Resolving deltas: 68% (1315/1932) Resolving deltas: 69% (1335/1932) Resolving deltas: 70% (1353/1932) Resolving deltas: 71% (1372/1932) Resolving deltas: 72% (1392/1932) Resolving deltas: 73% (1411/1932) Resolving deltas: 74% (1430/1932) Resolving deltas: 75% (1449/1932) Resolving deltas: 76% (1470/1932) Resolving deltas: 77% (1488/1932) Resolving deltas: 78% (1507/1932) Resolving deltas: 79% (1527/1932) Resolving deltas: 80% (1546/1932) Resolving deltas: 81% (1565/1932) Resolving deltas: 82% (1585/1932) Resolving deltas: 83% (1604/1932) Resolving deltas: 84% (1623/1932) Resolving deltas: 85% (1643/1932) Resolving deltas: 86% (1662/1932) Resolving deltas: 87% (1681/1932) Resolving deltas: 88% (1702/1932) Resolving deltas: 89% (1720/1932) Resolving deltas: 90% (1739/1932) Resolving deltas: 91% (1759/1932) Resolving deltas: 92% (1778/1932) Resolving deltas: 93% (1797/1932) Resolving deltas: 94% (1817/1932) Resolving deltas: 95% (1836/1932) Resolving deltas: 96% (1855/1932) Resolving deltas: 97% (1875/1932) Resolving deltas: 98% (1896/1932) Resolving deltas: 99% (1913/1932) Resolving deltas: 100% (1932/1932) Resolving deltas: 100% (1932/1932), done. ==> Validating source files with md5sums... shim ... Skipped rhboot-gnu-efi ... Skipped ==> Verifying source file signatures with gpg... shim git repo ... Passed ==> Making package: shim 15.5-1 (Sun 27 Mar 2022 02:19:31 PM UTC) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... [?25l:: There are 2 providers available for xxd: :: Repository extra 1) gvim 2) vim Enter a number (default=1): resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: harfbuzz will be installed before its freetype2 dependency warning: dependency cycle detected: warning: libglvnd will be installed before its mesa dependency Package (122) New Version Net Change Download Size extra/adobe-source-code-pro-fonts 2.038ro+1.058it+1.018var-1 1.86 MiB extra/adwaita-icon-theme 41.0-1 22.41 MiB extra/alsa-lib 1.2.6.1-1 1.50 MiB extra/alsa-topology-conf 1.2.5.1-1 0.33 MiB extra/alsa-ucm-conf 1.2.6.3-1 0.20 MiB core/argon2 20190702-4 0.08 MiB extra/at-spi2-atk 2.38.0-1 0.17 MiB extra/at-spi2-core 2.44.0-1 2.18 MiB 0.25 MiB extra/atk 2.38.0-1 3.59 MiB extra/avahi 0.8+22+gfd482a7-3 1.70 MiB extra/cairo 1.17.6-1 3.10 MiB extra/cantarell-fonts 1:0.303.1-1 0.19 MiB core/cryptsetup 2.4.3-2 2.24 MiB core/dbus 1.12.20-1 0.72 MiB extra/dconf 0.40.0-1 0.42 MiB extra/desktop-file-utils 0.26-2 0.18 MiB core/device-mapper 2.03.15-1 0.74 MiB extra/flac 1.3.4-2 0.94 MiB extra/fontconfig 2:2.13.96-1 0.97 MiB extra/freetype2 2.11.1-1 1.44 MiB extra/fribidi 1.0.11-1 0.20 MiB extra/gdk-pixbuf2 2.42.6-2 2.91 MiB extra/glib-networking 1:2.72.0-1 0.59 MiB core/gpm 1.20.7.r38.ge82d1a6-4 0.33 MiB extra/graphite 1:1.3.14-1 0.16 MiB extra/gsettings-desktop-schemas 41.0-1 4.60 MiB extra/gtk-update-icon-cache 1:4.4.1-1 0.03 MiB extra/gtk3 1:3.24.33-2 47.76 MiB extra/harfbuzz 4.1.0-1 5.42 MiB extra/hicolor-icon-theme 0.17-2 0.05 MiB core/hwdata 0.357-1 1.99 MiB core/iptables 1:1.8.7-1 1.62 MiB extra/iso-codes 4.9.0-1 18.17 MiB core/json-c 0.15-3 0.15 MiB extra/json-glib 1.6.6-1 0.91 MiB core/kbd 2.4.0-2 2.77 MiB core/kmod 29-1 0.21 MiB extra/lcms2 2.13.1-1 0.58 MiB extra/libasyncns 0.8+3+g68cd5af-3 0.04 MiB extra/libcanberra 0.30+2+gc0620e4-5.1 0.36 MiB extra/libcloudproviders 0.3.1-2 0.46 MiB extra/libcolord 1.4.6-1 1.20 MiB extra/libcups 1:2.4.1-1 0.74 MiB extra/libdaemon 0.14-5 0.05 MiB extra/libdatrie 0.2.13-1 0.05 MiB extra/libdrm 2.4.110-1 0.77 MiB core/libedit 20210910_3.1-1 0.23 MiB extra/libepoxy 1.5.9-1 3.17 MiB extra/libglvnd 1.4.0-1 3.69 MiB extra/libice 1.0.10-3 0.78 MiB extra/libjpeg-turbo 2.1.3-1 1.37 MiB core/libmnl 1.0.4-3 0.05 MiB core/libnetfilter_conntrack 1.0.9-1 0.14 MiB 0.05 MiB core/libnfnetlink 1.0.1-4 0.03 MiB core/libnftnl 1.2.1-1 0.22 MiB core/libnl 3.5.0-3 1.65 MiB extra/libogg 1.3.5-1 0.43 MiB extra/libomxil-bellagio 0.9.3-3 0.53 MiB core/libpcap 1.10.1-2 0.55 MiB extra/libpciaccess 0.16-2 0.05 MiB extra/libpng 1.6.37-3 0.46 MiB extra/libproxy 0.4.17-6 0.23 MiB extra/libpulse 15.0-4 1.30 MiB extra/librsvg 2:2.54.0-1 12.55 MiB extra/libsm 1.2.3-2 0.66 MiB extra/libsndfile 1.0.31-1 0.83 MiB extra/libsoup 2.74.2-2 4.85 MiB extra/libsoup3 3.0.5-1 3.53 MiB extra/libstemmer 2.2.0-1 0.78 MiB extra/libthai 0.1.29-1 0.64 MiB extra/libtiff 4.3.0-1 2.54 MiB extra/libunwind 1.6.2-1 0.21 MiB core/libusb 1.0.25-3 0.18 MiB extra/libvorbis 1.3.7-2 1.34 MiB extra/libx11 1.7.3.1-1 10.00 MiB extra/libxau 1.0.9-3 0.02 MiB extra/libxcb 1.14-1 36.12 MiB extra/libxcomposite 0.4.5-3 0.02 MiB extra/libxcursor 1.2.0-2 0.05 MiB extra/libxdamage 1.1.5-3 0.01 MiB extra/libxdmcp 1.1.3-3 0.29 MiB extra/libxext 1.3.4-3 0.58 MiB extra/libxfixes 6.0.0-1 0.03 MiB extra/libxft 2.3.4-1 0.09 MiB extra/libxi 1.8-1 0.46 MiB extra/libxinerama 1.1.4-3 0.02 MiB extra/libxkbcommon 1.4.0-1 0.70 MiB extra/libxrandr 1.5.2-3 0.05 MiB extra/libxrender 0.9.10-4 0.06 MiB extra/libxshmfence 1.3-2 0.01 MiB extra/libxt 1.2.1-1 1.91 MiB extra/libxtst 1.2.3-4 0.26 MiB extra/libxxf86vm 1.1.4-4 0.03 MiB extra/llvm-libs 13.0.1-2.1 85.80 MiB extra/lm_sensors 1:3.6.0.r41.g31d1f125-1 0.42 MiB core/lzo 2.10-3 0.34 MiB extra/mesa 21.3.7-2 64.84 MiB extra/opus 1.3.1-3 0.48 MiB extra/pango 1:1.50.6-1 2.17 MiB extra/perl-error 0.17029-3 0.04 MiB extra/perl-mailtools 2.21-5 0.11 MiB extra/perl-timedate 2.33-3 0.08 MiB extra/pixman 0.40.0-1 0.36 MiB core/popt 1.18-3 0.53 MiB core/procps-ng 3.3.17-1 1.43 MiB extra/rest 0.8.1+r4+ge5ee6ef-1 0.83 MiB extra/shared-mime-info 2.0+115+gd74a913-1 4.39 MiB extra/sound-theme-freedesktop 0.8-4 0.45 MiB extra/speex 1.2.0-3 0.58 MiB extra/speexdsp 1.2.0-2 0.51 MiB core/systemd 250.3-4 25.81 MiB extra/tdb 1.4.6-1 0.19 MiB extra/tracker3 3.2.1-2 2.87 MiB extra/vim-runtime 8.2.4464-1 31.26 MiB 6.53 MiB extra/vulkan-icd-loader 1.3.208-1 0.40 MiB extra/wayland 1.20.0-1 0.73 MiB extra/xcb-proto 1.14.1-5 0.82 MiB extra/xkeyboard-config 2.35.1-1 6.44 MiB extra/xorgproto 2021.5-1 1.43 MiB core/efivar 37-4 0.29 MiB 0.12 MiB extra/git 2.35.1-1 29.55 MiB extra/gvim 8.2.4464-1 4.14 MiB 2.12 MiB Total Download Size: 9.07 MiB Total Installed Size: 498.06 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... vim-runtime-8.2.4464-1-riscv64 downloading... gvim-8.2.4464-1-riscv64 downloading... at-spi2-core-2.44.0-1-riscv64 downloading... efivar-37-4-riscv64 downloading... libnetfilter_conntrack-1.0.9-1-riscv64 downloading... checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing perl-error... installing perl-timedate... installing perl-mailtools... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn and interactive.singlekey setting perl-io-socket-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support perl-mediawiki-api: git mediawiki support perl-datetime-format-iso8601: git mediawiki support perl-lwp-protocol-https: git mediawiki https support perl-cgi: gitweb (web interface) support python: git svn & git p4 subversion: git svn org.freedesktop.secrets: keyring credential helper libsecret: libsecret credential helper [installed] installing efivar... installing vim-runtime... Optional dependencies for vim-runtime sh: support for some tools and macros [installed] python: demoserver example tool gawk: mve tools upport [installed] installing procps-ng... installing gpm... installing libice... installing libsm... installing xcb-proto... installing libxdmcp... installing libxau... installing libxcb... installing xorgproto... installing libx11... installing libxt... installing atk... installing lzo... installing libpng... installing graphite... installing harfbuzz... Optional dependencies for harfbuzz cairo: hb-view program [pending] chafa: hb-view program installing freetype2... installing fontconfig... Creating fontconfig configuration... Rebuilding fontconfig cache... installing libxext... installing libxrender... installing pixman... installing cairo... installing libxfixes... installing libxcursor... Optional dependencies for libxcursor gnome-themes-standard: fallback icon theme installing libxinerama... installing libxrandr... installing libxi... installing libepoxy... installing libjpeg-turbo... Optional dependencies for libjpeg-turbo java-runtime>11: for TurboJPEG Java wrapper installing libtiff... Optional dependencies for libtiff freeglut: for using tiffgt installing shared-mime-info... installing gdk-pixbuf2... Optional dependencies for gdk-pixbuf2 libwmf: Load .wmf and .apm libopenraw: Load .dng, .cr2, .crw, .nef, .orf, .pef, .arw, .erf, .mrw, and .raf libavif: Load .avif libheif: Load .heif, .heic, and .avif librsvg: Load .svg, .svgz, and .svg.gz [pending] webp-pixbuf-loader: Load .webp installing dconf... installing libxcomposite... installing libxdamage... installing libdatrie... installing libthai... installing libxft... installing fribidi... installing pango... installing dbus... installing libxtst... installing at-spi2-core... Optional dependencies for at-spi2-core dbus-broker: Alternative bus implementation installing at-spi2-atk... installing wayland... installing xkeyboard-config... installing libxkbcommon... Optional dependencies for libxkbcommon libxkbcommon-x11: xkbcli interactive-x11 wayland: xkbcli interactive-wayland [installed] installing hicolor-icon-theme... installing librsvg... installing gtk-update-icon-cache... installing adwaita-icon-theme... installing json-glib... installing desktop-file-utils... installing libpciaccess... installing libdrm... installing libxxf86vm... installing libxshmfence... installing libomxil-bellagio... installing libunwind... installing libedit... installing llvm-libs... installing lm_sensors... Optional dependencies for lm_sensors rrdtool: for logging with sensord perl: for sensor detection and configuration convert [installed] installing libglvnd... installing vulkan-icd-loader... Optional dependencies for vulkan-icd-loader vulkan-driver: packaged vulkan driver installing mesa... Optional dependencies for mesa opengl-man-pages: for the OpenGL API man pages mesa-vdpau: for accelerated video playback libva-mesa-driver: for accelerated video playback installing cantarell-fonts... installing lcms2... installing device-mapper... installing popt... installing json-c... installing argon2... installing cryptsetup... installing libmnl... installing libnftnl... installing libnl... installing libpcap... installing libnfnetlink... installing libnetfilter_conntrack... installing iptables... installing kbd... installing kmod... installing hwdata... installing systemd... warning: directory permissions differ on /var/log/journal/ filesystem: 755 package: 2755 Creating group 'sys' with GID 3. Creating group 'mem' with GID 8. Creating group 'ftp' with GID 11. Creating group 'mail' with GID 12. Creating group 'log' with GID 19. Creating group 'smmsp' with GID 25. Creating group 'proc' with GID 26. Creating group 'games' with GID 50. Creating group 'lock' with GID 54. Creating group 'network' with GID 90. Creating group 'floppy' with GID 94. Creating group 'scanner' with GID 96. Creating group 'power' with GID 98. Creating group 'nobody' with GID 65534. Creating group 'adm' with GID 999. Creating group 'wheel' with GID 998. Creating group 'utmp' with GID 997. Creating group 'audio' with GID 996. Creating group 'disk' with GID 995. Creating group 'input' with GID 994. Creating group 'kmem' with GID 993. Creating group 'kvm' with GID 992. Creating group 'lp' with GID 991. Creating group 'optical' with GID 990. Creating group 'render' with GID 989. Creating group 'sgx' with GID 988. Creating group 'storage' with GID 987. Creating group 'tty' with GID 5. Creating group 'uucp' with GID 986. Creating group 'video' with GID 985. Creating group 'users' with GID 984. Creating group 'systemd-journal' with GID 983. Creating group 'rfkill' with GID 982. Creating group 'bin' with GID 1. Creating user 'bin' (n/a) with UID 1 and GID 1. Creating group 'daemon' with GID 2. Creating user 'daemon' (n/a) with UID 2 and GID 2. Creating user 'mail' (n/a) with UID 8 and GID 12. Creating user 'ftp' (n/a) with UID 14 and GID 11. Creating group 'http' with GID 33. Creating user 'http' (n/a) with UID 33 and GID 33. Creating user 'nobody' (Nobody) with UID 65534 and GID 65534. Creating group 'dbus' with GID 81. Creating user 'dbus' (System Message Bus) with UID 81 and GID 81. Creating group 'git' with GID 981. Creating user 'git' (git daemon user) with UID 981 and GID 981. Creating group 'systemd-coredump' with GID 980. Creating user 'systemd-coredump' (systemd Core Dumper) with UID 980 and GID 980. Creating group 'systemd-network' with GID 979. Creating user 'systemd-network' (systemd Network Management) with UID 979 and GID 979. Creating group 'systemd-oom' with GID 978. Creating user 'systemd-oom' (systemd Userspace OOM Killer) with UID 978 and GID 978. Creating group 'systemd-journal-remote' with GID 977. Creating user 'systemd-journal-remote' (systemd Journal Remote) with UID 977 and GID 977. Creating group 'systemd-resolve' with GID 976. Creating user 'systemd-resolve' (systemd Resolver) with UID 976 and GID 976. Creating group 'systemd-timesync' with GID 975. Creating user 'systemd-timesync' (systemd Time Synchronization) with UID 975 and GID 975. Creating group 'uuidd' with GID 68. Creating user 'uuidd' (n/a) with UID 68 and GID 68. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service → /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target → /usr/lib/systemd/system/remote-fs.target. Optional dependencies for systemd libmicrohttpd: remote journald capabilities quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries polkit: allow administration as unprivileged user curl: machinectl pull-tar and pull-raw [installed] libfido2: unlocking LUKS2 volumes with FIDO2 token installing libcolord... installing libproxy... Optional dependencies for libproxy networkmanager: NetworkManager configuration module perl: Perl bindings [installed] python: Python 3.x bindings libproxy-webkit: PAC proxy support (via WebKit) installing adobe-source-code-pro-fonts... installing gsettings-desktop-schemas... installing glib-networking... installing libsoup... Optional dependencies for libsoup samba: Windows Domain SSO installing rest... installing libdaemon... installing avahi... Optional dependencies for avahi gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc [pending] qt5-base: qt5 bindings libevent: libevent bindings nss-mdns: NSS support for mDNS python-twisted: avahi-bookmarks python-gobject: avahi-bookmarks, avahi-discover python-dbus: avahi-bookmarks, avahi-discover installing libusb... installing libcups... installing iso-codes... installing libcloudproviders... installing libstemmer... installing libsoup3... Optional dependencies for libsoup3 samba: Windows Domain SSO installing tracker3... Optional dependencies for tracker3 libsoup: Alternative remoting backend [installed] installing gtk3... Optional dependencies for gtk3 evince: Default print preview command installing libogg... installing libvorbis... installing alsa-topology-conf... installing alsa-ucm-conf... installing alsa-lib... installing libasyncns... installing opus... installing speexdsp... installing speex... installing flac... installing libsndfile... Optional dependencies for libsndfile alsa-lib: for sndfile-play [installed] installing libpulse... Optional dependencies for libpulse glib2: mainloop integration [installed] installing tdb... Optional dependencies for tdb python: for python bindings installing sound-theme-freedesktop... installing libcanberra... installing gvim... Optional dependencies for gvim python: Python 3 language support ruby: Ruby language support lua: Lua language support perl: Perl language support [installed] tcl: Tcl language support :: Running post-transaction hooks... ( 1/20) Creating system user accounts... Creating group 'avahi' with GID 974. Creating user 'avahi' (Avahi mDNS/DNS-SD daemon) with UID 974 and GID 974. ( 2/20) Updating journal message catalog... ( 3/20) Reloading system manager configuration... Skipped: Current root is not booted. ( 4/20) Updating udev hardware database... ( 5/20) Applying kernel sysctl settings... Skipped: Current root is not booted. ( 6/20) Creating temporary files... ( 7/20) Reloading device manager configuration... Skipped: Device manager is not running. ( 8/20) Arming ConditionNeedsUpdate... ( 9/20) Updating the MIME type database... (10/20) Updating fontconfig configuration... (11/20) Reloading system bus configuration... Skipped: Current root is not booted. (12/20) Warn about old perl modules (13/20) Updating fontconfig cache... (14/20) Probing GDK-Pixbuf loader modules... (15/20) Updating GIO module cache... (16/20) Compiling GSettings XML schema files... (17/20) Probing GTK3 input method modules... (18/20) Updating icon theme caches... (19/20) Updating the info directory file... (20/20) Updating the desktop file MIME type cache... [?25h==> Retrieving sources... ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources...  -> Creating working copy of shim git repo... Cloning into 'shim'... done. Switched to a new branch 'makepkg'  -> Creating working copy of rhboot-gnu-efi git repo... Cloning into 'rhboot-gnu-efi'... done. ==> Starting prepare()... Submodule 'gnu-efi' (https://github.com/rhboot/gnu-efi.git) registered for path 'gnu-efi' Cloning into '/build/shim/src/shim/gnu-efi'... done. From /build/shim/src/rhboot-gnu-efi * branch acc5371207f3041450e1d8ae5b24f6df3e82b152 -> FETCH_HEAD Submodule path 'gnu-efi': checked out 'acc5371207f3041450e1d8ae5b24f6df3e82b152' ==> Starting build()... sed -e "s,@@VERSION@@,15.5," \ -e "s,@@UNAME@@,buildhost," \ -e "s,@@COMMIT@@,f2c598bb2218da966872ba3e0c6e7e830dca6ef0," \ < /build/shim/src/shim/version.c.in > version.c gcc -std=gnu11 -ggdb -ffreestanding -fmacro-prefix-map=/build/shim/src/shim/= -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar -Os -Wall -Wextra -Wno-missing-field-initializers -nostdinc -I/build/shim/src/shim/Cryptlib -I/build/shim/src/shim/Cryptlib/Include -I/build/shim/src/shim/gnu-efi/inc -I/build/shim/src/shim/gnu-efi/inc/ -I/build/shim/src/shim/gnu-efi/inc/protocol -I/build/shim/src/shim/include -iquote /build/shim/src/shim -iquote /build/shim/src/shim -isystem /build/shim/src/shim/include/system -isystem /usr/lib/gcc/riscv64-unknown-linux-gnu/11.2.0/include -DDEFAULT_LOADER='L"\\\\grub.efi"' -DDEFAULT_LOADER_CHAR='"\\\\grub.efi"' -DEFI_ARCH='L""' -DDEBUGDIR='L"/usr/lib/debug/usr/share/shim/-15.5/"' -c -o shim.o shim.c In file included from shim.h:51, from shim.c:14: /build/shim/src/shim/include/system/stdarg.h:72:2: error: #error what arch is this 72 | #error what arch is this | ^~~~~ In file included from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efi.h:54:2: error: #error Usupported architecture 54 | #error Usupported architecture | ^~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:58, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efidef.h:37:9: error: unknown type name ‘UINTN’ 37 | typedef UINTN EFI_STATUS; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:38:9: error: unknown type name ‘UINT64’ 38 | typedef UINT64 EFI_LBA; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:39:9: error: unknown type name ‘UINTN’ 39 | typedef UINTN EFI_TPL; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:40:9: error: unknown type name ‘VOID’ 40 | typedef VOID *EFI_HANDLE; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:41:9: error: unknown type name ‘VOID’ 41 | typedef VOID *EFI_EVENT; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:65:5: error: unknown type name ‘UINT32’ 65 | UINT32 Data1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:66:5: error: unknown type name ‘UINT16’ 66 | UINT16 Data2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:67:5: error: unknown type name ‘UINT16’ 67 | UINT16 Data3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:68:5: error: unknown type name ‘UINT8’ 68 | UINT8 Data4[8]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:77:5: error: unknown type name ‘UINT16’ 77 | UINT16 Year; // 1998 - 20XX | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:78:5: error: unknown type name ‘UINT8’ 78 | UINT8 Month; // 1 - 12 | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:79:5: error: unknown type name ‘UINT8’ 79 | UINT8 Day; // 1 - 31 | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:80:5: error: unknown type name ‘UINT8’ 80 | UINT8 Hour; // 0 - 23 | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:81:5: error: unknown type name ‘UINT8’ 81 | UINT8 Minute; // 0 - 59 | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:82:5: error: unknown type name ‘UINT8’ 82 | UINT8 Second; // 0 - 59 | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:83:5: error: unknown type name ‘UINT8’ 83 | UINT8 Pad1; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:84:5: error: unknown type name ‘UINT32’ 84 | UINT32 Nanosecond; // 0 - 999,999,999 | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:85:5: error: unknown type name ‘INT16’ 85 | INT16 TimeZone; // -1440 to 1440 or 2047 | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:86:5: error: unknown type name ‘UINT8’ 86 | UINT8 Daylight; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:87:5: error: unknown type name ‘UINT8’ 87 | UINT8 Pad2; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:104:5: error: unknown type name ‘UINT8’ 104 | UINT8 Addr[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:108:5: error: unknown type name ‘UINT8’ 108 | UINT8 Addr[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:112:5: error: unknown type name ‘UINT8’ 112 | UINT8 Addr[32]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:116:5: error: unknown type name ‘UINT32’ 116 | UINT32 ReceivedQueueTimeoutValue; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:117:5: error: unknown type name ‘UINT32’ 117 | UINT32 TransmitQueueTimeoutValue; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:118:5: error: unknown type name ‘UINT16’ 118 | UINT16 ProtocolTypeFilter; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:132:9: error: unknown type name ‘UINT64’ 132 | typedef UINT64 EFI_PHYSICAL_ADDRESS; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:133:9: error: unknown type name ‘UINT64’ 133 | typedef UINT64 EFI_VIRTUAL_ADDRESS; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:184:5: error: unknown type name ‘UINT32’ 184 | UINT32 Type; // Field size is 32 bits followed by 32 bit pad | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:185:5: error: unknown type name ‘UINT32’ 185 | UINT32 Pad; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:188:5: error: unknown type name ‘UINT64’ 188 | UINT64 NumberOfPages; // Field size is 64 bits | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:189:5: error: unknown type name ‘UINT64’ 189 | UINT64 Attribute; // Field size is 64 bits | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidef.h:196:9: error: unknown type name ‘CHAR8’ 196 | typedef CHAR8 ISO_639_2; | ^~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:59, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efidevp.h:27:9: error: unknown type name ‘UINT8’ 27 | UINT8 Type; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:28:9: error: unknown type name ‘UINT8’ 28 | UINT8 SubType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:29:9: error: unknown type name ‘UINT8’ 29 | UINT8 Length[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:83:9: error: unknown type name ‘UINT8’ 83 | UINT8 Function; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:84:9: error: unknown type name ‘UINT8’ 84 | UINT8 Device; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:90:9: error: unknown type name ‘UINT8’ 90 | UINT8 FunctionNumber ; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:96:9: error: unknown type name ‘UINT32’ 96 | UINT32 MemoryType; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:112:5: error: unknown type name ‘UINT8’ 112 | UINT8 LegacyDriveLetter; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:118:9: error: unknown type name ‘UINT32’ 118 | UINT32 Controller; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:130:9: error: unknown type name ‘UINT32’ 130 | UINT32 HID; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:131:9: error: unknown type name ‘UINT32’ 131 | UINT32 UID; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:137:9: error: unknown type name ‘UINT32’ 137 | UINT32 HID; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:138:9: error: unknown type name ‘UINT32’ 138 | UINT32 UID; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:139:9: error: unknown type name ‘UINT32’ 139 | UINT32 CID; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:140:9: error: unknown type name ‘UINT8’ 140 | UINT8 HidStr[1]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:146:5: error: unknown type name ‘UINT32’ 146 | UINT32 ADR ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:172:9: error: unknown type name ‘UINT8’ 172 | UINT8 PrimarySecondary; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:173:9: error: unknown type name ‘UINT8’ 173 | UINT8 SlaveMaster; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:174:9: error: unknown type name ‘UINT16’ 174 | UINT16 Lun; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:180:9: error: unknown type name ‘UINT16’ 180 | UINT16 Pun; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:181:9: error: unknown type name ‘UINT16’ 181 | UINT16 Lun; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:187:9: error: unknown type name ‘UINT32’ 187 | UINT32 Reserved; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:188:9: error: unknown type name ‘UINT64’ 188 | UINT64 WWN; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:189:9: error: unknown type name ‘UINT64’ 189 | UINT64 Lun; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:199:5: error: unknown type name ‘UINT32’ 199 | UINT32 Reserved ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:200:5: error: unknown type name ‘UINT8’ 200 | UINT8 WWN[ 8 ] ; /* World Wide Name */ | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:201:5: error: unknown type name ‘UINT8’ 201 | UINT8 Lun[ 8 ] ; /* Logical unit, T-10 SCSI Architecture Model 4 specification */ | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:207:9: error: unknown type name ‘UINT32’ 207 | UINT32 Reserved; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:208:9: error: unknown type name ‘UINT64’ 208 | UINT64 Guid; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:214:9: error: unknown type name ‘UINT8’ 214 | UINT8 Port; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:215:9: error: unknown type name ‘UINT8’ 215 | UINT8 Endpoint; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:225:5: error: unknown type name ‘UINT16’ 225 | UINT16 HBAPortNumber ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:226:5: error: unknown type name ‘UINT16’ 226 | UINT16 PortMultiplierPortNumber ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:227:5: error: unknown type name ‘UINT16’ 227 | UINT16 Lun ; /* Logical Unit Number */ | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:237:5: error: unknown type name ‘UINT16’ 237 | UINT16 InterfaceNumber ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:238:5: error: unknown type name ‘UINT16’ 238 | UINT16 VendorId ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:239:5: error: unknown type name ‘UINT16’ 239 | UINT16 ProductId ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:240:5: error: unknown type name ‘CHAR16’ 240 | CHAR16 SerialNumber[ 1 ] ; /* UTF-16 characters of the USB serial number */ | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:250:5: error: unknown type name ‘UINT8’ 250 | UINT8 Lun ; /* Logical Unit Number */ | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:256:9: error: unknown type name ‘UINT16’ 256 | UINT16 VendorId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:257:9: error: unknown type name ‘UINT16’ 257 | UINT16 ProductId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:258:9: error: unknown type name ‘UINT8’ 258 | UINT8 DeviceClass; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:259:9: error: unknown type name ‘UINT8’ 259 | UINT8 DeviceSubclass; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:260:9: error: unknown type name ‘UINT8’ 260 | UINT8 DeviceProtocol; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:266:9: error: unknown type name ‘UINT32’ 266 | UINT32 Tid; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:273:9: error: unknown type name ‘UINT8’ 273 | UINT8 IfType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:281:9: error: unknown type name ‘UINT16’ 281 | UINT16 LocalPort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:282:9: error: unknown type name ‘UINT16’ 282 | UINT16 RemotePort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:283:9: error: unknown type name ‘UINT16’ 283 | UINT16 Protocol; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:295:9: error: unknown type name ‘UINT16’ 295 | UINT16 LocalPort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:296:9: error: unknown type name ‘UINT16’ 296 | UINT16 RemotePort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:297:9: error: unknown type name ‘UINT16’ 297 | UINT16 Protocol; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:300:9: error: unknown type name ‘UINT8’ 300 | UINT8 PrefixLength ; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:312:9: error: unknown type name ‘CHAR8’ 312 | CHAR8 Uri[1]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:322:5: error: unknown type name ‘UINT16’ 322 | UINT16 VlanId ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:328:9: error: unknown type name ‘UINT32’ 328 | UINT32 ResourceFlags; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:329:9: error: unknown type name ‘UINT8’ 329 | UINT8 PortGid[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:330:9: error: unknown type name ‘UINT64’ 330 | UINT64 ServiceId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:331:9: error: unknown type name ‘UINT64’ 331 | UINT64 TargetPortId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:332:9: error: unknown type name ‘UINT64’ 332 | UINT64 DeviceId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:338:9: error: unknown type name ‘UINT32’ 338 | UINT32 Reserved; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:339:9: error: unknown type name ‘UINT64’ 339 | UINT64 BaudRate; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:340:9: error: unknown type name ‘UINT8’ 340 | UINT8 DataBits; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:341:9: error: unknown type name ‘UINT8’ 341 | UINT8 Parity; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:342:9: error: unknown type name ‘UINT8’ 342 | UINT8 StopBits; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:373:9: error: unknown type name ‘UINT32’ 373 | UINT32 PartitionNumber; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:374:9: error: unknown type name ‘UINT64’ 374 | UINT64 PartitionStart; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:375:9: error: unknown type name ‘UINT64’ 375 | UINT64 PartitionSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:376:9: error: unknown type name ‘UINT8’ 376 | UINT8 Signature[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:377:9: error: unknown type name ‘UINT8’ 377 | UINT8 MBRType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:378:9: error: unknown type name ‘UINT8’ 378 | UINT8 SignatureType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:390:9: error: unknown type name ‘UINT32’ 390 | UINT32 BootEntry; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:391:9: error: unknown type name ‘UINT64’ 391 | UINT64 PartitionStart; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:392:9: error: unknown type name ‘UINT64’ 392 | UINT64 PartitionSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:401:9: error: unknown type name ‘CHAR16’ 401 | CHAR16 PathName[1]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:439:5: error: unknown type name ‘UINT32’ 439 | UINT32 Reserved ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:440:5: error: unknown type name ‘UINT64’ 440 | UINT64 StartingOffset ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:441:5: error: unknown type name ‘UINT64’ 441 | UINT64 EndingOffset ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:453:9: error: unknown type name ‘UINT16’ 453 | UINT16 DeviceType; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:454:9: error: unknown type name ‘UINT16’ 454 | UINT16 StatusFlag; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:455:9: error: unknown type name ‘CHAR8’ 455 | CHAR8 String[1]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:542:1: error: unknown type name ‘CHAR16’ 542 | CHAR16* | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:543:8: error: expected ‘)’ before ‘*’ token 543 | (EFIAPI *EFI_DEVICE_PATH_TO_TEXT_NODE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efidevp.h:550:1: error: unknown type name ‘CHAR16’ 550 | CHAR16* | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:551:8: error: expected ‘)’ before ‘*’ token 551 | (EFIAPI *EFI_DEVICE_PATH_TO_TEXT_PATH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efidevp.h:558:9: error: unknown type name ‘EFI_DEVICE_PATH_TO_TEXT_NODE’ 558 | EFI_DEVICE_PATH_TO_TEXT_NODE ConvertDeviceNodeToText; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:559:9: error: unknown type name ‘EFI_DEVICE_PATH_TO_TEXT_PATH’ 559 | EFI_DEVICE_PATH_TO_TEXT_PATH ConvertDevicePathToText; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:567:8: error: expected ‘)’ before ‘*’ token 567 | (EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_NODE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efidevp.h:573:8: error: expected ‘)’ before ‘*’ token 573 | (EFIAPI *EFI_DEVICE_PATH_FROM_TEXT_PATH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efidevp.h:578:5: error: unknown type name ‘EFI_DEVICE_PATH_FROM_TEXT_NODE’ 578 | EFI_DEVICE_PATH_FROM_TEXT_NODE ConvertTextToDeviceNode; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efidevp.h:579:5: error: unknown type name ‘EFI_DEVICE_PATH_FROM_TEXT_PATH’ 579 | EFI_DEVICE_PATH_FROM_TEXT_PATH ConvertTextToDevicePath; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:60, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efipciio.h:10:1: warning: data definition has no type or storage class 10 | INTERFACE_DECL(_EFI_PCI_IO_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:10:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efipciio.h:10:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efipciio.h:11:1: warning: data definition has no type or storage class 11 | INTERFACE_DECL(_EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:11:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efipciio.h:11:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efipciio.h:33:8: error: expected ‘)’ before ‘*’ token 33 | (EFIAPI *EFI_PCI_IO_PROTOCOL_POLL_IO_MEM) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:46:8: error: expected ‘)’ before ‘*’ token 46 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_POLL_IO_MEM) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:58:8: error: expected ‘)’ before ‘*’ token 58 | (EFIAPI *EFI_PCI_IO_PROTOCOL_IO_MEM) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:69:8: error: expected ‘)’ before ‘*’ token 69 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_IO_MEM) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:78:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_IO_MEM’ 78 | EFI_PCI_IO_PROTOCOL_IO_MEM Read; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:79:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_IO_MEM’ 79 | EFI_PCI_IO_PROTOCOL_IO_MEM Write; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:83:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_IO_MEM’ 83 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_IO_MEM Read; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:84:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_IO_MEM’ 84 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_IO_MEM Write; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:89:8: error: expected ‘)’ before ‘*’ token 89 | (EFIAPI *EFI_PCI_IO_PROTOCOL_CONFIG) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:99:8: error: expected ‘)’ before ‘*’ token 99 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_CONFIGURATION) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:105:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_CONFIG’ 105 | EFI_PCI_IO_PROTOCOL_CONFIG Read; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:106:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_CONFIG’ 106 | EFI_PCI_IO_PROTOCOL_CONFIG Write; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:111:8: error: expected ‘)’ before ‘*’ token 111 | (EFIAPI *EFI_PCI_IO_PROTOCOL_COPY_MEM) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:123:8: error: expected ‘)’ before ‘*’ token 123 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_COPY_MEM) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:150:8: error: expected ‘)’ before ‘*’ token 150 | (EFIAPI *EFI_PCI_IO_PROTOCOL_MAP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:161:8: error: expected ‘)’ before ‘*’ token 161 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_MAP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:172:8: error: expected ‘)’ before ‘*’ token 172 | (EFIAPI *EFI_PCI_IO_PROTOCOL_UNMAP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:179:8: error: expected ‘)’ before ‘*’ token 179 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_UNMAP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:186:8: error: expected ‘)’ before ‘*’ token 186 | (EFIAPI *EFI_PCI_IO_PROTOCOL_ALLOCATE_BUFFER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:197:8: error: expected ‘)’ before ‘*’ token 197 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_ALLOCATE_BUFFER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:208:8: error: expected ‘)’ before ‘*’ token 208 | (EFIAPI *EFI_PCI_IO_PROTOCOL_FREE_BUFFER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:216:8: error: expected ‘)’ before ‘*’ token 216 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_FREE_BUFFER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:224:8: error: expected ‘)’ before ‘*’ token 224 | (EFIAPI *EFI_PCI_IO_PROTOCOL_FLUSH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:230:8: error: expected ‘)’ before ‘*’ token 230 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_FLUSH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:236:8: error: expected ‘)’ before ‘*’ token 236 | (EFIAPI *EFI_PCI_IO_PROTOCOL_GET_LOCATION) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:291:5: error: unknown type name ‘UINT8’ 291 | UINT8 Register; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:292:5: error: unknown type name ‘UINT8’ 292 | UINT8 Function; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:293:5: error: unknown type name ‘UINT8’ 293 | UINT8 Device; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:294:5: error: unknown type name ‘UINT8’ 294 | UINT8 Bus; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:295:5: error: unknown type name ‘UINT32’ 295 | UINT32 ExtendedRegister; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:309:8: error: expected ‘)’ before ‘*’ token 309 | (EFIAPI *EFI_PCI_IO_PROTOCOL_ATTRIBUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:318:8: error: expected ‘)’ before ‘*’ token 318 | (EFIAPI *EFI_PCI_IO_PROTOCOL_GET_BAR_ATTRIBUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:327:8: error: expected ‘)’ before ‘*’ token 327 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_GET_ATTRIBUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:335:8: error: expected ‘)’ before ‘*’ token 335 | (EFIAPI *EFI_PCI_IO_PROTOCOL_SET_BAR_ATTRIBUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:345:8: error: expected ‘)’ before ‘*’ token 345 | (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_SET_ATTRIBUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipciio.h:353:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_POLL_IO_MEM’ 353 | EFI_PCI_IO_PROTOCOL_POLL_IO_MEM PollMem; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:354:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_POLL_IO_MEM’ 354 | EFI_PCI_IO_PROTOCOL_POLL_IO_MEM PollIo; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:358:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_COPY_MEM’ 358 | EFI_PCI_IO_PROTOCOL_COPY_MEM CopyMem; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:359:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_MAP’ 359 | EFI_PCI_IO_PROTOCOL_MAP Map; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:360:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_UNMAP’ 360 | EFI_PCI_IO_PROTOCOL_UNMAP Unmap; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:361:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_ALLOCATE_BUFFER’ 361 | EFI_PCI_IO_PROTOCOL_ALLOCATE_BUFFER AllocateBuffer; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:362:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_FREE_BUFFER’ 362 | EFI_PCI_IO_PROTOCOL_FREE_BUFFER FreeBuffer; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:363:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_FLUSH’ 363 | EFI_PCI_IO_PROTOCOL_FLUSH Flush; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:364:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_GET_LOCATION’ 364 | EFI_PCI_IO_PROTOCOL_GET_LOCATION GetLocation; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:365:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_ATTRIBUTES’ 365 | EFI_PCI_IO_PROTOCOL_ATTRIBUTES Attributes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:366:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_GET_BAR_ATTRIBUTES’ 366 | EFI_PCI_IO_PROTOCOL_GET_BAR_ATTRIBUTES GetBarAttributes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:367:3: error: unknown type name ‘EFI_PCI_IO_PROTOCOL_SET_BAR_ATTRIBUTES’ 367 | EFI_PCI_IO_PROTOCOL_SET_BAR_ATTRIBUTES SetBarAttributes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:368:3: error: unknown type name ‘UINT64’ 368 | UINT64 RomSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:369:3: error: unknown type name ‘VOID’ 369 | VOID *RomImage; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:382:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_POLL_IO_MEM’ 382 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_POLL_IO_MEM PollMem; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:383:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_POLL_IO_MEM’ 383 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_POLL_IO_MEM PollIo; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:387:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_COPY_MEM’ 387 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_COPY_MEM CopyMem; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:388:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_MAP’ 388 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_MAP Map; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:389:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_UNMAP’ 389 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_UNMAP Unmap; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:390:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_ALLOCATE_BUFFER’ 390 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_ALLOCATE_BUFFER AllocateBuffer; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:391:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_FREE_BUFFER’ 391 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_FREE_BUFFER FreeBuffer; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:392:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_FLUSH’ 392 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_FLUSH Flush; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:393:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_GET_ATTRIBUTES’ 393 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_GET_ATTRIBUTES GetAttributes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:394:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_SET_ATTRIBUTES’ 394 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_SET_ATTRIBUTES SetAttributes; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:395:3: error: unknown type name ‘EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_CONFIGURATION’ 395 | EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_CONFIGURATION Configuration; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipciio.h:396:3: error: unknown type name ‘UINT32’ 396 | UINT32 SegmentNumber; | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:61, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efiprot.h:53:1: warning: data definition has no type or storage class 53 | INTERFACE_DECL(_EFI_BLOCK_IO_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:53:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:53:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:57:8: error: expected ‘)’ before ‘*’ token 57 | (EFIAPI *EFI_BLOCK_RESET) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:64:8: error: expected ‘)’ before ‘*’ token 64 | (EFIAPI *EFI_BLOCK_READ) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:75:8: error: expected ‘)’ before ‘*’ token 75 | (EFIAPI *EFI_BLOCK_WRITE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:86:8: error: expected ‘)’ before ‘*’ token 86 | (EFIAPI *EFI_BLOCK_FLUSH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:93:5: error: unknown type name ‘UINT32’ 93 | UINT32 MediaId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:101:5: error: unknown type name ‘UINT32’ 101 | UINT32 BlockSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:102:5: error: unknown type name ‘UINT32’ 102 | UINT32 IoAlign; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:108:5: error: unknown type name ‘UINT32’ 108 | UINT32 LogicalBlocksPerPhysicalBlock; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:110:5: error: unknown type name ‘UINT32’ 110 | UINT32 OptimalTransferLengthGranularity; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:114:5: error: unknown type name ‘UINT64’ 114 | UINT64 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:118:5: error: unknown type name ‘EFI_BLOCK_RESET’ 118 | EFI_BLOCK_RESET Reset; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:119:5: error: unknown type name ‘EFI_BLOCK_READ’ 119 | EFI_BLOCK_READ ReadBlocks; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:120:5: error: unknown type name ‘EFI_BLOCK_WRITE’ 120 | EFI_BLOCK_WRITE WriteBlocks; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:121:5: error: unknown type name ‘EFI_BLOCK_FLUSH’ 121 | EFI_BLOCK_FLUSH FlushBlocks; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:131:1: warning: data definition has no type or storage class 131 | INTERFACE_DECL(_EFI_BLOCK_IO2_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:131:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:131:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:140:8: error: expected ‘)’ before ‘*’ token 140 | (EFIAPI *EFI_BLOCK_RESET_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:147:8: error: expected ‘)’ before ‘*’ token 147 | (EFIAPI *EFI_BLOCK_READ_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:158:8: error: expected ‘)’ before ‘*’ token 158 | (EFIAPI *EFI_BLOCK_WRITE_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:169:8: error: expected ‘)’ before ‘*’ token 169 | (EFIAPI *EFI_BLOCK_FLUSH_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:176:5: error: unknown type name ‘EFI_BLOCK_RESET_EX’ 176 | EFI_BLOCK_RESET_EX Reset; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:177:5: error: unknown type name ‘EFI_BLOCK_READ_EX’ 177 | EFI_BLOCK_READ_EX ReadBlocksEx; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:178:5: error: unknown type name ‘EFI_BLOCK_WRITE_EX’ 178 | EFI_BLOCK_WRITE_EX WriteBlocksEx; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:179:5: error: unknown type name ‘EFI_BLOCK_FLUSH_EX’ 179 | EFI_BLOCK_FLUSH_EX FlushBlocksEx; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:193:1: warning: data definition has no type or storage class 193 | INTERFACE_DECL(_EFI_DISK_IO_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:193:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:193:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:197:8: error: expected ‘)’ before ‘*’ token 197 | (EFIAPI *EFI_DISK_READ) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:208:8: error: expected ‘)’ before ‘*’ token 208 | (EFIAPI *EFI_DISK_WRITE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:218:5: error: unknown type name ‘UINT64’ 218 | UINT64 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:219:5: error: unknown type name ‘EFI_DISK_READ’ 219 | EFI_DISK_READ ReadDisk; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:220:5: error: unknown type name ‘EFI_DISK_WRITE’ 220 | EFI_DISK_WRITE WriteDisk; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:232:1: warning: data definition has no type or storage class 232 | INTERFACE_DECL(_EFI_DISK_IO2_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:232:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:232:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:241:8: error: expected ‘)’ before ‘*’ token 241 | (EFIAPI *EFI_DISK_CANCEL_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:247:8: error: expected ‘)’ before ‘*’ token 247 | (EFIAPI *EFI_DISK_READ_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:258:8: error: expected ‘)’ before ‘*’ token 258 | (EFIAPI *EFI_DISK_WRITE_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:269:8: error: expected ‘)’ before ‘*’ token 269 | (EFIAPI *EFI_DISK_FLUSH_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:275:5: error: unknown type name ‘UINT64’ 275 | UINT64 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:276:5: error: unknown type name ‘EFI_DISK_CANCEL_EX’ 276 | EFI_DISK_CANCEL_EX Cancel; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:277:5: error: unknown type name ‘EFI_DISK_READ_EX’ 277 | EFI_DISK_READ_EX ReadDiskEx; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:278:5: error: unknown type name ‘EFI_DISK_WRITE_EX’ 278 | EFI_DISK_WRITE_EX WriteDiskEx; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:279:5: error: unknown type name ‘EFI_DISK_FLUSH_EX’ 279 | EFI_DISK_FLUSH_EX FlushDiskEx; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:290:1: warning: data definition has no type or storage class 290 | INTERFACE_DECL(_EFI_SIMPLE_FILE_SYSTEM_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:290:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:290:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:291:1: warning: data definition has no type or storage class 291 | INTERFACE_DECL(_EFI_FILE_HANDLE); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:291:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:291:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:295:8: error: expected ‘)’ before ‘*’ token 295 | (EFIAPI *EFI_VOLUME_OPEN) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:304:5: error: unknown type name ‘UINT64’ 304 | UINT64 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:305:5: error: unknown type name ‘EFI_VOLUME_OPEN’ 305 | EFI_VOLUME_OPEN OpenVolume; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:317:8: error: expected ‘)’ before ‘*’ token 317 | (EFIAPI *EFI_FILE_OPEN) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:341:8: error: expected ‘)’ before ‘*’ token 341 | (EFIAPI *EFI_FILE_CLOSE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:347:8: error: expected ‘)’ before ‘*’ token 347 | (EFIAPI *EFI_FILE_DELETE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:353:8: error: expected ‘)’ before ‘*’ token 353 | (EFIAPI *EFI_FILE_READ) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:361:8: error: expected ‘)’ before ‘*’ token 361 | (EFIAPI *EFI_FILE_WRITE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:369:8: error: expected ‘)’ before ‘*’ token 369 | (EFIAPI *EFI_FILE_SET_POSITION) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:376:8: error: expected ‘)’ before ‘*’ token 376 | (EFIAPI *EFI_FILE_GET_POSITION) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:383:8: error: expected ‘)’ before ‘*’ token 383 | (EFIAPI *EFI_FILE_GET_INFO) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:392:8: error: expected ‘)’ before ‘*’ token 392 | (EFIAPI *EFI_FILE_SET_INFO) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:401:8: error: expected ‘)’ before ‘*’ token 401 | (EFIAPI *EFI_FILE_FLUSH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:408:5: error: unknown type name ‘UINTN’ 408 | UINTN BufferSize; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:409:5: error: unknown type name ‘VOID’ 409 | VOID *Buffer; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:414:8: error: expected ‘)’ before ‘*’ token 414 | (EFIAPI *EFI_FILE_OPEN_EX)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:425:8: error: expected ‘)’ before ‘*’ token 425 | (EFIAPI *EFI_FILE_READ_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:432:8: error: expected ‘)’ before ‘*’ token 432 | (EFIAPI *EFI_FILE_WRITE_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:439:8: error: expected ‘)’ before ‘*’ token 439 | (EFIAPI *EFI_FILE_FLUSH_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:450:5: error: unknown type name ‘UINT64’ 450 | UINT64 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:451:5: error: unknown type name ‘EFI_FILE_OPEN’ 451 | EFI_FILE_OPEN Open; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:452:5: error: unknown type name ‘EFI_FILE_CLOSE’ 452 | EFI_FILE_CLOSE Close; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:453:5: error: unknown type name ‘EFI_FILE_DELETE’ 453 | EFI_FILE_DELETE Delete; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:454:5: error: unknown type name ‘EFI_FILE_READ’ 454 | EFI_FILE_READ Read; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:455:5: error: unknown type name ‘EFI_FILE_WRITE’ 455 | EFI_FILE_WRITE Write; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:456:5: error: unknown type name ‘EFI_FILE_GET_POSITION’ 456 | EFI_FILE_GET_POSITION GetPosition; | ^~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:457:5: error: unknown type name ‘EFI_FILE_SET_POSITION’ 457 | EFI_FILE_SET_POSITION SetPosition; | ^~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:458:5: error: unknown type name ‘EFI_FILE_GET_INFO’ 458 | EFI_FILE_GET_INFO GetInfo; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:459:5: error: unknown type name ‘EFI_FILE_SET_INFO’ 459 | EFI_FILE_SET_INFO SetInfo; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:460:5: error: unknown type name ‘EFI_FILE_FLUSH’ 460 | EFI_FILE_FLUSH Flush; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:461:5: error: unknown type name ‘EFI_FILE_OPEN_EX’ 461 | EFI_FILE_OPEN_EX OpenEx; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:462:5: error: unknown type name ‘EFI_FILE_READ_EX’ 462 | EFI_FILE_READ_EX ReadEx; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:463:5: error: unknown type name ‘EFI_FILE_WRITE_EX’ 463 | EFI_FILE_WRITE_EX WriteEx; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:464:5: error: unknown type name ‘EFI_FILE_FLUSH_EX’ 464 | EFI_FILE_FLUSH_EX FlushEx; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:478:5: error: unknown type name ‘UINT64’ 478 | UINT64 Size; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:479:5: error: unknown type name ‘UINT64’ 479 | UINT64 FileSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:480:5: error: unknown type name ‘UINT64’ 480 | UINT64 PhysicalSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:484:5: error: unknown type name ‘UINT64’ 484 | UINT64 Attribute; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:485:5: error: unknown type name ‘CHAR16’ 485 | CHAR16 FileName[1]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:502:5: error: unknown type name ‘UINT64’ 502 | UINT64 Size; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:504:5: error: unknown type name ‘UINT64’ 504 | UINT64 VolumeSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:505:5: error: unknown type name ‘UINT64’ 505 | UINT64 FreeSpace; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:506:5: error: unknown type name ‘UINT32’ 506 | UINT32 BlockSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:507:5: error: unknown type name ‘CHAR16’ 507 | CHAR16 VolumeLabel[1]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:524:5: error: unknown type name ‘CHAR16’ 524 | CHAR16 VolumeLabel[1]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:538:1: warning: data definition has no type or storage class 538 | INTERFACE_DECL(_EFI_LOAD_FILE_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:538:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:538:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:542:8: error: expected ‘)’ before ‘*’ token 542 | (EFIAPI *EFI_LOAD_FILE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:551:5: error: unknown type name ‘EFI_LOAD_FILE’ 551 | EFI_LOAD_FILE LoadFile; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:565:1: warning: data definition has no type or storage class 565 | INTERFACE_DECL(_EFI_DEVICE_IO_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:565:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:565:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:587:8: error: expected ‘)’ before ‘*’ token 587 | (EFIAPI *EFI_DEVICE_IO) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:596:5: error: unknown type name ‘EFI_DEVICE_IO’ 596 | EFI_DEVICE_IO Read; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:597:5: error: unknown type name ‘EFI_DEVICE_IO’ 597 | EFI_DEVICE_IO Write; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:602:8: error: expected ‘)’ before ‘*’ token 602 | (EFIAPI *EFI_PCI_DEVICE_PATH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:616:8: error: expected ‘)’ before ‘*’ token 616 | (EFIAPI *EFI_IO_MAP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:627:8: error: expected ‘)’ before ‘*’ token 627 | (EFIAPI *EFI_IO_UNMAP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:634:8: error: expected ‘)’ before ‘*’ token 634 | (EFIAPI *EFI_IO_ALLOCATE_BUFFER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:644:8: error: expected ‘)’ before ‘*’ token 644 | (EFIAPI *EFI_IO_FLUSH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:650:8: error: expected ‘)’ before ‘*’ token 650 | (EFIAPI *EFI_IO_FREE_BUFFER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:660:5: error: unknown type name ‘EFI_IO_MAP’ 660 | EFI_IO_MAP Map; | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:661:5: error: unknown type name ‘EFI_PCI_DEVICE_PATH’ 661 | EFI_PCI_DEVICE_PATH PciDevicePath; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:662:5: error: unknown type name ‘EFI_IO_UNMAP’ 662 | EFI_IO_UNMAP Unmap; | ^~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:663:5: error: unknown type name ‘EFI_IO_ALLOCATE_BUFFER’ 663 | EFI_IO_ALLOCATE_BUFFER AllocateBuffer; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:664:5: error: unknown type name ‘EFI_IO_FLUSH’ 664 | EFI_IO_FLUSH Flush; | ^~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:665:5: error: unknown type name ‘EFI_IO_FREE_BUFFER’ 665 | EFI_IO_FREE_BUFFER FreeBuffer; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:682:1: warning: data definition has no type or storage class 682 | INTERFACE_DECL(_EFI_UNICODE_COLLATION_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:682:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:682:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:686:2: error: unknown type name ‘EFIAPI’ 686 | (EFIAPI *EFI_UNICODE_STRICOLL) ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:694:8: error: expected ‘)’ before ‘*’ token 694 | (EFIAPI *EFI_UNICODE_METAIMATCH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:702:2: error: unknown type name ‘EFIAPI’ 702 | (EFIAPI *EFI_UNICODE_STRLWR) ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:709:2: error: unknown type name ‘EFIAPI’ 709 | (EFIAPI *EFI_UNICODE_STRUPR) ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:716:2: error: unknown type name ‘EFIAPI’ 716 | (EFIAPI *EFI_UNICODE_FATTOSTR) ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:725:8: error: expected ‘)’ before ‘*’ token 725 | (EFIAPI *EFI_UNICODE_STRTOFAT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:772:1: warning: data definition has no type or storage class 772 | INTERFACE_DECL(_EFI_HASH_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:772:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:772:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:774:9: error: unknown type name ‘UINT8’ 774 | typedef UINT8 EFI_MD5_HASH[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:775:9: error: unknown type name ‘UINT8’ 775 | typedef UINT8 EFI_SHA1_HASH[20]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:776:9: error: unknown type name ‘UINT8’ 776 | typedef UINT8 EFI_SHA224_HASH[28]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:777:9: error: unknown type name ‘UINT8’ 777 | typedef UINT8 EFI_SHA256_HASH[32]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:778:9: error: unknown type name ‘UINT8’ 778 | typedef UINT8 EFI_SHA384_HASH[48]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:779:9: error: unknown type name ‘UINT8’ 779 | typedef UINT8 EFI_SHA512_HASH[64]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:791:8: error: expected ‘)’ before ‘*’ token 791 | (EFIAPI *EFI_HASH_GET_HASH_SIZE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:798:8: error: expected ‘)’ before ‘*’ token 798 | (EFIAPI *EFI_HASH_HASH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:807:3: error: unknown type name ‘EFI_HASH_GET_HASH_SIZE’ 807 | EFI_HASH_GET_HASH_SIZE GetHashSize; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:808:3: error: unknown type name ‘EFI_HASH_HASH’ 808 | EFI_HASH_HASH Hash; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:818:5: error: unknown type name ‘EFI_UNICODE_STRICOLL’ 818 | EFI_UNICODE_STRICOLL StriColl; | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:819:5: error: unknown type name ‘EFI_UNICODE_METAIMATCH’ 819 | EFI_UNICODE_METAIMATCH MetaiMatch; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:820:5: error: unknown type name ‘EFI_UNICODE_STRLWR’ 820 | EFI_UNICODE_STRLWR StrLwr; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:821:5: error: unknown type name ‘EFI_UNICODE_STRUPR’ 821 | EFI_UNICODE_STRUPR StrUpr; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:824:5: error: unknown type name ‘EFI_UNICODE_FATTOSTR’ 824 | EFI_UNICODE_FATTOSTR FatToStr; | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:825:5: error: unknown type name ‘EFI_UNICODE_STRTOFAT’ 825 | EFI_UNICODE_STRTOFAT StrToFat; | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:827:5: error: unknown type name ‘CHAR8’ 827 | CHAR8 *SupportedLanguages; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:838:3: error: unknown type name ‘UINT32’ 838 | UINT32 RedMask; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:839:3: error: unknown type name ‘UINT32’ 839 | UINT32 GreenMask; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:840:3: error: unknown type name ‘UINT32’ 840 | UINT32 BlueMask; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:841:3: error: unknown type name ‘UINT32’ 841 | UINT32 ReservedMask; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:853:3: error: unknown type name ‘UINT32’ 853 | UINT32 Version; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:854:3: error: unknown type name ‘UINT32’ 854 | UINT32 HorizontalResolution; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:855:3: error: unknown type name ‘UINT32’ 855 | UINT32 VerticalResolution; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:858:3: error: unknown type name ‘UINT32’ 858 | UINT32 PixelsPerScanLine; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:878:8: error: expected ‘)’ before ‘*’ token 878 | (EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:899:8: error: expected ‘)’ before ‘*’ token 899 | (EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:905:3: error: unknown type name ‘UINT8’ 905 | UINT8 Blue; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:906:3: error: unknown type name ‘UINT8’ 906 | UINT8 Green; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:907:3: error: unknown type name ‘UINT8’ 907 | UINT8 Red; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:908:3: error: unknown type name ‘UINT8’ 908 | UINT8 Reserved; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:913:3: error: unknown type name ‘UINT32’ 913 | UINT32 Raw; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:970:8: error: expected ‘)’ before ‘*’ token 970 | (EFIAPI *EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:984:3: error: unknown type name ‘UINT32’ 984 | UINT32 MaxMode; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:985:3: error: unknown type name ‘UINT32’ 985 | UINT32 Mode; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:987:3: error: unknown type name ‘UINTN’ 987 | UINTN SizeOfInfo; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:989:3: error: unknown type name ‘UINTN’ 989 | UINTN FrameBufferSize; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:993:3: error: unknown type name ‘EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE’ 993 | EFI_GRAPHICS_OUTPUT_PROTOCOL_QUERY_MODE QueryMode; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:994:3: error: unknown type name ‘EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE’ 994 | EFI_GRAPHICS_OUTPUT_PROTOCOL_SET_MODE SetMode; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:995:3: error: unknown type name ‘EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT’ 995 | EFI_GRAPHICS_OUTPUT_PROTOCOL_BLT Blt; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1009:5: error: unknown type name ‘UINT32’ 1009 | UINT32 SizeOfEdid; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1010:5: error: unknown type name ‘UINT8’ 1010 | UINT8 *Edid; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1023:5: error: unknown type name ‘UINT32’ 1023 | UINT32 SizeOfEdid; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1024:5: error: unknown type name ‘UINT8’ 1024 | UINT8 *Edid; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1036:1: warning: data definition has no type or storage class 1036 | INTERFACE_DECL(_EFI_EDID_OVERRIDE_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1036:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1036:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1040:8: error: expected ‘)’ before ‘*’ token 1040 | (EFIAPI *EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1048:5: error: unknown type name ‘EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID’ 1048 | EFI_EDID_OVERRIDE_PROTOCOL_GET_EDID GetEdid; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1053:1: warning: data definition has no type or storage class 1053 | INTERFACE_DECL(_EFI_SERVICE_BINDING); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1053:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1053:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1057:8: error: expected ‘)’ before ‘*’ token 1057 | (EFIAPI *EFI_SERVICE_BINDING_CREATE_CHILD) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1064:8: error: expected ‘)’ before ‘*’ token 1064 | (EFIAPI *EFI_SERVICE_BINDING_DESTROY_CHILD) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1070:5: error: unknown type name ‘EFI_SERVICE_BINDING_CREATE_CHILD’ 1070 | EFI_SERVICE_BINDING_CREATE_CHILD CreateChild; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1071:5: error: unknown type name ‘EFI_SERVICE_BINDING_DESTROY_CHILD’ 1071 | EFI_SERVICE_BINDING_DESTROY_CHILD DestroyChild; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1084:1: warning: data definition has no type or storage class 1084 | INTERFACE_DECL(_EFI_DRIVER_BINDING_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1084:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1084:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1088:8: error: expected ‘)’ before ‘*’ token 1088 | (EFIAPI *EFI_DRIVER_BINDING_PROTOCOL_SUPPORTED) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1095:8: error: expected ‘)’ before ‘*’ token 1095 | (EFIAPI *EFI_DRIVER_BINDING_PROTOCOL_START) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1102:8: error: expected ‘)’ before ‘*’ token 1102 | (EFIAPI *EFI_DRIVER_BINDING_PROTOCOL_STOP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1109:3: error: unknown type name ‘EFI_DRIVER_BINDING_PROTOCOL_SUPPORTED’ 1109 | EFI_DRIVER_BINDING_PROTOCOL_SUPPORTED Supported; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1110:3: error: unknown type name ‘EFI_DRIVER_BINDING_PROTOCOL_START’ 1110 | EFI_DRIVER_BINDING_PROTOCOL_START Start; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1111:3: error: unknown type name ‘EFI_DRIVER_BINDING_PROTOCOL_STOP’ 1111 | EFI_DRIVER_BINDING_PROTOCOL_STOP Stop; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1112:3: error: unknown type name ‘UINT32’ 1112 | UINT32 Version; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1138:1: warning: data definition has no type or storage class 1138 | INTERFACE_DECL(_EFI_COMPONENT_NAME_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1138:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1138:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1142:8: error: expected ‘)’ before ‘*’ token 1142 | (EFIAPI *EFI_COMPONENT_NAME_GET_DRIVER_NAME) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1149:8: error: expected ‘)’ before ‘*’ token 1149 | (EFIAPI *EFI_COMPONENT_NAME_GET_CONTROLLER_NAME) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1157:3: error: unknown type name ‘EFI_COMPONENT_NAME_GET_DRIVER_NAME’ 1157 | EFI_COMPONENT_NAME_GET_DRIVER_NAME GetDriverName; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1158:3: error: unknown type name ‘EFI_COMPONENT_NAME_GET_CONTROLLER_NAME’ 1158 | EFI_COMPONENT_NAME_GET_CONTROLLER_NAME GetControllerName; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1159:3: error: unknown type name ‘CHAR8’ 1159 | CHAR8 *SupportedLanguages; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1174:1: warning: data definition has no type or storage class 1174 | INTERFACE_DECL(_EFI_COMPONENT_NAME2_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1174:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1174:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1178:8: error: expected ‘)’ before ‘*’ token 1178 | (EFIAPI *EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1185:8: error: expected ‘)’ before ‘*’ token 1185 | (EFIAPI *EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1193:3: error: unknown type name ‘EFI_COMPONENT_NAME2_GET_DRIVER_NAME’ 1193 | EFI_COMPONENT_NAME2_GET_DRIVER_NAME GetDriverName; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1194:3: error: unknown type name ‘EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME’ 1194 | EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME GetControllerName; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1195:3: error: unknown type name ‘CHAR8’ 1195 | CHAR8 *SupportedLanguages; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1216:8: error: expected ‘)’ before ‘*’ token 1216 | (EFIAPI *EFI_IMAGE_UNLOAD) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1221:5: error: unknown type name ‘UINT32’ 1221 | UINT32 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1228:5: error: unknown type name ‘VOID’ 1228 | VOID *Reserved; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1231:5: error: unknown type name ‘UINT32’ 1231 | UINT32 LoadOptionsSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1232:5: error: unknown type name ‘VOID’ 1232 | VOID *LoadOptions; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1235:5: error: unknown type name ‘VOID’ 1235 | VOID *ImageBase; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1236:5: error: unknown type name ‘UINT64’ 1236 | UINT64 ImageSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1241:5: error: unknown type name ‘EFI_IMAGE_UNLOAD’ 1241 | EFI_IMAGE_UNLOAD Unload; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1276:1: warning: data definition has no type or storage class 1276 | INTERFACE_DECL(_EFI_RNG_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1276:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1276:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1280:8: error: expected ‘)’ before ‘*’ token 1280 | (EFIAPI *EFI_RNG_GET_INFO) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1288:8: error: expected ‘)’ before ‘*’ token 1288 | (EFIAPI *EFI_RNG_GET_RNG) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1296:11: error: unknown type name ‘EFI_RNG_GET_INFO’ 1296 | EFI_RNG_GET_INFO GetInfo; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1297:11: error: unknown type name ‘EFI_RNG_GET_RNG’ 1297 | EFI_RNG_GET_RNG GetRNG; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1308:1: warning: data definition has no type or storage class 1308 | INTERFACE_DECL(_EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1308:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1308:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1312:8: error: expected ‘)’ before ‘*’ token 1312 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1319:8: error: expected ‘)’ before ‘*’ token 1319 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1326:8: error: expected ‘)’ before ‘*’ token 1326 | (EFIAPI *EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1333:3: error: unknown type name ‘EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER’ 1333 | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER GetDriver; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1334:3: error: unknown type name ‘EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH’ 1334 | EFI_PLATFORM_DRIVER_OVERRIDE_GET_DRIVER_PATH GetDriverPath; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1335:3: error: unknown type name ‘EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED’ 1335 | EFI_PLATFORM_DRIVER_OVERRIDE_DRIVER_LOADED DriverLoaded; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1345:1: warning: data definition has no type or storage class 1345 | INTERFACE_DECL(_EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1345:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1345:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1349:8: error: expected ‘)’ before ‘*’ token 1349 | (EFIAPI *EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_GET_DRIVER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1354:3: error: unknown type name ‘EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_GET_DRIVER’ 1354 | EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_GET_DRIVER GetDriver; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1364:1: warning: data definition has no type or storage class 1364 | INTERFACE_DECL(_EFI_DRIVER_FAMILY_OVERRIDE_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1364:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1364:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1368:2: error: unknown type name ‘EFIAPI’ 1368 | (EFIAPI *EFI_DRIVER_FAMILY_OVERRIDE_GET_VERSION) ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1372:3: error: unknown type name ‘EFI_DRIVER_FAMILY_OVERRIDE_GET_VERSION’ 1372 | EFI_DRIVER_FAMILY_OVERRIDE_GET_VERSION GetVersion; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1384:1: warning: data definition has no type or storage class 1384 | INTERFACE_DECL(_EFI_EBC_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1384:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiprot.h:1384:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiprot.h:1388:8: error: expected ‘)’ before ‘*’ token 1388 | (EFIAPI *EFI_EBC_CREATE_THUNK)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1396:8: error: expected ‘)’ before ‘*’ token 1396 | (EFIAPI *EFI_EBC_UNLOAD_IMAGE)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1402:8: error: expected ‘)’ before ‘*’ token 1402 | (EFIAPI *EBC_ICACHE_FLUSH)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1408:8: error: expected ‘)’ before ‘*’ token 1408 | (EFIAPI *EFI_EBC_REGISTER_ICACHE_FLUSH)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1414:8: error: expected ‘)’ before ‘*’ token 1414 | (EFIAPI *EFI_EBC_GET_VERSION)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiprot.h:1419:3: error: unknown type name ‘EFI_EBC_CREATE_THUNK’ 1419 | EFI_EBC_CREATE_THUNK CreateThunk; | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1420:3: error: unknown type name ‘EFI_EBC_UNLOAD_IMAGE’ 1420 | EFI_EBC_UNLOAD_IMAGE UnloadImage; | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1421:3: error: unknown type name ‘EFI_EBC_REGISTER_ICACHE_FLUSH’ 1421 | EFI_EBC_REGISTER_ICACHE_FLUSH RegisterICacheFlush; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiprot.h:1422:3: error: unknown type name ‘EFI_EBC_GET_VERSION’ 1422 | EFI_EBC_GET_VERSION GetVersion; | ^~~~~~~~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:62, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/eficon.h:30:1: warning: data definition has no type or storage class 30 | INTERFACE_DECL(_SIMPLE_TEXT_OUTPUT_INTERFACE); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:30:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/eficon.h:30:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/eficon.h:34:8: error: expected ‘)’ before ‘*’ token 34 | (EFIAPI *EFI_TEXT_RESET) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:41:8: error: expected ‘)’ before ‘*’ token 41 | (EFIAPI *EFI_TEXT_OUTPUT_STRING) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:48:8: error: expected ‘)’ before ‘*’ token 48 | (EFIAPI *EFI_TEXT_TEST_STRING) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:55:8: error: expected ‘)’ before ‘*’ token 55 | (EFIAPI *EFI_TEXT_QUERY_MODE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:64:8: error: expected ‘)’ before ‘*’ token 64 | (EFIAPI *EFI_TEXT_SET_MODE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:71:8: error: expected ‘)’ before ‘*’ token 71 | (EFIAPI *EFI_TEXT_SET_ATTRIBUTE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:108:8: error: expected ‘)’ before ‘*’ token 108 | (EFIAPI *EFI_TEXT_CLEAR_SCREEN) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:114:8: error: expected ‘)’ before ‘*’ token 114 | (EFIAPI *EFI_TEXT_SET_CURSOR_POSITION) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:122:8: error: expected ‘)’ before ‘*’ token 122 | (EFIAPI *EFI_TEXT_ENABLE_CURSOR) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:128:5: error: unknown type name ‘INT32’ 128 | INT32 MaxMode; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:130:5: error: unknown type name ‘INT32’ 130 | INT32 Mode; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:131:5: error: unknown type name ‘INT32’ 131 | INT32 Attribute; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:132:5: error: unknown type name ‘INT32’ 132 | INT32 CursorColumn; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:133:5: error: unknown type name ‘INT32’ 133 | INT32 CursorRow; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:138:5: error: unknown type name ‘EFI_TEXT_RESET’ 138 | EFI_TEXT_RESET Reset; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:140:5: error: unknown type name ‘EFI_TEXT_OUTPUT_STRING’ 140 | EFI_TEXT_OUTPUT_STRING OutputString; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:141:5: error: unknown type name ‘EFI_TEXT_TEST_STRING’ 141 | EFI_TEXT_TEST_STRING TestString; | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:143:5: error: unknown type name ‘EFI_TEXT_QUERY_MODE’ 143 | EFI_TEXT_QUERY_MODE QueryMode; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:144:5: error: unknown type name ‘EFI_TEXT_SET_MODE’ 144 | EFI_TEXT_SET_MODE SetMode; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:145:5: error: unknown type name ‘EFI_TEXT_SET_ATTRIBUTE’ 145 | EFI_TEXT_SET_ATTRIBUTE SetAttribute; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:147:5: error: unknown type name ‘EFI_TEXT_CLEAR_SCREEN’ 147 | EFI_TEXT_CLEAR_SCREEN ClearScreen; | ^~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:148:5: error: unknown type name ‘EFI_TEXT_SET_CURSOR_POSITION’ 148 | EFI_TEXT_SET_CURSOR_POSITION SetCursorPosition; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:149:5: error: unknown type name ‘EFI_TEXT_ENABLE_CURSOR’ 149 | EFI_TEXT_ENABLE_CURSOR EnableCursor; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:239:1: warning: data definition has no type or storage class 239 | INTERFACE_DECL(_SIMPLE_INPUT_INTERFACE); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:239:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/eficon.h:239:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/eficon.h:242:5: error: unknown type name ‘UINT16’ 242 | UINT16 ScanCode; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:243:5: error: unknown type name ‘CHAR16’ 243 | CHAR16 UnicodeChar; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:287:8: error: expected ‘)’ before ‘*’ token 287 | (EFIAPI *EFI_INPUT_RESET) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:294:8: error: expected ‘)’ before ‘*’ token 294 | (EFIAPI *EFI_INPUT_READ_KEY) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficon.h:300:5: error: unknown type name ‘EFI_INPUT_RESET’ 300 | EFI_INPUT_RESET Reset; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficon.h:301:5: error: unknown type name ‘EFI_INPUT_READ_KEY’ 301 | EFI_INPUT_READ_KEY ReadKeyStroke; | ^~~~~~~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:63, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/eficonex.h:25:1: warning: data definition has no type or storage class 25 | INTERFACE_DECL(_EFI_SIMPLE_TEXT_INPUT_EX_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficonex.h:25:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/eficonex.h:25:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/eficonex.h:27:9: error: unknown type name ‘UINT8’ 27 | typedef UINT8 EFI_KEY_TOGGLE_STATE; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/eficonex.h:30:5: error: unknown type name ‘UINT32’ 30 | UINT32 KeyShiftState; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/eficonex.h:61:8: error: expected ‘)’ before ‘*’ token 61 | (EFIAPI *EFI_INPUT_RESET_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficonex.h:68:8: error: expected ‘)’ before ‘*’ token 68 | (EFIAPI *EFI_INPUT_READ_KEY_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficonex.h:75:8: error: expected ‘)’ before ‘*’ token 75 | (EFIAPI *EFI_SET_STATE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficonex.h:82:8: error: expected ‘)’ before ‘*’ token 82 | (EFIAPI *EFI_KEY_NOTIFY_FUNCTION) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficonex.h:88:8: error: expected ‘)’ before ‘*’ token 88 | (EFIAPI *EFI_REGISTER_KEYSTROKE_NOTIFY) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficonex.h:97:8: error: expected ‘)’ before ‘*’ token 97 | (EFIAPI *EFI_UNREGISTER_KEYSTROKE_NOTIFY) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/eficonex.h:103:5: error: unknown type name ‘EFI_INPUT_RESET_EX’ 103 | EFI_INPUT_RESET_EX Reset; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficonex.h:104:5: error: unknown type name ‘EFI_INPUT_READ_KEY_EX’ 104 | EFI_INPUT_READ_KEY_EX ReadKeyStrokeEx; | ^~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficonex.h:106:5: error: unknown type name ‘EFI_SET_STATE’ 106 | EFI_SET_STATE SetState; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficonex.h:107:5: error: unknown type name ‘EFI_REGISTER_KEYSTROKE_NOTIFY’ 107 | EFI_REGISTER_KEYSTROKE_NOTIFY RegisterKeyNotify; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/eficonex.h:108:5: error: unknown type name ‘EFI_UNREGISTER_KEYSTROKE_NOTIFY’ 108 | EFI_UNREGISTER_KEYSTROKE_NOTIFY UnregisterKeyNotify; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:64, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efiser.h:28:1: warning: data definition has no type or storage class 28 | INTERFACE_DECL(_EFI_SERIAL_IO_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:28:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiser.h:28:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiser.h:60:8: error: expected ‘)’ before ‘*’ token 60 | (EFIAPI *EFI_SERIAL_RESET) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiser.h:66:8: error: expected ‘)’ before ‘*’ token 66 | (EFIAPI *EFI_SERIAL_SET_ATTRIBUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiser.h:78:8: error: expected ‘)’ before ‘*’ token 78 | (EFIAPI *EFI_SERIAL_SET_CONTROL_BITS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiser.h:85:8: error: expected ‘)’ before ‘*’ token 85 | (EFIAPI *EFI_SERIAL_GET_CONTROL_BITS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiser.h:92:8: error: expected ‘)’ before ‘*’ token 92 | (EFIAPI *EFI_SERIAL_WRITE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiser.h:100:8: error: expected ‘)’ before ‘*’ token 100 | (EFIAPI *EFI_SERIAL_READ) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiser.h:107:5: error: unknown type name ‘UINT32’ 107 | UINT32 ControlMask; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:110:5: error: unknown type name ‘UINT32’ 110 | UINT32 Timeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:111:5: error: unknown type name ‘UINT64’ 111 | UINT64 BaudRate; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:112:5: error: unknown type name ‘UINT32’ 112 | UINT32 ReceiveFifoDepth; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:113:5: error: unknown type name ‘UINT32’ 113 | UINT32 DataBits; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:114:5: error: unknown type name ‘UINT32’ 114 | UINT32 Parity; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:115:5: error: unknown type name ‘UINT32’ 115 | UINT32 StopBits; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:121:5: error: unknown type name ‘UINT32’ 121 | UINT32 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:122:5: error: unknown type name ‘EFI_SERIAL_RESET’ 122 | EFI_SERIAL_RESET Reset; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:123:5: error: unknown type name ‘EFI_SERIAL_SET_ATTRIBUTES’ 123 | EFI_SERIAL_SET_ATTRIBUTES SetAttributes; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:124:5: error: unknown type name ‘EFI_SERIAL_SET_CONTROL_BITS’ 124 | EFI_SERIAL_SET_CONTROL_BITS SetControl; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:125:5: error: unknown type name ‘EFI_SERIAL_GET_CONTROL_BITS’ 125 | EFI_SERIAL_GET_CONTROL_BITS GetControl; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:126:5: error: unknown type name ‘EFI_SERIAL_WRITE’ 126 | EFI_SERIAL_WRITE Write; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiser.h:127:5: error: unknown type name ‘EFI_SERIAL_READ’ 127 | EFI_SERIAL_READ Read; | ^~~~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:65, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efi_nii.h:32:5: error: unknown type name ‘UINT64’ 32 | UINT64 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efi_nii.h:35:5: error: unknown type name ‘UINT64’ 35 | UINT64 ID; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efi_nii.h:41:5: error: unknown type name ‘UINT64’ 41 | UINT64 ImageAddr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efi_nii.h:53:5: error: unknown type name ‘UINT32’ 53 | UINT32 ImageSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efi_nii.h:57:5: error: unknown type name ‘CHAR8’ 57 | CHAR8 StringId[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efi_nii.h:63:5: error: unknown type name ‘UINT8’ 63 | UINT8 Type; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efi_nii.h:64:5: error: unknown type name ‘UINT8’ 64 | UINT8 MajorVer; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efi_nii.h:65:5: error: unknown type name ‘UINT8’ 65 | UINT8 MinorVer; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efi_nii.h:70:5: error: unknown type name ‘UINT8’ 70 | UINT8 IfNum; // interface number to be used with pxeid structure | ^~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:66, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efipxebc.h:29:1: warning: data definition has no type or storage class 29 | INTERFACE_DECL(_EFI_PXE_BASE_CODE_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:29:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efipxebc.h:29:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efipxebc.h:38:5: error: unknown type name ‘UINT32’ 38 | UINT32 Addr[4]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:43:9: error: unknown type name ‘UINT16’ 43 | typedef UINT16 EFI_PXE_BASE_CODE_UDP_PORT; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:50:5: error: unknown type name ‘UINT8’ 50 | UINT8 BootpOpcode; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:51:5: error: unknown type name ‘UINT8’ 51 | UINT8 BootpHwType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:52:5: error: unknown type name ‘UINT8’ 52 | UINT8 BootpHwAddrLen; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:53:5: error: unknown type name ‘UINT8’ 53 | UINT8 BootpGateHops; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:54:5: error: unknown type name ‘UINT32’ 54 | UINT32 BootpIdent; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:55:5: error: unknown type name ‘UINT16’ 55 | UINT16 BootpSeconds; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:56:5: error: unknown type name ‘UINT16’ 56 | UINT16 BootpFlags; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:57:5: error: unknown type name ‘UINT8’ 57 | UINT8 BootpCiAddr[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:58:5: error: unknown type name ‘UINT8’ 58 | UINT8 BootpYiAddr[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:59:5: error: unknown type name ‘UINT8’ 59 | UINT8 BootpSiAddr[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:60:5: error: unknown type name ‘UINT8’ 60 | UINT8 BootpGiAddr[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:61:5: error: unknown type name ‘UINT8’ 61 | UINT8 BootpHwAddr[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:62:5: error: unknown type name ‘UINT8’ 62 | UINT8 BootpSrvName[64]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:63:5: error: unknown type name ‘UINT8’ 63 | UINT8 BootpBootFile[128]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:64:5: error: unknown type name ‘UINT32’ 64 | UINT32 DhcpMagik; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:65:5: error: unknown type name ‘UINT8’ 65 | UINT8 DhcpOptions[56]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:69:5: error: unknown type name ‘UINT32’ 69 | UINT32 MessageType:8; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:70:5: error: unknown type name ‘UINT32’ 70 | UINT32 TransactionId:24; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:71:5: error: unknown type name ‘UINT8’ 71 | UINT8 DhcpOptions[1024]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:75:5: error: unknown type name ‘UINT8’ 75 | UINT8 Raw[1472]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:81:5: error: unknown type name ‘UINT8’ 81 | UINT8 Type; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:82:5: error: unknown type name ‘UINT8’ 82 | UINT8 Code; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:83:5: error: unknown type name ‘UINT16’ 83 | UINT16 Checksum; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:85:9: error: unknown type name ‘UINT32’ 85 | UINT32 reserved; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:86:9: error: unknown type name ‘UINT32’ 86 | UINT32 Mtu; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:87:9: error: unknown type name ‘UINT32’ 87 | UINT32 Pointer; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:89:13: error: unknown type name ‘UINT16’ 89 | UINT16 Identifier; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:90:13: error: unknown type name ‘UINT16’ 90 | UINT16 Sequence; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:93:5: error: unknown type name ‘UINT8’ 93 | UINT8 Data[494]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:97:5: error: unknown type name ‘UINT8’ 97 | UINT8 ErrorCode; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:98:5: error: unknown type name ‘CHAR8’ 98 | CHAR8 ErrorString[127]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:106:5: error: unknown type name ‘UINT8’ 106 | UINT8 Filters; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:107:5: error: unknown type name ‘UINT8’ 107 | UINT8 IpCnt; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:108:5: error: unknown type name ‘UINT16’ 108 | UINT16 reserved; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:176:5: error: unknown type name ‘UINT16’ 176 | UINT16 Type; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:178:5: error: unknown type name ‘UINT8’ 178 | UINT8 Reserved; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:188:5: error: unknown type name ‘UINT16’ 188 | UINT16 IpCnt; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:212:5: error: unknown type name ‘UINT16’ 212 | UINT16 ListenTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:213:5: error: unknown type name ‘UINT16’ 213 | UINT16 TransmitTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:241:5: error: unknown type name ‘UINT8’ 241 | UINT8 TTL; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:242:5: error: unknown type name ‘UINT8’ 242 | UINT8 ToS; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:252:5: error: unknown type name ‘UINT32’ 252 | UINT32 ArpCacheEntries; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:254:5: error: unknown type name ‘UINT32’ 254 | UINT32 RouteTableEntries; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:266:8: error: expected ‘)’ before ‘*’ token 266 | (EFIAPI *EFI_PXE_BASE_CODE_START) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:273:8: error: expected ‘)’ before ‘*’ token 273 | (EFIAPI *EFI_PXE_BASE_CODE_STOP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:279:8: error: expected ‘)’ before ‘*’ token 279 | (EFIAPI *EFI_PXE_BASE_CODE_DHCP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:286:8: error: expected ‘)’ before ‘*’ token 286 | (EFIAPI *EFI_PXE_BASE_CODE_DISCOVER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:296:8: error: expected ‘)’ before ‘*’ token 296 | (EFIAPI *EFI_PXE_BASE_CODE_MTFTP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:311:8: error: expected ‘)’ before ‘*’ token 311 | (EFIAPI *EFI_PXE_BASE_CODE_UDP_WRITE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:327:8: error: expected ‘)’ before ‘*’ token 327 | (EFIAPI *EFI_PXE_BASE_CODE_UDP_READ) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:342:8: error: expected ‘)’ before ‘*’ token 342 | (EFIAPI *EFI_PXE_BASE_CODE_SET_IP_FILTER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:349:8: error: expected ‘)’ before ‘*’ token 349 | (EFIAPI *EFI_PXE_BASE_CODE_ARP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:357:8: error: expected ‘)’ before ‘*’ token 357 | (EFIAPI *EFI_PXE_BASE_CODE_SET_PARAMETERS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:368:8: error: expected ‘)’ before ‘*’ token 368 | (EFIAPI *EFI_PXE_BASE_CODE_SET_STATION_IP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:376:8: error: expected ‘)’ before ‘*’ token 376 | (EFIAPI *EFI_PXE_BASE_CODE_SET_PACKETS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:400:5: error: unknown type name ‘UINT64’ 400 | UINT64 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:401:5: error: unknown type name ‘EFI_PXE_BASE_CODE_START’ 401 | EFI_PXE_BASE_CODE_START Start; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:402:5: error: unknown type name ‘EFI_PXE_BASE_CODE_STOP’ 402 | EFI_PXE_BASE_CODE_STOP Stop; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:403:5: error: unknown type name ‘EFI_PXE_BASE_CODE_DHCP’ 403 | EFI_PXE_BASE_CODE_DHCP Dhcp; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:404:5: error: unknown type name ‘EFI_PXE_BASE_CODE_DISCOVER’ 404 | EFI_PXE_BASE_CODE_DISCOVER Discover; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:405:5: error: unknown type name ‘EFI_PXE_BASE_CODE_MTFTP’ 405 | EFI_PXE_BASE_CODE_MTFTP Mtftp; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:406:5: error: unknown type name ‘EFI_PXE_BASE_CODE_UDP_WRITE’ 406 | EFI_PXE_BASE_CODE_UDP_WRITE UdpWrite; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:407:5: error: unknown type name ‘EFI_PXE_BASE_CODE_UDP_READ’ 407 | EFI_PXE_BASE_CODE_UDP_READ UdpRead; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:408:5: error: unknown type name ‘EFI_PXE_BASE_CODE_SET_IP_FILTER’ 408 | EFI_PXE_BASE_CODE_SET_IP_FILTER SetIpFilter; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:409:5: error: unknown type name ‘EFI_PXE_BASE_CODE_ARP’ 409 | EFI_PXE_BASE_CODE_ARP Arp; | ^~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:410:5: error: unknown type name ‘EFI_PXE_BASE_CODE_SET_PARAMETERS’ 410 | EFI_PXE_BASE_CODE_SET_PARAMETERS SetParameters; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:411:5: error: unknown type name ‘EFI_PXE_BASE_CODE_SET_STATION_IP’ 411 | EFI_PXE_BASE_CODE_SET_STATION_IP SetStationIp; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:412:5: error: unknown type name ‘EFI_PXE_BASE_CODE_SET_PACKETS’ 412 | EFI_PXE_BASE_CODE_SET_PACKETS SetPackets; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:438:1: warning: data definition has no type or storage class 438 | INTERFACE_DECL(_EFI_PXE_BASE_CODE_CALLBACK_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:438:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efipxebc.h:438:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efipxebc.h:461:8: error: expected ‘)’ before ‘*’ token 461 | (EFIAPI *EFI_PXE_CALLBACK) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipxebc.h:470:5: error: unknown type name ‘UINT64’ 470 | UINT64 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipxebc.h:471:5: error: unknown type name ‘EFI_PXE_CALLBACK’ 471 | EFI_PXE_CALLBACK Callback; | ^~~~~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:67, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efinet.h:26:1: warning: data definition has no type or storage class 26 | INTERFACE_DECL(_EFI_SIMPLE_NETWORK_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:26:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efinet.h:26:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efinet.h:36:5: error: unknown type name ‘UINT64’ 36 | UINT64 RxTotalFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:41:5: error: unknown type name ‘UINT64’ 41 | UINT64 RxGoodFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:47:5: error: unknown type name ‘UINT64’ 47 | UINT64 RxUndersizeFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:53:5: error: unknown type name ‘UINT64’ 53 | UINT64 RxOversizeFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:58:5: error: unknown type name ‘UINT64’ 58 | UINT64 RxDroppedFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:63:5: error: unknown type name ‘UINT64’ 63 | UINT64 RxUnicastFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:68:5: error: unknown type name ‘UINT64’ 68 | UINT64 RxBroadcastFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:73:5: error: unknown type name ‘UINT64’ 73 | UINT64 RxMulticastFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:78:5: error: unknown type name ‘UINT64’ 78 | UINT64 RxCrcErrorFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:84:5: error: unknown type name ‘UINT64’ 84 | UINT64 RxTotalBytes; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:89:5: error: unknown type name ‘UINT64’ 89 | UINT64 TxTotalFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:90:5: error: unknown type name ‘UINT64’ 90 | UINT64 TxGoodFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:91:5: error: unknown type name ‘UINT64’ 91 | UINT64 TxUndersizeFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:92:5: error: unknown type name ‘UINT64’ 92 | UINT64 TxOversizeFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:93:5: error: unknown type name ‘UINT64’ 93 | UINT64 TxDroppedFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:94:5: error: unknown type name ‘UINT64’ 94 | UINT64 TxUnicastFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:95:5: error: unknown type name ‘UINT64’ 95 | UINT64 TxBroadcastFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:96:5: error: unknown type name ‘UINT64’ 96 | UINT64 TxMulticastFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:97:5: error: unknown type name ‘UINT64’ 97 | UINT64 TxCrcErrorFrames; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:98:5: error: unknown type name ‘UINT64’ 98 | UINT64 TxTotalBytes; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:103:5: error: unknown type name ‘UINT64’ 103 | UINT64 Collisions; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:108:5: error: unknown type name ‘UINT64’ 108 | UINT64 UnsupportedProtocol; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:143:5: error: unknown type name ‘UINT32’ 143 | UINT32 State; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:144:5: error: unknown type name ‘UINT32’ 144 | UINT32 HwAddressSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:145:5: error: unknown type name ‘UINT32’ 145 | UINT32 MediaHeaderSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:146:5: error: unknown type name ‘UINT32’ 146 | UINT32 MaxPacketSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:147:5: error: unknown type name ‘UINT32’ 147 | UINT32 NvRamSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:148:5: error: unknown type name ‘UINT32’ 148 | UINT32 NvRamAccessSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:149:5: error: unknown type name ‘UINT32’ 149 | UINT32 ReceiveFilterMask; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:150:5: error: unknown type name ‘UINT32’ 150 | UINT32 ReceiveFilterSetting; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:151:5: error: unknown type name ‘UINT32’ 151 | UINT32 MaxMCastFilterCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:152:5: error: unknown type name ‘UINT32’ 152 | UINT32 MCastFilterCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:157:5: error: unknown type name ‘UINT8’ 157 | UINT8 IfType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:169:8: error: expected ‘)’ before ‘*’ token 169 | (EFIAPI *EFI_SIMPLE_NETWORK_START) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:178:8: error: expected ‘)’ before ‘*’ token 178 | (EFIAPI *EFI_SIMPLE_NETWORK_STOP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:187:8: error: expected ‘)’ before ‘*’ token 187 | (EFIAPI *EFI_SIMPLE_NETWORK_INITIALIZE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:198:8: error: expected ‘)’ before ‘*’ token 198 | (EFIAPI *EFI_SIMPLE_NETWORK_RESET) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:208:8: error: expected ‘)’ before ‘*’ token 208 | (EFIAPI *EFI_SIMPLE_NETWORK_SHUTDOWN) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:217:8: error: expected ‘)’ before ‘*’ token 217 | (EFIAPI *EFI_SIMPLE_NETWORK_RECEIVE_FILTERS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:231:8: error: expected ‘)’ before ‘*’ token 231 | (EFIAPI *EFI_SIMPLE_NETWORK_STATION_ADDRESS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:242:8: error: expected ‘)’ before ‘*’ token 242 | (EFIAPI *EFI_SIMPLE_NETWORK_STATISTICS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:254:8: error: expected ‘)’ before ‘*’ token 254 | (EFIAPI *EFI_SIMPLE_NETWORK_MCAST_IP_TO_MAC) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:266:8: error: expected ‘)’ before ‘*’ token 266 | (EFIAPI *EFI_SIMPLE_NETWORK_NVDATA) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:279:8: error: expected ‘)’ before ‘*’ token 279 | (EFIAPI *EFI_SIMPLE_NETWORK_GET_STATUS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:290:8: error: expected ‘)’ before ‘*’ token 290 | (EFIAPI *EFI_SIMPLE_NETWORK_TRANSMIT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:305:8: error: expected ‘)’ before ‘*’ token 305 | (EFIAPI *EFI_SIMPLE_NETWORK_RECEIVE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efinet.h:322:5: error: unknown type name ‘UINT64’ 322 | UINT64 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:323:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_START’ 323 | EFI_SIMPLE_NETWORK_START Start; | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:324:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_STOP’ 324 | EFI_SIMPLE_NETWORK_STOP Stop; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:325:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_INITIALIZE’ 325 | EFI_SIMPLE_NETWORK_INITIALIZE Initialize; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:326:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_RESET’ 326 | EFI_SIMPLE_NETWORK_RESET Reset; | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:327:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_SHUTDOWN’ 327 | EFI_SIMPLE_NETWORK_SHUTDOWN Shutdown; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:328:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_RECEIVE_FILTERS’ 328 | EFI_SIMPLE_NETWORK_RECEIVE_FILTERS ReceiveFilters; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:329:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_STATION_ADDRESS’ 329 | EFI_SIMPLE_NETWORK_STATION_ADDRESS StationAddress; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:330:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_STATISTICS’ 330 | EFI_SIMPLE_NETWORK_STATISTICS Statistics; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:331:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_MCAST_IP_TO_MAC’ 331 | EFI_SIMPLE_NETWORK_MCAST_IP_TO_MAC MCastIpToMac; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:332:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_NVDATA’ 332 | EFI_SIMPLE_NETWORK_NVDATA NvData; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:333:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_GET_STATUS’ 333 | EFI_SIMPLE_NETWORK_GET_STATUS GetStatus; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:334:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_TRANSMIT’ 334 | EFI_SIMPLE_NETWORK_TRANSMIT Transmit; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efinet.h:335:5: error: unknown type name ‘EFI_SIMPLE_NETWORK_RECEIVE’ 335 | EFI_SIMPLE_NETWORK_RECEIVE Receive; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:68, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efiapi.h:34:1: warning: data definition has no type or storage class 34 | INTERFACE_DECL(_EFI_SYSTEM_TABLE); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:34:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiapi.h:34:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiapi.h:42:8: error: expected ‘)’ before ‘*’ token 42 | (EFIAPI *EFI_ALLOCATE_PAGES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:51:8: error: expected ‘)’ before ‘*’ token 51 | (EFIAPI *EFI_FREE_PAGES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:58:8: error: expected ‘)’ before ‘*’ token 58 | (EFIAPI *EFI_GET_MEMORY_MAP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:71:8: error: expected ‘)’ before ‘*’ token 71 | (EFIAPI *EFI_ALLOCATE_POOL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:79:8: error: expected ‘)’ before ‘*’ token 79 | (EFIAPI *EFI_FREE_POOL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:85:8: error: expected ‘)’ before ‘*’ token 85 | (EFIAPI *EFI_SET_VIRTUAL_ADDRESS_MAP) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:100:8: error: expected ‘)’ before ‘*’ token 100 | (EFIAPI *EFI_CONVERT_POINTER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:136:2: error: unknown type name ‘EFIAPI’ 136 | (EFIAPI *EFI_EVENT_NOTIFY) ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:143:8: error: expected ‘)’ before ‘*’ token 143 | (EFIAPI *EFI_CREATE_EVENT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:160:8: error: expected ‘)’ before ‘*’ token 160 | (EFIAPI *EFI_SET_TIMER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:168:8: error: expected ‘)’ before ‘*’ token 168 | (EFIAPI *EFI_SIGNAL_EVENT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:174:8: error: expected ‘)’ before ‘*’ token 174 | (EFIAPI *EFI_WAIT_FOR_EVENT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:182:8: error: expected ‘)’ before ‘*’ token 182 | (EFIAPI *EFI_CLOSE_EVENT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:188:8: error: expected ‘)’ before ‘*’ token 188 | (EFIAPI *EFI_CHECK_EVENT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:206:8: error: expected ‘)’ before ‘*’ token 206 | (EFIAPI *EFI_RAISE_TPL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:212:2: error: unknown type name ‘EFIAPI’ 212 | (EFIAPI *EFI_RESTORE_TPL) ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:239:8: error: expected ‘)’ before ‘*’ token 239 | (EFIAPI *EFI_GET_VARIABLE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:249:8: error: expected ‘)’ before ‘*’ token 249 | (EFIAPI *EFI_GET_NEXT_VARIABLE_NAME) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:258:8: error: expected ‘)’ before ‘*’ token 258 | (EFIAPI *EFI_SET_VARIABLE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:272:9: error: unknown type name ‘UINT32’ 272 | UINT32 Resolution; // 1e-6 parts per million | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:273:9: error: unknown type name ‘UINT32’ 273 | UINT32 Accuracy; // hertz | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:280:8: error: expected ‘)’ before ‘*’ token 280 | (EFIAPI *EFI_GET_TIME) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:287:8: error: expected ‘)’ before ‘*’ token 287 | (EFIAPI *EFI_SET_TIME) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:293:8: error: expected ‘)’ before ‘*’ token 293 | (EFIAPI *EFI_GET_WAKEUP_TIME) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:301:8: error: expected ‘)’ before ‘*’ token 301 | (EFIAPI *EFI_SET_WAKEUP_TIME) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:350:8: error: expected ‘)’ before ‘*’ token 350 | (EFIAPI *EFI_IMAGE_ENTRY_POINT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:357:8: error: expected ‘)’ before ‘*’ token 357 | (EFIAPI *EFI_IMAGE_LOAD) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:368:8: error: expected ‘)’ before ‘*’ token 368 | (EFIAPI *EFI_IMAGE_START) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:376:8: error: expected ‘)’ before ‘*’ token 376 | (EFIAPI *EFI_EXIT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:417:8: error: expected ‘)’ before ‘*’ token 417 | (EFIAPI *EFI_EXIT_BOOT_SERVICES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:429:8: error: expected ‘)’ before ‘*’ token 429 | (EFIAPI *EFI_STALL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:435:8: error: expected ‘)’ before ‘*’ token 435 | (EFIAPI *EFI_SET_WATCHDOG_TIMER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:444:8: error: expected ‘)’ before ‘*’ token 444 | (EFIAPI *EFI_CONNECT_CONTROLLER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:453:8: error: expected ‘)’ before ‘*’ token 453 | (EFIAPI *EFI_DISCONNECT_CONTROLLER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:468:8: error: expected ‘)’ before ‘*’ token 468 | (EFIAPI *EFI_OPEN_PROTOCOL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:479:8: error: expected ‘)’ before ‘*’ token 479 | (EFIAPI *EFI_CLOSE_PROTOCOL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:489:5: error: unknown type name ‘UINT32’ 489 | UINT32 Attributes; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:490:5: error: unknown type name ‘UINT32’ 490 | UINT32 OpenCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:495:8: error: expected ‘)’ before ‘*’ token 495 | (EFIAPI *EFI_OPEN_PROTOCOL_INFORMATION) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:504:8: error: expected ‘)’ before ‘*’ token 504 | (EFIAPI *EFI_PROTOCOLS_PER_HANDLE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:518:8: error: expected ‘)’ before ‘*’ token 518 | (EFIAPI *EFI_LOCATE_HANDLE_BUFFER) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:528:8: error: expected ‘)’ before ‘*’ token 528 | (EFIAPI *EFI_LOCATE_PROTOCOL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:536:8: error: expected ‘)’ before ‘*’ token 536 | (EFIAPI *EFI_INSTALL_MULTIPLE_PROTOCOL_INTERFACES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:543:8: error: expected ‘)’ before ‘*’ token 543 | (EFIAPI *EFI_UNINSTALL_MULTIPLE_PROTOCOL_INTERFACES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:550:8: error: expected ‘)’ before ‘*’ token 550 | (EFIAPI *EFI_CALCULATE_CRC32) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:558:2: error: unknown type name ‘EFIAPI’ 558 | (EFIAPI *EFI_COPY_MEM) ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:566:2: error: unknown type name ‘EFIAPI’ 566 | (EFIAPI *EFI_SET_MEM) ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:575:8: error: expected ‘)’ before ‘*’ token 575 | (EFIAPI *EFI_CREATE_EVENT_EX) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:592:8: error: expected ‘)’ before ‘*’ token 592 | (EFIAPI *EFI_RESET_SYSTEM) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:601:8: error: expected ‘)’ before ‘*’ token 601 | (EFIAPI *EFI_GET_NEXT_MONOTONIC_COUNT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:607:8: error: expected ‘)’ before ‘*’ token 607 | (EFIAPI *EFI_GET_NEXT_HIGH_MONO_COUNT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:612:5: error: unknown type name ‘UINT64’ 612 | UINT64 Length; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:621:5: error: unknown type name ‘UINT32’ 621 | UINT32 HeaderSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:622:5: error: unknown type name ‘UINT32’ 622 | UINT32 Flags; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:623:5: error: unknown type name ‘UINT32’ 623 | UINT32 CapsuleImageSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:632:8: error: expected ‘)’ before ‘*’ token 632 | (EFIAPI *EFI_UPDATE_CAPSULE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:640:8: error: expected ‘)’ before ‘*’ token 640 | (EFIAPI *EFI_QUERY_CAPSULE_CAPABILITIES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:649:8: error: expected ‘)’ before ‘*’ token 649 | (EFIAPI *EFI_QUERY_VARIABLE_INFO) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:667:8: error: expected ‘)’ before ‘*’ token 667 | (EFIAPI *EFI_INSTALL_PROTOCOL_INTERFACE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:676:8: error: expected ‘)’ before ‘*’ token 676 | (EFIAPI *EFI_REINSTALL_PROTOCOL_INTERFACE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:685:8: error: expected ‘)’ before ‘*’ token 685 | (EFIAPI *EFI_UNINSTALL_PROTOCOL_INTERFACE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:693:8: error: expected ‘)’ before ‘*’ token 693 | (EFIAPI *EFI_HANDLE_PROTOCOL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:701:8: error: expected ‘)’ before ‘*’ token 701 | (EFIAPI *EFI_REGISTER_PROTOCOL_NOTIFY) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:709:8: error: expected ‘)’ before ‘*’ token 709 | (EFIAPI *EFI_LOCATE_HANDLE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:719:8: error: expected ‘)’ before ‘*’ token 719 | (EFIAPI *EFI_LOCATE_DEVICE_PATH) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:727:8: error: expected ‘)’ before ‘*’ token 727 | (EFIAPI *EFI_INSTALL_CONFIGURATION_TABLE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:734:8: error: expected ‘)’ before ‘*’ token 734 | (EFIAPI *EFI_RESERVED_SERVICE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiapi.h:742:5: error: unknown type name ‘UINT64’ 742 | UINT64 Signature; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:743:5: error: unknown type name ‘UINT32’ 743 | UINT32 Revision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:744:5: error: unknown type name ‘UINT32’ 744 | UINT32 HeaderSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:745:5: error: unknown type name ‘UINT32’ 745 | UINT32 CRC32; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:746:5: error: unknown type name ‘UINT32’ 746 | UINT32 Reserved; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:766:5: error: unknown type name ‘EFI_GET_TIME’ 766 | EFI_GET_TIME GetTime; | ^~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:767:5: error: unknown type name ‘EFI_SET_TIME’ 767 | EFI_SET_TIME SetTime; | ^~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:768:5: error: unknown type name ‘EFI_GET_WAKEUP_TIME’ 768 | EFI_GET_WAKEUP_TIME GetWakeupTime; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:769:5: error: unknown type name ‘EFI_SET_WAKEUP_TIME’ 769 | EFI_SET_WAKEUP_TIME SetWakeupTime; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:775:5: error: unknown type name ‘EFI_SET_VIRTUAL_ADDRESS_MAP’ 775 | EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:776:5: error: unknown type name ‘EFI_CONVERT_POINTER’ 776 | EFI_CONVERT_POINTER ConvertPointer; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:782:5: error: unknown type name ‘EFI_GET_VARIABLE’ 782 | EFI_GET_VARIABLE GetVariable; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:783:5: error: unknown type name ‘EFI_GET_NEXT_VARIABLE_NAME’ 783 | EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:784:5: error: unknown type name ‘EFI_SET_VARIABLE’ 784 | EFI_SET_VARIABLE SetVariable; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:790:5: error: unknown type name ‘EFI_GET_NEXT_HIGH_MONO_COUNT’ 790 | EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:791:5: error: unknown type name ‘EFI_RESET_SYSTEM’ 791 | EFI_RESET_SYSTEM ResetSystem; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:793:5: error: unknown type name ‘EFI_UPDATE_CAPSULE’ 793 | EFI_UPDATE_CAPSULE UpdateCapsule; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:794:5: error: unknown type name ‘EFI_QUERY_CAPSULE_CAPABILITIES’ 794 | EFI_QUERY_CAPSULE_CAPABILITIES QueryCapsuleCapabilities; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:795:5: error: unknown type name ‘EFI_QUERY_VARIABLE_INFO’ 795 | EFI_QUERY_VARIABLE_INFO QueryVariableInfo; | ^~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:816:5: error: unknown type name ‘EFI_RAISE_TPL’ 816 | EFI_RAISE_TPL RaiseTPL; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:817:5: error: unknown type name ‘EFI_RESTORE_TPL’ 817 | EFI_RESTORE_TPL RestoreTPL; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:823:5: error: unknown type name ‘EFI_ALLOCATE_PAGES’ 823 | EFI_ALLOCATE_PAGES AllocatePages; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:824:5: error: unknown type name ‘EFI_FREE_PAGES’ 824 | EFI_FREE_PAGES FreePages; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:825:5: error: unknown type name ‘EFI_GET_MEMORY_MAP’ 825 | EFI_GET_MEMORY_MAP GetMemoryMap; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:826:5: error: unknown type name ‘EFI_ALLOCATE_POOL’ 826 | EFI_ALLOCATE_POOL AllocatePool; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:827:5: error: unknown type name ‘EFI_FREE_POOL’ 827 | EFI_FREE_POOL FreePool; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:833:5: error: unknown type name ‘EFI_CREATE_EVENT’ 833 | EFI_CREATE_EVENT CreateEvent; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:834:5: error: unknown type name ‘EFI_SET_TIMER’ 834 | EFI_SET_TIMER SetTimer; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:835:5: error: unknown type name ‘EFI_WAIT_FOR_EVENT’ 835 | EFI_WAIT_FOR_EVENT WaitForEvent; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:836:5: error: unknown type name ‘EFI_SIGNAL_EVENT’ 836 | EFI_SIGNAL_EVENT SignalEvent; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:837:5: error: unknown type name ‘EFI_CLOSE_EVENT’ 837 | EFI_CLOSE_EVENT CloseEvent; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:838:5: error: unknown type name ‘EFI_CHECK_EVENT’ 838 | EFI_CHECK_EVENT CheckEvent; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:844:5: error: unknown type name ‘EFI_INSTALL_PROTOCOL_INTERFACE’ 844 | EFI_INSTALL_PROTOCOL_INTERFACE InstallProtocolInterface; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:845:5: error: unknown type name ‘EFI_REINSTALL_PROTOCOL_INTERFACE’ 845 | EFI_REINSTALL_PROTOCOL_INTERFACE ReinstallProtocolInterface; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:846:5: error: unknown type name ‘EFI_UNINSTALL_PROTOCOL_INTERFACE’ 846 | EFI_UNINSTALL_PROTOCOL_INTERFACE UninstallProtocolInterface; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:847:5: error: unknown type name ‘EFI_HANDLE_PROTOCOL’ 847 | EFI_HANDLE_PROTOCOL HandleProtocol; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:848:5: error: unknown type name ‘EFI_HANDLE_PROTOCOL’ 848 | EFI_HANDLE_PROTOCOL PCHandleProtocol; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:849:5: error: unknown type name ‘EFI_REGISTER_PROTOCOL_NOTIFY’ 849 | EFI_REGISTER_PROTOCOL_NOTIFY RegisterProtocolNotify; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:850:5: error: unknown type name ‘EFI_LOCATE_HANDLE’ 850 | EFI_LOCATE_HANDLE LocateHandle; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:851:5: error: unknown type name ‘EFI_LOCATE_DEVICE_PATH’ 851 | EFI_LOCATE_DEVICE_PATH LocateDevicePath; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:852:5: error: unknown type name ‘EFI_INSTALL_CONFIGURATION_TABLE’ 852 | EFI_INSTALL_CONFIGURATION_TABLE InstallConfigurationTable; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:858:5: error: unknown type name ‘EFI_IMAGE_LOAD’ 858 | EFI_IMAGE_LOAD LoadImage; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:859:5: error: unknown type name ‘EFI_IMAGE_START’ 859 | EFI_IMAGE_START StartImage; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:860:5: error: unknown type name ‘EFI_EXIT’ 860 | EFI_EXIT Exit; | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:861:5: error: unknown type name ‘EFI_IMAGE_UNLOAD’ 861 | EFI_IMAGE_UNLOAD UnloadImage; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:862:5: error: unknown type name ‘EFI_EXIT_BOOT_SERVICES’ 862 | EFI_EXIT_BOOT_SERVICES ExitBootServices; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:868:5: error: unknown type name ‘EFI_GET_NEXT_MONOTONIC_COUNT’ 868 | EFI_GET_NEXT_MONOTONIC_COUNT GetNextMonotonicCount; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:869:5: error: unknown type name ‘EFI_STALL’ 869 | EFI_STALL Stall; | ^~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:870:5: error: unknown type name ‘EFI_SET_WATCHDOG_TIMER’ 870 | EFI_SET_WATCHDOG_TIMER SetWatchdogTimer; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:876:5: error: unknown type name ‘EFI_CONNECT_CONTROLLER’ 876 | EFI_CONNECT_CONTROLLER ConnectController; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:877:5: error: unknown type name ‘EFI_DISCONNECT_CONTROLLER’ 877 | EFI_DISCONNECT_CONTROLLER DisconnectController; | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:882:5: error: unknown type name ‘EFI_OPEN_PROTOCOL’ 882 | EFI_OPEN_PROTOCOL OpenProtocol; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:883:5: error: unknown type name ‘EFI_CLOSE_PROTOCOL’ 883 | EFI_CLOSE_PROTOCOL CloseProtocol; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:884:5: error: unknown type name ‘EFI_OPEN_PROTOCOL_INFORMATION’ 884 | EFI_OPEN_PROTOCOL_INFORMATION OpenProtocolInformation; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:889:5: error: unknown type name ‘EFI_PROTOCOLS_PER_HANDLE’ 889 | EFI_PROTOCOLS_PER_HANDLE ProtocolsPerHandle; | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:890:5: error: unknown type name ‘EFI_LOCATE_HANDLE_BUFFER’ 890 | EFI_LOCATE_HANDLE_BUFFER LocateHandleBuffer; | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:891:5: error: unknown type name ‘EFI_LOCATE_PROTOCOL’ 891 | EFI_LOCATE_PROTOCOL LocateProtocol; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:892:5: error: unknown type name ‘EFI_INSTALL_MULTIPLE_PROTOCOL_INTERFACES’ 892 | EFI_INSTALL_MULTIPLE_PROTOCOL_INTERFACES InstallMultipleProtocolInterfaces; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:893:5: error: unknown type name ‘EFI_UNINSTALL_MULTIPLE_PROTOCOL_INTERFACES’ 893 | EFI_UNINSTALL_MULTIPLE_PROTOCOL_INTERFACES UninstallMultipleProtocolInterfaces; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:898:5: error: unknown type name ‘EFI_CALCULATE_CRC32’ 898 | EFI_CALCULATE_CRC32 CalculateCrc32; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:903:5: error: unknown type name ‘EFI_COPY_MEM’ 903 | EFI_COPY_MEM CopyMem; | ^~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:904:5: error: unknown type name ‘EFI_SET_MEM’ 904 | EFI_SET_MEM SetMem; | ^~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:905:5: error: unknown type name ‘EFI_CREATE_EVENT_EX’ 905 | EFI_CREATE_EVENT_EX CreateEventEx; | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:934:5: error: unknown type name ‘VOID’ 934 | VOID *VendorTable; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:954:5: error: unknown type name ‘CHAR16’ 954 | CHAR16 *FirmwareVendor; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:955:5: error: unknown type name ‘UINT32’ 955 | UINT32 FirmwareRevision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiapi.h:969:5: error: unknown type name ‘UINTN’ 969 | UINTN NumberOfTableEntries; | ^~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:69, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efifs.h:34:5: error: unknown type name ‘UINT32’ 34 | UINT32 DirectoryAllocationNumber; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:35:5: error: unknown type name ‘UINT32’ 35 | UINT32 BlockSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:55:5: error: unknown type name ‘UINT32’ 55 | UINT32 Class; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:56:5: error: unknown type name ‘UINT32’ 56 | UINT32 LBALOffset; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:58:5: error: unknown type name ‘UINT64’ 58 | UINT64 FileSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:59:5: error: unknown type name ‘UINT64’ 59 | UINT64 FileAttributes; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:63:5: error: unknown type name ‘CHAR16’ 63 | CHAR16 FileString[EFI_FILE_STRING_SIZE]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:89:5: error: unknown type name ‘UINT32’ 89 | UINT32 Class; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:92:5: error: unknown type name ‘UINT32’ 92 | UINT32 ArraySize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:93:5: error: unknown type name ‘UINT32’ 93 | UINT32 ArrayCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efifs.h:106:5: error: unknown type name ‘UINT64’ 106 | UINT64 Length; | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:71, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efiui.h:44:5: error: unknown type name ‘CHAR16’ 44 | CHAR16 *UiString; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiui.h:51:5: error: unknown type name ‘UINT32’ 51 | UINT32 Version; | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:72, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efiip.h:21:1: warning: data definition has no type or storage class 21 | INTERFACE_DECL(_EFI_IP4); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:21:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiip.h:21:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiip.h:22:1: warning: data definition has no type or storage class 22 | INTERFACE_DECL(_EFI_IP6); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:22:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiip.h:22:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiip.h:32:5: error: unknown type name ‘UINT32’ 32 | UINT32 AddressCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:37:5: error: unknown type name ‘UINT8’ 37 | UINT8 DefaultProtocol; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:45:5: error: unknown type name ‘UINT8’ 45 | UINT8 TypeOfService; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:46:5: error: unknown type name ‘UINT8’ 46 | UINT8 TimeToLive; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:49:5: error: unknown type name ‘UINT32’ 49 | UINT32 ReceiveTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:50:5: error: unknown type name ‘UINT32’ 50 | UINT32 TransmitTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:60:5: error: unknown type name ‘UINT8’ 60 | UINT8 Type; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:61:5: error: unknown type name ‘UINT8’ 61 | UINT8 Code; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:66:5: error: unknown type name ‘UINT32’ 66 | UINT32 MaxPacketSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:69:5: error: unknown type name ‘UINT32’ 69 | UINT32 GroupCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:71:5: error: unknown type name ‘UINT32’ 71 | UINT32 RouteCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:73:5: error: unknown type name ‘UINT32’ 73 | UINT32 IcmpTypeCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:79:8: error: expected ‘)’ before ‘*’ token 79 | (EFIAPI *EFI_IP4_GET_MODE_DATA) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:88:8: error: expected ‘)’ before ‘*’ token 88 | (EFIAPI *EFI_IP4_CONFIGURE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:95:8: error: expected ‘)’ before ‘*’ token 95 | (EFIAPI *EFI_IP4_GROUPS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:103:8: error: expected ‘)’ before ‘*’ token 103 | (EFIAPI *EFI_IP4_ROUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:113:5: error: unknown type name ‘UINT8’ 113 | UINT8 HeaderLength:4; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:114:5: error: unknown type name ‘UINT8’ 114 | UINT8 Version:4; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:115:5: error: unknown type name ‘UINT8’ 115 | UINT8 TypeOfService; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:116:5: error: unknown type name ‘UINT16’ 116 | UINT16 TotalLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:117:5: error: unknown type name ‘UINT16’ 117 | UINT16 Identification; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:118:5: error: unknown type name ‘UINT16’ 118 | UINT16 Fragmentation; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:119:5: error: unknown type name ‘UINT8’ 119 | UINT8 TimeToLive; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:120:5: error: unknown type name ‘UINT8’ 120 | UINT8 Protocol; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:121:5: error: unknown type name ‘UINT16’ 121 | UINT16 Checksum; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:128:5: error: unknown type name ‘UINT32’ 128 | UINT32 FragmentLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:129:5: error: unknown type name ‘VOID’ 129 | VOID *FragmentBuffer; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:135:5: error: unknown type name ‘UINT32’ 135 | UINT32 HeaderLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:137:5: error: unknown type name ‘UINT32’ 137 | UINT32 OptionsLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:138:5: error: unknown type name ‘VOID’ 138 | VOID *Options; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:139:5: error: unknown type name ‘UINT32’ 139 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:140:5: error: unknown type name ‘UINT32’ 140 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:147:5: error: unknown type name ‘UINT8’ 147 | UINT8 Protocol; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:148:5: error: unknown type name ‘UINT8’ 148 | UINT8 TypeOfService; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:149:5: error: unknown type name ‘UINT8’ 149 | UINT8 TimeToLive; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:156:5: error: unknown type name ‘UINT32’ 156 | UINT32 OptionsLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:157:5: error: unknown type name ‘VOID’ 157 | VOID *OptionsBuffer; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:158:5: error: unknown type name ‘UINT32’ 158 | UINT32 TotalDataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:159:5: error: unknown type name ‘UINT32’ 159 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:174:8: error: expected ‘)’ before ‘*’ token 174 | (EFIAPI *EFI_IP4_TRANSMIT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:181:8: error: expected ‘)’ before ‘*’ token 181 | (EFIAPI *EFI_IP4_RECEIVE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:188:8: error: expected ‘)’ before ‘*’ token 188 | (EFIAPI *EFI_IP4_CANCEL)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:195:8: error: expected ‘)’ before ‘*’ token 195 | (EFIAPI *EFI_IP4_POLL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:200:5: error: unknown type name ‘EFI_IP4_GET_MODE_DATA’ 200 | EFI_IP4_GET_MODE_DATA GetModeData; | ^~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:201:5: error: unknown type name ‘EFI_IP4_CONFIGURE’ 201 | EFI_IP4_CONFIGURE Configure; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:202:5: error: unknown type name ‘EFI_IP4_GROUPS’ 202 | EFI_IP4_GROUPS Groups; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:203:5: error: unknown type name ‘EFI_IP4_ROUTES’ 203 | EFI_IP4_ROUTES Routes; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:204:5: error: unknown type name ‘EFI_IP4_TRANSMIT’ 204 | EFI_IP4_TRANSMIT Transmit; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:205:5: error: unknown type name ‘EFI_IP4_RECEIVE’ 205 | EFI_IP4_RECEIVE Receive; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:206:5: error: unknown type name ‘EFI_IP4_CANCEL’ 206 | EFI_IP4_CANCEL Cancel; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:207:5: error: unknown type name ‘EFI_IP4_POLL’ 207 | EFI_IP4_POLL Poll; | ^~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:211:5: error: unknown type name ‘UINT8’ 211 | UINT8 DefaultProtocol; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:217:5: error: unknown type name ‘UINT8’ 217 | UINT8 TrafficClass; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:218:5: error: unknown type name ‘UINT8’ 218 | UINT8 HopLimit; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:219:5: error: unknown type name ‘UINT32’ 219 | UINT32 FlowLabel; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:220:5: error: unknown type name ‘UINT32’ 220 | UINT32 ReceiveTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:221:5: error: unknown type name ‘UINT32’ 221 | UINT32 TransmitTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:226:5: error: unknown type name ‘UINT8’ 226 | UINT8 PrefixLength; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:232:5: error: unknown type name ‘UINT8’ 232 | UINT8 PrefixLength; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:250:5: error: unknown type name ‘UINT8’ 250 | UINT8 Type; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:251:5: error: unknown type name ‘UINT8’ 251 | UINT8 Code; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:303:5: error: unknown type name ‘UINT32’ 303 | UINT32 MaxPacketSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:306:5: error: unknown type name ‘UINT32’ 306 | UINT32 AddressCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:308:5: error: unknown type name ‘UINT32’ 308 | UINT32 GroupCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:310:5: error: unknown type name ‘UINT32’ 310 | UINT32 RouteCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:312:5: error: unknown type name ‘UINT32’ 312 | UINT32 NeighborCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:314:5: error: unknown type name ‘UINT32’ 314 | UINT32 PrefixCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:316:5: error: unknown type name ‘UINT32’ 316 | UINT32 IcmpTypeCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:322:8: error: expected ‘)’ before ‘*’ token 322 | (EFIAPI *EFI_IP6_GET_MODE_DATA) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:331:8: error: expected ‘)’ before ‘*’ token 331 | (EFIAPI *EFI_IP6_CONFIGURE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:337:8: error: expected ‘)’ before ‘*’ token 337 | (EFIAPI *EFI_IP6_GROUPS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:345:8: error: expected ‘)’ before ‘*’ token 345 | (EFIAPI *EFI_IP6_ROUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:355:8: error: expected ‘)’ before ‘*’ token 355 | (EFIAPI *EFI_IP6_NEIGHBORS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:365:5: error: unknown type name ‘UINT32’ 365 | UINT32 FragmentLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:366:5: error: unknown type name ‘VOID’ 366 | VOID *FragmentBuffer; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:370:5: error: unknown type name ‘UINT8’ 370 | UINT8 Protocol; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:371:5: error: unknown type name ‘UINT8’ 371 | UINT8 HopLimit; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:372:5: error: unknown type name ‘UINT32’ 372 | UINT32 FlowLabel; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:378:5: error: unknown type name ‘UINT32’ 378 | UINT32 ExtHdrsLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:379:5: error: unknown type name ‘VOID’ 379 | VOID *ExtHdrs; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:380:5: error: unknown type name ‘UINT8’ 380 | UINT8 NextHeader; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:381:5: error: unknown type name ‘UINT32’ 381 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:382:5: error: unknown type name ‘UINT32’ 382 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:388:5: error: unknown type name ‘UINT8’ 388 | UINT8 TrafficClassH:4; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:389:5: error: unknown type name ‘UINT8’ 389 | UINT8 Version:4; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:390:5: error: unknown type name ‘UINT8’ 390 | UINT8 FlowLabelH:4; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:391:5: error: unknown type name ‘UINT8’ 391 | UINT8 TrafficClassL:4; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:392:5: error: unknown type name ‘UINT16’ 392 | UINT16 FlowLabelL; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:393:5: error: unknown type name ‘UINT16’ 393 | UINT16 PayloadLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:394:5: error: unknown type name ‘UINT8’ 394 | UINT8 NextHeader; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:395:5: error: unknown type name ‘UINT8’ 395 | UINT8 HopLimit; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:404:5: error: unknown type name ‘UINT32’ 404 | UINT32 HeaderLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:406:5: error: unknown type name ‘UINT32’ 406 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:407:5: error: unknown type name ‘UINT32’ 407 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:422:8: error: expected ‘)’ before ‘*’ token 422 | (EFIAPI *EFI_IP6_TRANSMIT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:429:8: error: expected ‘)’ before ‘*’ token 429 | (EFIAPI *EFI_IP6_RECEIVE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:436:8: error: expected ‘)’ before ‘*’ token 436 | (EFIAPI *EFI_IP6_CANCEL)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:443:8: error: expected ‘)’ before ‘*’ token 443 | (EFIAPI *EFI_IP6_POLL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiip.h:448:5: error: unknown type name ‘EFI_IP6_GET_MODE_DATA’ 448 | EFI_IP6_GET_MODE_DATA GetModeData; | ^~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:449:5: error: unknown type name ‘EFI_IP6_CONFIGURE’ 449 | EFI_IP6_CONFIGURE Configure; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:450:5: error: unknown type name ‘EFI_IP6_GROUPS’ 450 | EFI_IP6_GROUPS Groups; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:451:5: error: unknown type name ‘EFI_IP6_ROUTES’ 451 | EFI_IP6_ROUTES Routes; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:452:5: error: unknown type name ‘EFI_IP6_NEIGHBORS’ 452 | EFI_IP6_NEIGHBORS Neighbors; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:453:5: error: unknown type name ‘EFI_IP6_TRANSMIT’ 453 | EFI_IP6_TRANSMIT Transmit; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:454:5: error: unknown type name ‘EFI_IP6_RECEIVE’ 454 | EFI_IP6_RECEIVE Receive; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:455:5: error: unknown type name ‘EFI_IP6_CANCEL’ 455 | EFI_IP6_CANCEL Cancel; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiip.h:456:5: error: unknown type name ‘EFI_IP6_POLL’ 456 | EFI_IP6_POLL Poll; | ^~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:73, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efiudp.h:22:1: warning: data definition has no type or storage class 22 | INTERFACE_DECL(_EFI_UDP4); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:22:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiudp.h:22:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiudp.h:23:1: warning: data definition has no type or storage class 23 | INTERFACE_DECL(_EFI_UDP6); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:23:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efiudp.h:23:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efiudp.h:30:5: error: unknown type name ‘UINT8’ 30 | UINT8 TypeOfService; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:31:5: error: unknown type name ‘UINT8’ 31 | UINT8 TimeToLive; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:33:5: error: unknown type name ‘UINT32’ 33 | UINT32 ReceiveTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:34:5: error: unknown type name ‘UINT32’ 34 | UINT32 TransmitTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:38:5: error: unknown type name ‘UINT16’ 38 | UINT16 StationPort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:40:5: error: unknown type name ‘UINT16’ 40 | UINT16 RemotePort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:45:8: error: expected ‘)’ before ‘*’ token 45 | (EFIAPI *EFI_UDP4_GET_MODE_DATA) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:55:8: error: expected ‘)’ before ‘*’ token 55 | (EFIAPI *EFI_UDP4_CONFIGURE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:62:8: error: expected ‘)’ before ‘*’ token 62 | (EFIAPI *EFI_UDP4_GROUPS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:70:8: error: expected ‘)’ before ‘*’ token 70 | (EFIAPI *EFI_UDP4_ROUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:85:5: error: unknown type name ‘UINT16’ 85 | UINT16 SourcePort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:87:5: error: unknown type name ‘UINT16’ 87 | UINT16 DestinationPort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:91:5: error: unknown type name ‘UINT32’ 91 | UINT32 FragmentLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:92:5: error: unknown type name ‘VOID’ 92 | VOID *FragmentBuffer; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:99:5: error: unknown type name ‘UINT32’ 99 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:100:5: error: unknown type name ‘UINT32’ 100 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:107:5: error: unknown type name ‘UINT32’ 107 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:108:5: error: unknown type name ‘UINT32’ 108 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:123:8: error: expected ‘)’ before ‘*’ token 123 | (EFIAPI *EFI_UDP4_TRANSMIT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:130:8: error: expected ‘)’ before ‘*’ token 130 | (EFIAPI *EFI_UDP4_RECEIVE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:137:8: error: expected ‘)’ before ‘*’ token 137 | (EFIAPI *EFI_UDP4_CANCEL)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:144:8: error: expected ‘)’ before ‘*’ token 144 | (EFIAPI *EFI_UDP4_POLL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:149:5: error: unknown type name ‘EFI_UDP4_GET_MODE_DATA’ 149 | EFI_UDP4_GET_MODE_DATA GetModeData; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:150:5: error: unknown type name ‘EFI_UDP4_CONFIGURE’ 150 | EFI_UDP4_CONFIGURE Configure; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:151:5: error: unknown type name ‘EFI_UDP4_GROUPS’ 151 | EFI_UDP4_GROUPS Groups; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:152:5: error: unknown type name ‘EFI_UDP4_ROUTES’ 152 | EFI_UDP4_ROUTES Routes; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:153:5: error: unknown type name ‘EFI_UDP4_TRANSMIT’ 153 | EFI_UDP4_TRANSMIT Transmit; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:154:5: error: unknown type name ‘EFI_UDP4_RECEIVE’ 154 | EFI_UDP4_RECEIVE Receive; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:155:5: error: unknown type name ‘EFI_UDP4_CANCEL’ 155 | EFI_UDP4_CANCEL Cancel; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:156:5: error: unknown type name ‘EFI_UDP4_POLL’ 156 | EFI_UDP4_POLL Poll; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:163:5: error: unknown type name ‘UINT8’ 163 | UINT8 TrafficClass; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:164:5: error: unknown type name ‘UINT8’ 164 | UINT8 HopLimit; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:165:5: error: unknown type name ‘UINT32’ 165 | UINT32 ReceiveTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:166:5: error: unknown type name ‘UINT32’ 166 | UINT32 TransmitTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:168:5: error: unknown type name ‘UINT16’ 168 | UINT16 StationPort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:170:5: error: unknown type name ‘UINT16’ 170 | UINT16 RemotePort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:175:8: error: expected ‘)’ before ‘*’ token 175 | (EFIAPI *EFI_UDP6_GET_MODE_DATA) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:185:8: error: expected ‘)’ before ‘*’ token 185 | (EFIAPI *EFI_UDP6_CONFIGURE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:192:8: error: expected ‘)’ before ‘*’ token 192 | (EFIAPI *EFI_UDP6_GROUPS) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:200:5: error: unknown type name ‘UINT16’ 200 | UINT16 SourcePort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:202:5: error: unknown type name ‘UINT16’ 202 | UINT16 DestinationPort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:206:5: error: unknown type name ‘UINT32’ 206 | UINT32 FragmentLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:207:5: error: unknown type name ‘VOID’ 207 | VOID *FragmentBuffer; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:214:5: error: unknown type name ‘UINT32’ 214 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:215:5: error: unknown type name ‘UINT32’ 215 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:221:5: error: unknown type name ‘UINT32’ 221 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:222:5: error: unknown type name ‘UINT32’ 222 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:237:8: error: expected ‘)’ before ‘*’ token 237 | (EFIAPI *EFI_UDP6_TRANSMIT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:244:8: error: expected ‘)’ before ‘*’ token 244 | (EFIAPI *EFI_UDP6_RECEIVE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:251:8: error: expected ‘)’ before ‘*’ token 251 | (EFIAPI *EFI_UDP6_CANCEL)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:258:8: error: expected ‘)’ before ‘*’ token 258 | (EFIAPI *EFI_UDP6_POLL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efiudp.h:263:5: error: unknown type name ‘EFI_UDP6_GET_MODE_DATA’ 263 | EFI_UDP6_GET_MODE_DATA GetModeData; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:264:5: error: unknown type name ‘EFI_UDP6_CONFIGURE’ 264 | EFI_UDP6_CONFIGURE Configure; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:265:5: error: unknown type name ‘EFI_UDP6_GROUPS’ 265 | EFI_UDP6_GROUPS Groups; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:266:5: error: unknown type name ‘EFI_UDP6_TRANSMIT’ 266 | EFI_UDP6_TRANSMIT Transmit; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:267:5: error: unknown type name ‘EFI_UDP6_RECEIVE’ 267 | EFI_UDP6_RECEIVE Receive; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:268:5: error: unknown type name ‘EFI_UDP6_CANCEL’ 268 | EFI_UDP6_CANCEL Cancel; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efiudp.h:269:5: error: unknown type name ‘EFI_UDP6_POLL’ 269 | EFI_UDP6_POLL Poll; | ^~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:74, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efitcp.h:21:1: warning: data definition has no type or storage class 21 | INTERFACE_DECL(_EFI_TCP4); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:21:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efitcp.h:21:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efitcp.h:22:1: warning: data definition has no type or storage class 22 | INTERFACE_DECL(_EFI_TCP6); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:22:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efitcp.h:22:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efitcp.h:28:5: error: unknown type name ‘UINT16’ 28 | UINT16 StationPort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:30:5: error: unknown type name ‘UINT16’ 30 | UINT16 RemotePort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:35:5: error: unknown type name ‘UINT32’ 35 | UINT32 ReceiveBufferSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:36:5: error: unknown type name ‘UINT32’ 36 | UINT32 SendBufferSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:37:5: error: unknown type name ‘UINT32’ 37 | UINT32 MaxSynBackLog; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:38:5: error: unknown type name ‘UINT32’ 38 | UINT32 ConnectionTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:39:5: error: unknown type name ‘UINT32’ 39 | UINT32 DataRetries; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:40:5: error: unknown type name ‘UINT32’ 40 | UINT32 FinTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:41:5: error: unknown type name ‘UINT32’ 41 | UINT32 TimeWaitTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:42:5: error: unknown type name ‘UINT32’ 42 | UINT32 KeepAliveProbes; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:43:5: error: unknown type name ‘UINT32’ 43 | UINT32 KeepAliveTime; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:44:5: error: unknown type name ‘UINT32’ 44 | UINT32 KeepAliveInterval; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:55:5: error: unknown type name ‘UINT8’ 55 | UINT8 TypeOfService; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:56:5: error: unknown type name ‘UINT8’ 56 | UINT8 TimeToLive; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:81:8: error: expected ‘)’ before ‘*’ token 81 | (EFIAPI *EFI_TCP4_GET_MODE_DATA) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:92:8: error: expected ‘)’ before ‘*’ token 92 | (EFIAPI *EFI_TCP4_CONFIGURE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:99:8: error: expected ‘)’ before ‘*’ token 99 | (EFIAPI *EFI_TCP4_ROUTES) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:118:8: error: expected ‘)’ before ‘*’ token 118 | (EFIAPI *EFI_TCP4_CONNECT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:130:8: error: expected ‘)’ before ‘*’ token 130 | (EFIAPI *EFI_TCP4_ACCEPT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:140:5: error: unknown type name ‘UINT32’ 140 | UINT32 FragmentLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:141:5: error: unknown type name ‘VOID’ 141 | VOID *FragmentBuffer; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:146:5: error: unknown type name ‘UINT32’ 146 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:147:5: error: unknown type name ‘UINT32’ 147 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:154:5: error: unknown type name ‘UINT32’ 154 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:155:5: error: unknown type name ‘UINT32’ 155 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:169:8: error: expected ‘)’ before ‘*’ token 169 | (EFIAPI *EFI_TCP4_TRANSMIT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:176:8: error: expected ‘)’ before ‘*’ token 176 | (EFIAPI *EFI_TCP4_RECEIVE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:188:8: error: expected ‘)’ before ‘*’ token 188 | (EFIAPI *EFI_TCP4_CLOSE)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:195:8: error: expected ‘)’ before ‘*’ token 195 | (EFIAPI *EFI_TCP4_CANCEL)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:202:8: error: expected ‘)’ before ‘*’ token 202 | (EFIAPI *EFI_TCP4_POLL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:207:5: error: unknown type name ‘EFI_TCP4_GET_MODE_DATA’ 207 | EFI_TCP4_GET_MODE_DATA GetModeData; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:208:5: error: unknown type name ‘EFI_TCP4_CONFIGURE’ 208 | EFI_TCP4_CONFIGURE Configure; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:209:5: error: unknown type name ‘EFI_TCP4_ROUTES’ 209 | EFI_TCP4_ROUTES Routes; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:210:5: error: unknown type name ‘EFI_TCP4_CONNECT’ 210 | EFI_TCP4_CONNECT Connect; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:211:5: error: unknown type name ‘EFI_TCP4_ACCEPT’ 211 | EFI_TCP4_ACCEPT Accept; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:212:5: error: unknown type name ‘EFI_TCP4_TRANSMIT’ 212 | EFI_TCP4_TRANSMIT Transmit; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:213:5: error: unknown type name ‘EFI_TCP4_RECEIVE’ 213 | EFI_TCP4_RECEIVE Receive; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:214:5: error: unknown type name ‘EFI_TCP4_CLOSE’ 214 | EFI_TCP4_CLOSE Close; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:215:5: error: unknown type name ‘EFI_TCP4_CANCEL’ 215 | EFI_TCP4_CANCEL Cancel; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:216:5: error: unknown type name ‘EFI_TCP4_POLL’ 216 | EFI_TCP4_POLL Poll; | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:235:5: error: unknown type name ‘UINT16’ 235 | UINT16 StationPort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:237:5: error: unknown type name ‘UINT16’ 237 | UINT16 RemotePort; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:242:5: error: unknown type name ‘UINT32’ 242 | UINT32 ReceiveBufferSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:243:5: error: unknown type name ‘UINT32’ 243 | UINT32 SendBufferSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:244:5: error: unknown type name ‘UINT32’ 244 | UINT32 MaxSynBackLog; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:245:5: error: unknown type name ‘UINT32’ 245 | UINT32 ConnectionTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:246:5: error: unknown type name ‘UINT32’ 246 | UINT32 DataRetries; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:247:5: error: unknown type name ‘UINT32’ 247 | UINT32 FinTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:248:5: error: unknown type name ‘UINT32’ 248 | UINT32 TimeWaitTimeout; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:249:5: error: unknown type name ‘UINT32’ 249 | UINT32 KeepAliveProbes; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:250:5: error: unknown type name ‘UINT32’ 250 | UINT32 KeepAliveTime; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:251:5: error: unknown type name ‘UINT32’ 251 | UINT32 KeepAliveInterval; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:260:5: error: unknown type name ‘UINT8’ 260 | UINT8 TrafficClass; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:261:5: error: unknown type name ‘UINT8’ 261 | UINT8 HopLimit; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:268:8: error: expected ‘)’ before ‘*’ token 268 | (EFIAPI *EFI_TCP6_GET_MODE_DATA) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:279:8: error: expected ‘)’ before ‘*’ token 279 | (EFIAPI *EFI_TCP6_CONFIGURE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:295:8: error: expected ‘)’ before ‘*’ token 295 | (EFIAPI *EFI_TCP6_CONNECT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:307:8: error: expected ‘)’ before ‘*’ token 307 | (EFIAPI *EFI_TCP6_ACCEPT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:313:5: error: unknown type name ‘UINT32’ 313 | UINT32 FragmentLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:314:5: error: unknown type name ‘VOID’ 314 | VOID *FragmentBuffer; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:319:5: error: unknown type name ‘UINT32’ 319 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:320:5: error: unknown type name ‘UINT32’ 320 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:327:5: error: unknown type name ‘UINT32’ 327 | UINT32 DataLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:328:5: error: unknown type name ‘UINT32’ 328 | UINT32 FragmentCount; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:342:8: error: expected ‘)’ before ‘*’ token 342 | (EFIAPI *EFI_TCP6_TRANSMIT) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:349:8: error: expected ‘)’ before ‘*’ token 349 | (EFIAPI *EFI_TCP6_RECEIVE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:361:8: error: expected ‘)’ before ‘*’ token 361 | (EFIAPI *EFI_TCP6_CLOSE)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:368:8: error: expected ‘)’ before ‘*’ token 368 | (EFIAPI *EFI_TCP6_CANCEL)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:375:8: error: expected ‘)’ before ‘*’ token 375 | (EFIAPI *EFI_TCP6_POLL) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efitcp.h:380:5: error: unknown type name ‘EFI_TCP6_GET_MODE_DATA’ 380 | EFI_TCP6_GET_MODE_DATA GetModeData; | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:381:5: error: unknown type name ‘EFI_TCP6_CONFIGURE’ 381 | EFI_TCP6_CONFIGURE Configure; | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:382:5: error: unknown type name ‘EFI_TCP6_CONNECT’ 382 | EFI_TCP6_CONNECT Connect; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:383:5: error: unknown type name ‘EFI_TCP6_ACCEPT’ 383 | EFI_TCP6_ACCEPT Accept; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:384:5: error: unknown type name ‘EFI_TCP6_TRANSMIT’ 384 | EFI_TCP6_TRANSMIT Transmit; | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:385:5: error: unknown type name ‘EFI_TCP6_RECEIVE’ 385 | EFI_TCP6_RECEIVE Receive; | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:386:5: error: unknown type name ‘EFI_TCP6_CLOSE’ 386 | EFI_TCP6_CLOSE Close; | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:387:5: error: unknown type name ‘EFI_TCP6_CANCEL’ 387 | EFI_TCP6_CANCEL Cancel; | ^~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efitcp.h:388:5: error: unknown type name ‘EFI_TCP6_POLL’ 388 | EFI_TCP6_POLL Poll; | ^~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:75, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efipoint.h:28:1: warning: data definition has no type or storage class 28 | INTERFACE_DECL(_EFI_SIMPLE_POINTER); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:28:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efipoint.h:28:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efipoint.h:31:9: error: unknown type name ‘INT32’ 31 | INT32 RelativeMovementX; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:32:9: error: unknown type name ‘INT32’ 32 | INT32 RelativeMovementY; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:33:9: error: unknown type name ‘INT32’ 33 | INT32 RelativeMovementZ; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:39:9: error: unknown type name ‘UINT64’ 39 | UINT64 ResolutionX; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:40:9: error: unknown type name ‘UINT64’ 40 | UINT64 ResolutionY; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:41:9: error: unknown type name ‘UINT64’ 41 | UINT64 ResolutionZ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:48:8: error: expected ‘)’ before ‘*’ token 48 | (EFIAPI *EFI_SIMPLE_POINTER_RESET) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipoint.h:55:8: error: expected ‘)’ before ‘*’ token 55 | (EFIAPI *EFI_SIMPLE_POINTER_GET_STATE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipoint.h:61:9: error: unknown type name ‘EFI_SIMPLE_POINTER_RESET’ 61 | EFI_SIMPLE_POINTER_RESET Reset; | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:62:9: error: unknown type name ‘EFI_SIMPLE_POINTER_GET_STATE’ 62 | EFI_SIMPLE_POINTER_GET_STATE GetState; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:70:1: warning: data definition has no type or storage class 70 | INTERFACE_DECL(_EFI_ABSOLUTE_POINTER_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:70:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efipoint.h:70:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efipoint.h:73:9: error: unknown type name ‘UINT64’ 73 | UINT64 AbsoluteMinX; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:74:9: error: unknown type name ‘UINT64’ 74 | UINT64 AbsoluteMinY; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:75:9: error: unknown type name ‘UINT64’ 75 | UINT64 AbsoluteMinZ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:76:9: error: unknown type name ‘UINT64’ 76 | UINT64 AbsoluteMaxX; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:77:9: error: unknown type name ‘UINT64’ 77 | UINT64 AbsoluteMaxY; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:78:9: error: unknown type name ‘UINT64’ 78 | UINT64 AbsoluteMaxZ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:79:9: error: unknown type name ‘UINT32’ 79 | UINT32 Attributes; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:83:9: error: unknown type name ‘UINT64’ 83 | UINT64 CurrentX; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:84:9: error: unknown type name ‘UINT64’ 84 | UINT64 CurrentY; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:85:9: error: unknown type name ‘UINT64’ 85 | UINT64 CurrentZ; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:86:9: error: unknown type name ‘UINT32’ 86 | UINT32 ActiveButtons; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:96:8: error: expected ‘)’ before ‘*’ token 96 | (EFIAPI *EFI_ABSOLUTE_POINTER_RESET) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipoint.h:103:8: error: expected ‘)’ before ‘*’ token 103 | (EFIAPI *EFI_ABSOLUTE_POINTER_GET_STATE) ( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efipoint.h:109:9: error: unknown type name ‘EFI_ABSOLUTE_POINTER_RESET’ 109 | EFI_ABSOLUTE_POINTER_RESET Reset; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efipoint.h:110:9: error: unknown type name ‘EFI_ABSOLUTE_POINTER_GET_STATE’ 110 | EFI_ABSOLUTE_POINTER_GET_STATE GetState; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efilib.h:22, from shim.h:57, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efidebug.h:22:8: error: unknown type name ‘UINTN’ 22 | extern UINTN EFIDebug; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:95:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 95 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efidebug.h:97:11: error: unknown type name ‘CHAR8’ 97 | CONST CHAR8 *file, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:98:5: error: unknown type name ‘INTN’; did you mean ‘IN’? 98 | INTN lineno, | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efidebug.h:99:11: error: unknown type name ‘CHAR8’ 99 | CONST CHAR8 *string | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:102:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 102 | INTN EFIAPI | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efidebug.h:103:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DbgPrint’ 103 | DbgPrint ( | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:113:9: error: unknown type name ‘INTN’ 113 | typedef INTN EFI_EXCEPTION_TYPE; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:135:5: error: unknown type name ‘UINT16’ 135 | UINT16 Fcw; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:136:5: error: unknown type name ‘UINT16’ 136 | UINT16 Fsw; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:137:5: error: unknown type name ‘UINT16’ 137 | UINT16 Ftw; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:138:5: error: unknown type name ‘UINT16’ 138 | UINT16 Opcode; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:139:5: error: unknown type name ‘UINT32’ 139 | UINT32 Eip; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:140:5: error: unknown type name ‘UINT16’ 140 | UINT16 Cs; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:141:5: error: unknown type name ‘UINT16’ 141 | UINT16 Reserved1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:142:5: error: unknown type name ‘UINT32’ 142 | UINT32 DataOffset; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:143:5: error: unknown type name ‘UINT16’ 143 | UINT16 Ds; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:144:5: error: unknown type name ‘UINT8’ 144 | UINT8 Reserved2[10]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:145:5: error: unknown type name ‘UINT8’ 145 | UINT8 St0Mm0[10], Reserved3[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:146:5: error: unknown type name ‘UINT8’ 146 | UINT8 St1Mm1[10], Reserved4[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:147:5: error: unknown type name ‘UINT8’ 147 | UINT8 St2Mm2[10], Reserved5[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:148:5: error: unknown type name ‘UINT8’ 148 | UINT8 St3Mm3[10], Reserved6[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:149:5: error: unknown type name ‘UINT8’ 149 | UINT8 St4Mm4[10], Reserved7[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:150:5: error: unknown type name ‘UINT8’ 150 | UINT8 St5Mm5[10], Reserved8[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:151:5: error: unknown type name ‘UINT8’ 151 | UINT8 St6Mm6[10], Reserved9[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:152:5: error: unknown type name ‘UINT8’ 152 | UINT8 St7Mm7[10], Reserved10[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:153:5: error: unknown type name ‘UINT8’ 153 | UINT8 Xmm0[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:154:5: error: unknown type name ‘UINT8’ 154 | UINT8 Xmm1[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:155:5: error: unknown type name ‘UINT8’ 155 | UINT8 Xmm2[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:156:5: error: unknown type name ‘UINT8’ 156 | UINT8 Xmm3[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:157:5: error: unknown type name ‘UINT8’ 157 | UINT8 Xmm4[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:158:5: error: unknown type name ‘UINT8’ 158 | UINT8 Xmm5[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:159:5: error: unknown type name ‘UINT8’ 159 | UINT8 Xmm6[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:160:5: error: unknown type name ‘UINT8’ 160 | UINT8 Xmm7[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:161:5: error: unknown type name ‘UINT8’ 161 | UINT8 Reserved11[14 * 16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:165:5: error: unknown type name ‘UINT32’ 165 | UINT32 ExceptionData; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:167:5: error: unknown type name ‘UINT32’ 167 | UINT32 Dr0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:168:5: error: unknown type name ‘UINT32’ 168 | UINT32 Dr1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:169:5: error: unknown type name ‘UINT32’ 169 | UINT32 Dr2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:170:5: error: unknown type name ‘UINT32’ 170 | UINT32 Dr3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:171:5: error: unknown type name ‘UINT32’ 171 | UINT32 Dr6; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:172:5: error: unknown type name ‘UINT32’ 172 | UINT32 Dr7; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:173:5: error: unknown type name ‘UINT32’ 173 | UINT32 Cr0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:174:5: error: unknown type name ‘UINT32’ 174 | UINT32 Cr1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:175:5: error: unknown type name ‘UINT32’ 175 | UINT32 Cr2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:176:5: error: unknown type name ‘UINT32’ 176 | UINT32 Cr3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:177:5: error: unknown type name ‘UINT32’ 177 | UINT32 Cr4; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:178:5: error: unknown type name ‘UINT32’ 178 | UINT32 Eflags; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:179:5: error: unknown type name ‘UINT32’ 179 | UINT32 Ldtr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:180:5: error: unknown type name ‘UINT32’ 180 | UINT32 Tr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:181:5: error: unknown type name ‘UINT32’ 181 | UINT32 Gdtr[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:182:5: error: unknown type name ‘UINT32’ 182 | UINT32 Idtr[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:183:5: error: unknown type name ‘UINT32’ 183 | UINT32 Eip; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:184:5: error: unknown type name ‘UINT32’ 184 | UINT32 Gs; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:185:5: error: unknown type name ‘UINT32’ 185 | UINT32 Fs; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:186:5: error: unknown type name ‘UINT32’ 186 | UINT32 Es; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:187:5: error: unknown type name ‘UINT32’ 187 | UINT32 Ds; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:188:5: error: unknown type name ‘UINT32’ 188 | UINT32 Cs; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:189:5: error: unknown type name ‘UINT32’ 189 | UINT32 Ss; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:190:5: error: unknown type name ‘UINT32’ 190 | UINT32 Edi; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:191:5: error: unknown type name ‘UINT32’ 191 | UINT32 Esi; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:192:5: error: unknown type name ‘UINT32’ 192 | UINT32 Ebp; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:193:5: error: unknown type name ‘UINT32’ 193 | UINT32 Esp; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:194:5: error: unknown type name ‘UINT32’ 194 | UINT32 Ebx; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:195:5: error: unknown type name ‘UINT32’ 195 | UINT32 Edx; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:196:5: error: unknown type name ‘UINT32’ 196 | UINT32 Ecx; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:197:5: error: unknown type name ‘UINT32’ 197 | UINT32 Eax; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:220:5: error: unknown type name ‘UINT16’ 220 | UINT16 Fcw; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:221:5: error: unknown type name ‘UINT16’ 221 | UINT16 Fsw; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:222:5: error: unknown type name ‘UINT16’ 222 | UINT16 Ftw; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:223:5: error: unknown type name ‘UINT16’ 223 | UINT16 Opcode; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:224:5: error: unknown type name ‘UINT64’ 224 | UINT64 Rip; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:225:5: error: unknown type name ‘UINT64’ 225 | UINT64 DataOffset; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:226:5: error: unknown type name ‘UINT8’ 226 | UINT8 Reserved1[8]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:227:5: error: unknown type name ‘UINT8’ 227 | UINT8 St0Mm0[10], Reserved2[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:228:5: error: unknown type name ‘UINT8’ 228 | UINT8 St1Mm1[10], Reserved3[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:229:5: error: unknown type name ‘UINT8’ 229 | UINT8 St2Mm2[10], Reserved4[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:230:5: error: unknown type name ‘UINT8’ 230 | UINT8 St3Mm3[10], Reserved5[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:231:5: error: unknown type name ‘UINT8’ 231 | UINT8 St4Mm4[10], Reserved6[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:232:5: error: unknown type name ‘UINT8’ 232 | UINT8 St5Mm5[10], Reserved7[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:233:5: error: unknown type name ‘UINT8’ 233 | UINT8 St6Mm6[10], Reserved8[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:234:5: error: unknown type name ‘UINT8’ 234 | UINT8 St7Mm7[10], Reserved9[6]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:235:5: error: unknown type name ‘UINT8’ 235 | UINT8 Xmm0[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:236:5: error: unknown type name ‘UINT8’ 236 | UINT8 Xmm1[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:237:5: error: unknown type name ‘UINT8’ 237 | UINT8 Xmm2[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:238:5: error: unknown type name ‘UINT8’ 238 | UINT8 Xmm3[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:239:5: error: unknown type name ‘UINT8’ 239 | UINT8 Xmm4[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:240:5: error: unknown type name ‘UINT8’ 240 | UINT8 Xmm5[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:241:5: error: unknown type name ‘UINT8’ 241 | UINT8 Xmm6[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:242:5: error: unknown type name ‘UINT8’ 242 | UINT8 Xmm7[16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:243:5: error: unknown type name ‘UINT8’ 243 | UINT8 Reserved11[14 * 16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:247:5: error: unknown type name ‘UINT64’ 247 | UINT64 ExceptionData; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:249:5: error: unknown type name ‘UINT64’ 249 | UINT64 Dr0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:250:5: error: unknown type name ‘UINT64’ 250 | UINT64 Dr1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:251:5: error: unknown type name ‘UINT64’ 251 | UINT64 Dr2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:252:5: error: unknown type name ‘UINT64’ 252 | UINT64 Dr3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:253:5: error: unknown type name ‘UINT64’ 253 | UINT64 Dr6; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:254:5: error: unknown type name ‘UINT64’ 254 | UINT64 Dr7; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:255:5: error: unknown type name ‘UINT64’ 255 | UINT64 Cr0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:256:5: error: unknown type name ‘UINT64’ 256 | UINT64 Cr1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:257:5: error: unknown type name ‘UINT64’ 257 | UINT64 Cr2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:258:5: error: unknown type name ‘UINT64’ 258 | UINT64 Cr3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:259:5: error: unknown type name ‘UINT64’ 259 | UINT64 Cr4; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:260:5: error: unknown type name ‘UINT64’ 260 | UINT64 Cr8; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:261:5: error: unknown type name ‘UINT64’ 261 | UINT64 Rflags; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:262:5: error: unknown type name ‘UINT64’ 262 | UINT64 Ldtr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:263:5: error: unknown type name ‘UINT64’ 263 | UINT64 Tr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:264:5: error: unknown type name ‘UINT64’ 264 | UINT64 Gdtr[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:265:5: error: unknown type name ‘UINT64’ 265 | UINT64 Idtr[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:266:5: error: unknown type name ‘UINT64’ 266 | UINT64 Rip; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:267:5: error: unknown type name ‘UINT64’ 267 | UINT64 Gs; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:268:5: error: unknown type name ‘UINT64’ 268 | UINT64 Fs; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:269:5: error: unknown type name ‘UINT64’ 269 | UINT64 Es; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:270:5: error: unknown type name ‘UINT64’ 270 | UINT64 Ds; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:271:5: error: unknown type name ‘UINT64’ 271 | UINT64 Cs; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:272:5: error: unknown type name ‘UINT64’ 272 | UINT64 Ss; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:273:5: error: unknown type name ‘UINT64’ 273 | UINT64 Rdi; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:274:5: error: unknown type name ‘UINT64’ 274 | UINT64 Rsi; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:275:5: error: unknown type name ‘UINT64’ 275 | UINT64 Rbp; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:276:5: error: unknown type name ‘UINT64’ 276 | UINT64 Rsp; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:277:5: error: unknown type name ‘UINT64’ 277 | UINT64 Rbx; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:278:5: error: unknown type name ‘UINT64’ 278 | UINT64 Rdx; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:279:5: error: unknown type name ‘UINT64’ 279 | UINT64 Rcx; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:280:5: error: unknown type name ‘UINT64’ 280 | UINT64 Rax; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:281:5: error: unknown type name ‘UINT64’ 281 | UINT64 R8; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:282:5: error: unknown type name ‘UINT64’ 282 | UINT64 R9; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:283:5: error: unknown type name ‘UINT64’ 283 | UINT64 R10; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:284:5: error: unknown type name ‘UINT64’ 284 | UINT64 R11; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:285:5: error: unknown type name ‘UINT64’ 285 | UINT64 R12; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:286:5: error: unknown type name ‘UINT64’ 286 | UINT64 R13; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:287:5: error: unknown type name ‘UINT64’ 287 | UINT64 R14; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:288:5: error: unknown type name ‘UINT64’ 288 | UINT64 R15; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:326:5: error: unknown type name ‘UINT64’ 326 | UINT64 Reserved; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:327:5: error: unknown type name ‘UINT64’ 327 | UINT64 R1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:328:5: error: unknown type name ‘UINT64’ 328 | UINT64 R2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:329:5: error: unknown type name ‘UINT64’ 329 | UINT64 R3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:330:5: error: unknown type name ‘UINT64’ 330 | UINT64 R4; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:331:5: error: unknown type name ‘UINT64’ 331 | UINT64 R5; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:332:5: error: unknown type name ‘UINT64’ 332 | UINT64 R6; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:333:5: error: unknown type name ‘UINT64’ 333 | UINT64 R7; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:334:5: error: unknown type name ‘UINT64’ 334 | UINT64 R8; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:335:5: error: unknown type name ‘UINT64’ 335 | UINT64 R9; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:336:5: error: unknown type name ‘UINT64’ 336 | UINT64 R10; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:337:5: error: unknown type name ‘UINT64’ 337 | UINT64 R11; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:338:5: error: unknown type name ‘UINT64’ 338 | UINT64 R12; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:339:5: error: unknown type name ‘UINT64’ 339 | UINT64 R13; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:340:5: error: unknown type name ‘UINT64’ 340 | UINT64 R14; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:341:5: error: unknown type name ‘UINT64’ 341 | UINT64 R15; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:342:5: error: unknown type name ‘UINT64’ 342 | UINT64 R16; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:343:5: error: unknown type name ‘UINT64’ 343 | UINT64 R17; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:344:5: error: unknown type name ‘UINT64’ 344 | UINT64 R18; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:345:5: error: unknown type name ‘UINT64’ 345 | UINT64 R19; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:346:5: error: unknown type name ‘UINT64’ 346 | UINT64 R20; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:347:5: error: unknown type name ‘UINT64’ 347 | UINT64 R21; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:348:5: error: unknown type name ‘UINT64’ 348 | UINT64 R22; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:349:5: error: unknown type name ‘UINT64’ 349 | UINT64 R23; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:350:5: error: unknown type name ‘UINT64’ 350 | UINT64 R24; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:351:5: error: unknown type name ‘UINT64’ 351 | UINT64 R25; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:352:5: error: unknown type name ‘UINT64’ 352 | UINT64 R26; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:353:5: error: unknown type name ‘UINT64’ 353 | UINT64 R27; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:354:5: error: unknown type name ‘UINT64’ 354 | UINT64 R28; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:355:5: error: unknown type name ‘UINT64’ 355 | UINT64 R29; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:356:5: error: unknown type name ‘UINT64’ 356 | UINT64 R30; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:357:5: error: unknown type name ‘UINT64’ 357 | UINT64 R31; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:358:5: error: unknown type name ‘UINT64’ 358 | UINT64 F2[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:359:5: error: unknown type name ‘UINT64’ 359 | UINT64 F3[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:360:5: error: unknown type name ‘UINT64’ 360 | UINT64 F4[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:361:5: error: unknown type name ‘UINT64’ 361 | UINT64 F5[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:362:5: error: unknown type name ‘UINT64’ 362 | UINT64 F6[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:363:5: error: unknown type name ‘UINT64’ 363 | UINT64 F7[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:364:5: error: unknown type name ‘UINT64’ 364 | UINT64 F8[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:365:5: error: unknown type name ‘UINT64’ 365 | UINT64 F9[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:366:5: error: unknown type name ‘UINT64’ 366 | UINT64 F10[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:367:5: error: unknown type name ‘UINT64’ 367 | UINT64 F11[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:368:5: error: unknown type name ‘UINT64’ 368 | UINT64 F12[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:369:5: error: unknown type name ‘UINT64’ 369 | UINT64 F13[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:370:5: error: unknown type name ‘UINT64’ 370 | UINT64 F14[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:371:5: error: unknown type name ‘UINT64’ 371 | UINT64 F15[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:372:5: error: unknown type name ‘UINT64’ 372 | UINT64 F16[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:373:5: error: unknown type name ‘UINT64’ 373 | UINT64 F17[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:374:5: error: unknown type name ‘UINT64’ 374 | UINT64 F18[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:375:5: error: unknown type name ‘UINT64’ 375 | UINT64 F19[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:376:5: error: unknown type name ‘UINT64’ 376 | UINT64 F20[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:377:5: error: unknown type name ‘UINT64’ 377 | UINT64 F21[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:378:5: error: unknown type name ‘UINT64’ 378 | UINT64 F22[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:379:5: error: unknown type name ‘UINT64’ 379 | UINT64 F23[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:380:5: error: unknown type name ‘UINT64’ 380 | UINT64 F24[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:381:5: error: unknown type name ‘UINT64’ 381 | UINT64 F25[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:382:5: error: unknown type name ‘UINT64’ 382 | UINT64 F26[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:383:5: error: unknown type name ‘UINT64’ 383 | UINT64 F27[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:384:5: error: unknown type name ‘UINT64’ 384 | UINT64 F28[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:385:5: error: unknown type name ‘UINT64’ 385 | UINT64 F29[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:386:5: error: unknown type name ‘UINT64’ 386 | UINT64 F30[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:387:5: error: unknown type name ‘UINT64’ 387 | UINT64 F31[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:388:5: error: unknown type name ‘UINT64’ 388 | UINT64 Pr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:389:5: error: unknown type name ‘UINT64’ 389 | UINT64 B0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:390:5: error: unknown type name ‘UINT64’ 390 | UINT64 B1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:391:5: error: unknown type name ‘UINT64’ 391 | UINT64 B2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:392:5: error: unknown type name ‘UINT64’ 392 | UINT64 B3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:393:5: error: unknown type name ‘UINT64’ 393 | UINT64 B4; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:394:5: error: unknown type name ‘UINT64’ 394 | UINT64 B5; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:395:5: error: unknown type name ‘UINT64’ 395 | UINT64 B6; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:396:5: error: unknown type name ‘UINT64’ 396 | UINT64 B7; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:397:5: error: unknown type name ‘UINT64’ 397 | UINT64 ArRsc; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:398:5: error: unknown type name ‘UINT64’ 398 | UINT64 ArBsp; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:399:5: error: unknown type name ‘UINT64’ 399 | UINT64 ArBspstore; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:400:5: error: unknown type name ‘UINT64’ 400 | UINT64 ArRnat; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:401:5: error: unknown type name ‘UINT64’ 401 | UINT64 ArFcr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:402:5: error: unknown type name ‘UINT64’ 402 | UINT64 ArEflag; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:403:5: error: unknown type name ‘UINT64’ 403 | UINT64 ArCsd; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:404:5: error: unknown type name ‘UINT64’ 404 | UINT64 ArSsd; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:405:5: error: unknown type name ‘UINT64’ 405 | UINT64 ArCflg; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:406:5: error: unknown type name ‘UINT64’ 406 | UINT64 ArFsr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:407:5: error: unknown type name ‘UINT64’ 407 | UINT64 ArFir; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:408:5: error: unknown type name ‘UINT64’ 408 | UINT64 ArFdr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:409:5: error: unknown type name ‘UINT64’ 409 | UINT64 ArCcv; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:410:5: error: unknown type name ‘UINT64’ 410 | UINT64 ArUnat; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:411:5: error: unknown type name ‘UINT64’ 411 | UINT64 ArFpsr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:412:5: error: unknown type name ‘UINT64’ 412 | UINT64 ArPfs; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:413:5: error: unknown type name ‘UINT64’ 413 | UINT64 ArLc; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:414:5: error: unknown type name ‘UINT64’ 414 | UINT64 ArEc; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:415:5: error: unknown type name ‘UINT64’ 415 | UINT64 CrDcr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:416:5: error: unknown type name ‘UINT64’ 416 | UINT64 CrItm; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:417:5: error: unknown type name ‘UINT64’ 417 | UINT64 CrIva; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:418:5: error: unknown type name ‘UINT64’ 418 | UINT64 CrPta; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:419:5: error: unknown type name ‘UINT64’ 419 | UINT64 CrIpsr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:420:5: error: unknown type name ‘UINT64’ 420 | UINT64 CrIsr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:421:5: error: unknown type name ‘UINT64’ 421 | UINT64 CrIip; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:422:5: error: unknown type name ‘UINT64’ 422 | UINT64 CrIfa; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:423:5: error: unknown type name ‘UINT64’ 423 | UINT64 CrItir; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:424:5: error: unknown type name ‘UINT64’ 424 | UINT64 CrIipa; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:425:5: error: unknown type name ‘UINT64’ 425 | UINT64 CrIfs; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:426:5: error: unknown type name ‘UINT64’ 426 | UINT64 CrIim; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:427:5: error: unknown type name ‘UINT64’ 427 | UINT64 CrIha; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:428:5: error: unknown type name ‘UINT64’ 428 | UINT64 Dbr0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:429:5: error: unknown type name ‘UINT64’ 429 | UINT64 Dbr1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:430:5: error: unknown type name ‘UINT64’ 430 | UINT64 Dbr2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:431:5: error: unknown type name ‘UINT64’ 431 | UINT64 Dbr3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:432:5: error: unknown type name ‘UINT64’ 432 | UINT64 Dbr4; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:433:5: error: unknown type name ‘UINT64’ 433 | UINT64 Dbr5; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:434:5: error: unknown type name ‘UINT64’ 434 | UINT64 Dbr6; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:435:5: error: unknown type name ‘UINT64’ 435 | UINT64 Dbr7; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:436:5: error: unknown type name ‘UINT64’ 436 | UINT64 Ibr0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:437:5: error: unknown type name ‘UINT64’ 437 | UINT64 Ibr1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:438:5: error: unknown type name ‘UINT64’ 438 | UINT64 Ibr2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:439:5: error: unknown type name ‘UINT64’ 439 | UINT64 Ibr3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:440:5: error: unknown type name ‘UINT64’ 440 | UINT64 Ibr4; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:441:5: error: unknown type name ‘UINT64’ 441 | UINT64 Ibr5; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:442:5: error: unknown type name ‘UINT64’ 442 | UINT64 Ibr6; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:443:5: error: unknown type name ‘UINT64’ 443 | UINT64 Ibr7; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:444:5: error: unknown type name ‘UINT64’ 444 | UINT64 IntNat; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:462:5: error: unknown type name ‘UINT64’ 462 | UINT64 R0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:463:5: error: unknown type name ‘UINT64’ 463 | UINT64 R1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:464:5: error: unknown type name ‘UINT64’ 464 | UINT64 R2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:465:5: error: unknown type name ‘UINT64’ 465 | UINT64 R3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:466:5: error: unknown type name ‘UINT64’ 466 | UINT64 R4; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:467:5: error: unknown type name ‘UINT64’ 467 | UINT64 R5; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:468:5: error: unknown type name ‘UINT64’ 468 | UINT64 R6; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:469:5: error: unknown type name ‘UINT64’ 469 | UINT64 R7; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:470:5: error: unknown type name ‘UINT64’ 470 | UINT64 Flags; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:471:5: error: unknown type name ‘UINT64’ 471 | UINT64 ControlFlags; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:472:5: error: unknown type name ‘UINT64’ 472 | UINT64 Ip; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:487:5: error: unknown type name ‘UINT32’ 487 | UINT32 R0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:488:5: error: unknown type name ‘UINT32’ 488 | UINT32 R1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:489:5: error: unknown type name ‘UINT32’ 489 | UINT32 R2; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:490:5: error: unknown type name ‘UINT32’ 490 | UINT32 R3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:491:5: error: unknown type name ‘UINT32’ 491 | UINT32 R4; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:492:5: error: unknown type name ‘UINT32’ 492 | UINT32 R5; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:493:5: error: unknown type name ‘UINT32’ 493 | UINT32 R6; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:494:5: error: unknown type name ‘UINT32’ 494 | UINT32 R7; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:495:5: error: unknown type name ‘UINT32’ 495 | UINT32 R8; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:496:5: error: unknown type name ‘UINT32’ 496 | UINT32 R9; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:497:5: error: unknown type name ‘UINT32’ 497 | UINT32 R10; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:498:5: error: unknown type name ‘UINT32’ 498 | UINT32 R11; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:499:5: error: unknown type name ‘UINT32’ 499 | UINT32 R12; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:500:5: error: unknown type name ‘UINT32’ 500 | UINT32 SP; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:501:5: error: unknown type name ‘UINT32’ 501 | UINT32 LR; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:502:5: error: unknown type name ‘UINT32’ 502 | UINT32 PC; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:503:5: error: unknown type name ‘UINT32’ 503 | UINT32 CPSR; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:504:5: error: unknown type name ‘UINT32’ 504 | UINT32 DFSR; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:505:5: error: unknown type name ‘UINT32’ 505 | UINT32 DFAR; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:506:5: error: unknown type name ‘UINT32’ 506 | UINT32 IFSR; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:507:5: error: unknown type name ‘UINT32’ 507 | UINT32 IFAR; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:521:2: error: unknown type name ‘EFIAPI’ 521 | (EFIAPI *EFI_EXCEPTION_CALLBACK)( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:527:2: error: unknown type name ‘EFIAPI’ 527 | (EFIAPI *EFI_PERIODIC_CALLBACK)( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:552:1: error: unknown type name ‘UINT64’ 552 | UINT64 Signature; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:554:1: error: unknown type name ‘UINT32’ 554 | UINT32 Crc32; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:558:1: error: unknown type name ‘UINT32’ 558 | UINT32 ImageInfoType; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:564:1: error: unknown type name ‘UINT32’ 564 | UINT32 *ImageInfoType; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:569:10: error: unknown type name ‘UINT32’ 569 | volatile UINT32 UpdateStatus; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:570:1: error: unknown type name ‘UINT32’ 570 | UINT32 TableSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:581:1: warning: data definition has no type or storage class 581 | INTERFACE_DECL(_EFI_DEBUG_SUPPORT_PROTOCOL); | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:581:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] /build/shim/src/shim/gnu-efi/inc/efidebug.h:581:1: warning: parameter names (without types) in function declaration /build/shim/src/shim/gnu-efi/inc/efidebug.h:585:8: error: expected ‘)’ before ‘*’ token 585 | (EFIAPI *EFI_GET_MAXIMUM_PROCESSOR_INDEX)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efidebug.h:591:8: error: expected ‘)’ before ‘*’ token 591 | (EFIAPI *EFI_REGISTER_PERIODIC_CALLBACK)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efidebug.h:598:8: error: expected ‘)’ before ‘*’ token 598 | (EFIAPI *EFI_REGISTER_EXCEPTION_CALLBACK)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efidebug.h:606:8: error: expected ‘)’ before ‘*’ token 606 | (EFIAPI *EFI_INVALIDATE_INSTRUCTION_CACHE)( | ^~ | ) /build/shim/src/shim/gnu-efi/inc/efidebug.h:614:5: error: unknown type name ‘EFI_GET_MAXIMUM_PROCESSOR_INDEX’ 614 | EFI_GET_MAXIMUM_PROCESSOR_INDEX GetMaximumProcessorIndex; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:615:5: error: unknown type name ‘EFI_REGISTER_PERIODIC_CALLBACK’ 615 | EFI_REGISTER_PERIODIC_CALLBACK RegisterPeriodicCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:616:5: error: unknown type name ‘EFI_REGISTER_EXCEPTION_CALLBACK’ 616 | EFI_REGISTER_EXCEPTION_CALLBACK RegisterExceptionCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efidebug.h:617:5: error: unknown type name ‘EFI_INVALIDATE_INSTRUCTION_CACHE’ 617 | EFI_INVALIDATE_INSTRUCTION_CACHE InvalidateInstructionCache; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efilib.h:23, from shim.h:57, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efipart.h:32:5: error: unknown type name ‘UINT8’ 32 | UINT8 BootIndicator; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:33:5: error: unknown type name ‘UINT8’ 33 | UINT8 StartHead; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:34:5: error: unknown type name ‘UINT8’ 34 | UINT8 StartSector; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:35:5: error: unknown type name ‘UINT8’ 35 | UINT8 StartTrack; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:36:5: error: unknown type name ‘UINT8’ 36 | UINT8 OSIndicator; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:37:5: error: unknown type name ‘UINT8’ 37 | UINT8 EndHead; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:38:5: error: unknown type name ‘UINT8’ 38 | UINT8 EndSector; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:39:5: error: unknown type name ‘UINT8’ 39 | UINT8 EndTrack; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:40:5: error: unknown type name ‘UINT8’ 40 | UINT8 StartingLBA[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:41:5: error: unknown type name ‘UINT8’ 41 | UINT8 SizeInLBA[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:52:5: error: unknown type name ‘UINT8’ 52 | UINT8 BootStrapCode[440]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:53:5: error: unknown type name ‘UINT8’ 53 | UINT8 UniqueMbrSignature[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:54:5: error: unknown type name ‘UINT8’ 54 | UINT8 Unknown[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efipart.h:56:5: error: unknown type name ‘UINT16’ 56 | UINT16 Signature; | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efilib.h:37, from shim.h:57, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efilink.h:173:5: error: unknown type name ‘UINTN’ 173 | UINTN Lock; | ^~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efilib.h:38, from shim.h:57, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efirtlib.h:38:1: error: unknown type name ‘VOID’ 38 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:40:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtZeroMem’ 40 | RtZeroMem ( | ^~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:45:1: error: unknown type name ‘VOID’ 45 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:47:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtSetMem’ 47 | RtSetMem ( | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:53:1: error: unknown type name ‘VOID’ 53 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:55:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtCopyMem’ 55 | RtCopyMem ( | ^~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:61:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 61 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efirtlib.h:63:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtCompareMem’ 63 | RtCompareMem ( | ^~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:69:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 69 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efirtlib.h:71:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStrCmp’ 71 | RtStrCmp ( | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:77:1: error: unknown type name ‘VOID’ 77 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:79:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStrCpy’ 79 | RtStrCpy ( | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:84:1: error: unknown type name ‘VOID’ 84 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:86:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStrnCpy’ 86 | RtStrnCpy ( | ^~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:92:1: error: unknown type name ‘CHAR16’ 92 | CHAR16 * | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:94:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStpCpy’ 94 | RtStpCpy ( | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:99:1: error: unknown type name ‘CHAR16’ 99 | CHAR16 * | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:101:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStpnCpy’ 101 | RtStpnCpy ( | ^~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:107:1: error: unknown type name ‘VOID’ 107 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:109:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStrCat’ 109 | RtStrCat ( | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:114:1: error: unknown type name ‘VOID’ 114 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:116:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStrnCat’ 116 | RtStrnCat ( | ^~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:122:1: error: unknown type name ‘UINTN’ 122 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:124:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStrLen’ 124 | RtStrLen ( | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:128:1: error: unknown type name ‘UINTN’ 128 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStrnLen’ 130 | RtStrnLen ( | ^~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:135:1: error: unknown type name ‘UINTN’ 135 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:137:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtStrSize’ 137 | RtStrSize ( | ^~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:141:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 141 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efirtlib.h:143:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtCompareGuid’ 143 | RtCompareGuid ( | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:148:1: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 148 | UINT8 | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efirtlib.h:150:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtDecimaltoBCD’ 150 | RtDecimaltoBCD( | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:154:1: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 154 | UINT8 | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efirtlib.h:156:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtBCDtoDecimal’ 156 | RtBCDtoDecimal( | ^~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:165:1: error: unknown type name ‘VOID’ 165 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:167:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtLibEnableVirtualMappings’ 167 | RtLibEnableVirtualMappings ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:171:1: error: unknown type name ‘VOID’ 171 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:173:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtConvertList’ 173 | RtConvertList ( | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:178:1: error: unknown type name ‘VOID’ 178 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:180:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtAcquireLock’ 180 | RtAcquireLock ( | ^~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:184:1: error: unknown type name ‘VOID’ 184 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efirtlib.h:186:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RtReleaseLock’ 186 | RtReleaseLock ( | ^~~~~~~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efilib.h:40, from shim.h:57, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/pci22.h:38:5: error: unknown type name ‘UINT16’ 38 | UINT16 VendorId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:39:5: error: unknown type name ‘UINT16’ 39 | UINT16 DeviceId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:40:5: error: unknown type name ‘UINT16’ 40 | UINT16 Command; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:41:5: error: unknown type name ‘UINT16’ 41 | UINT16 Status; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:42:5: error: unknown type name ‘UINT8’ 42 | UINT8 RevisionID; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:43:5: error: unknown type name ‘UINT8’ 43 | UINT8 ClassCode[3]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:44:5: error: unknown type name ‘UINT8’ 44 | UINT8 CacheLineSize; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:45:5: error: unknown type name ‘UINT8’ 45 | UINT8 LaytencyTimer; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:46:5: error: unknown type name ‘UINT8’ 46 | UINT8 HeaderType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:47:5: error: unknown type name ‘UINT8’ 47 | UINT8 BIST; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:51:5: error: unknown type name ‘UINT32’ 51 | UINT32 Bar[6]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:52:5: error: unknown type name ‘UINT32’ 52 | UINT32 CISPtr; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:53:5: error: unknown type name ‘UINT16’ 53 | UINT16 SubsystemVendorID; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:54:5: error: unknown type name ‘UINT16’ 54 | UINT16 SubsystemID; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:55:5: error: unknown type name ‘UINT32’ 55 | UINT32 ExpansionRomBar; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:56:5: error: unknown type name ‘UINT32’ 56 | UINT32 Reserved[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:57:5: error: unknown type name ‘UINT8’ 57 | UINT8 InterruptLine; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:58:5: error: unknown type name ‘UINT8’ 58 | UINT8 InterruptPin; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:59:5: error: unknown type name ‘UINT8’ 59 | UINT8 MinGnt; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:60:5: error: unknown type name ‘UINT8’ 60 | UINT8 MaxLat; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:69:5: error: unknown type name ‘UINT32’ 69 | UINT32 Bar[2]; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:70:5: error: unknown type name ‘UINT8’ 70 | UINT8 PrimaryBus; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:71:5: error: unknown type name ‘UINT8’ 71 | UINT8 SecondaryBus; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:72:5: error: unknown type name ‘UINT8’ 72 | UINT8 SubordinateBus; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:73:5: error: unknown type name ‘UINT8’ 73 | UINT8 SecondaryLatencyTimer; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:74:5: error: unknown type name ‘UINT8’ 74 | UINT8 IoBase; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:75:5: error: unknown type name ‘UINT8’ 75 | UINT8 IoLimit; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:76:5: error: unknown type name ‘UINT16’ 76 | UINT16 SecondaryStatus; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:77:5: error: unknown type name ‘UINT16’ 77 | UINT16 MemoryBase; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:78:5: error: unknown type name ‘UINT16’ 78 | UINT16 MemoryLimit; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:79:5: error: unknown type name ‘UINT16’ 79 | UINT16 PrefetchableMemoryBase; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:80:5: error: unknown type name ‘UINT16’ 80 | UINT16 PrefetchableMemoryLimit; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:81:5: error: unknown type name ‘UINT32’ 81 | UINT32 PrefetchableBaseUpper32; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:82:5: error: unknown type name ‘UINT32’ 82 | UINT32 PrefetchableLimitUpper32; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:83:5: error: unknown type name ‘UINT16’ 83 | UINT16 IoBaseUpper16; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:84:5: error: unknown type name ‘UINT16’ 84 | UINT16 IoLimitUpper16; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:85:5: error: unknown type name ‘UINT32’ 85 | UINT32 Reserved; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:86:5: error: unknown type name ‘UINT32’ 86 | UINT32 ExpansionRomBAR; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:87:5: error: unknown type name ‘UINT8’ 87 | UINT8 InterruptLine; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:88:5: error: unknown type name ‘UINT8’ 88 | UINT8 InterruptPin; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:89:5: error: unknown type name ‘UINT16’ 89 | UINT16 BridgeControl; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:116:5: error: unknown type name ‘UINT8’ 116 | UINT8 Register; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:117:5: error: unknown type name ‘UINT8’ 117 | UINT8 Function; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:118:5: error: unknown type name ‘UINT8’ 118 | UINT8 Device; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:119:5: error: unknown type name ‘UINT8’ 119 | UINT8 Bus; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:120:5: error: unknown type name ‘UINT8’ 120 | UINT8 Reserved[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:124:5: error: unknown type name ‘UINT32’ 124 | UINT32 Reg : 8; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:125:5: error: unknown type name ‘UINT32’ 125 | UINT32 Func : 3; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:126:5: error: unknown type name ‘UINT32’ 126 | UINT32 Dev : 5; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:127:5: error: unknown type name ‘UINT32’ 127 | UINT32 Bus : 8; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:128:5: error: unknown type name ‘UINT32’ 128 | UINT32 Reserved: 7; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:129:5: error: unknown type name ‘UINT32’ 129 | UINT32 Enable : 1; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:136:5: error: unknown type name ‘UINTN’ 136 | UINTN Signature; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:138:5: error: unknown type name ‘UINT16’ 138 | UINT16 BridgeNumber; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:139:5: error: unknown type name ‘UINT16’ 139 | UINT16 PrimaryBus; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:140:5: error: unknown type name ‘UINT16’ 140 | UINT16 SubordinateBus; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:154:5: error: unknown type name ‘UINT16’ 154 | UINT16 Signature; // 0xaa55 | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:155:5: error: unknown type name ‘UINT8’ 155 | UINT8 Reserved[0x16]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:156:5: error: unknown type name ‘UINT16’ 156 | UINT16 PcirOffset; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:161:5: error: unknown type name ‘UINT16’ 161 | UINT16 Signature; // 0xaa55 | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:162:5: error: unknown type name ‘UINT16’ 162 | UINT16 InitializationSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:163:5: error: unknown type name ‘UINT16’ 163 | UINT16 EfiSignature; // 0x0EF1 | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:164:5: error: unknown type name ‘UINT16’ 164 | UINT16 EfiSubsystem; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:165:5: error: unknown type name ‘UINT16’ 165 | UINT16 EfiMachineType; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:166:5: error: unknown type name ‘UINT8’ 166 | UINT8 Reserved[0x0A]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:167:5: error: unknown type name ‘UINT16’ 167 | UINT16 EfiImageHeaderOffset; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:168:5: error: unknown type name ‘UINT16’ 168 | UINT16 PcirOffset; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:172:5: error: unknown type name ‘UINT32’ 172 | UINT32 Signature; // "PCIR" | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:173:5: error: unknown type name ‘UINT16’ 173 | UINT16 VendorId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:174:5: error: unknown type name ‘UINT16’ 174 | UINT16 DeviceId; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:175:5: error: unknown type name ‘UINT16’ 175 | UINT16 Reserved0; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:176:5: error: unknown type name ‘UINT16’ 176 | UINT16 Length; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:177:5: error: unknown type name ‘UINT8’ 177 | UINT8 Revision; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:178:5: error: unknown type name ‘UINT8’ 178 | UINT8 ClassCode[3]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:179:5: error: unknown type name ‘UINT16’ 179 | UINT16 ImageLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:180:5: error: unknown type name ‘UINT16’ 180 | UINT16 CodeRevision; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:181:5: error: unknown type name ‘UINT8’ 181 | UINT8 CodeType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:182:5: error: unknown type name ‘UINT8’ 182 | UINT8 Indicator; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/pci22.h:183:5: error: unknown type name ‘UINT16’ 183 | UINT16 Reserved1; | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efilib.h:41, from shim.h:57, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/libsmbios.h:24:5: error: unknown type name ‘UINT8’ 24 | UINT8 AnchorString[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:25:5: error: unknown type name ‘UINT8’ 25 | UINT8 EntryPointStructureChecksum; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:26:5: error: unknown type name ‘UINT8’ 26 | UINT8 EntryPointLength; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:27:5: error: unknown type name ‘UINT8’ 27 | UINT8 MajorVersion; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:28:5: error: unknown type name ‘UINT8’ 28 | UINT8 MinorVersion; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:29:5: error: unknown type name ‘UINT16’ 29 | UINT16 MaxStructureSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:30:5: error: unknown type name ‘UINT8’ 30 | UINT8 EntryPointRevision; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:31:5: error: unknown type name ‘UINT8’ 31 | UINT8 FormattedArea[5]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:32:5: error: unknown type name ‘UINT8’ 32 | UINT8 IntermediateAnchorString[5]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:33:5: error: unknown type name ‘UINT8’ 33 | UINT8 IntermediateChecksum; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:34:5: error: unknown type name ‘UINT16’ 34 | UINT16 TableLength; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:35:5: error: unknown type name ‘UINT32’ 35 | UINT32 TableAddress; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:36:5: error: unknown type name ‘UINT16’ 36 | UINT16 NumberOfSmbiosStructures; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:37:5: error: unknown type name ‘UINT8’ 37 | UINT8 SmbiosBcdRevision; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:41:5: error: unknown type name ‘UINT8’ 41 | UINT8 AnchorString[5]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:42:5: error: unknown type name ‘UINT8’ 42 | UINT8 EntryPointStructureChecksum; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:43:5: error: unknown type name ‘UINT8’ 43 | UINT8 EntryPointLength; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:44:5: error: unknown type name ‘UINT8’ 44 | UINT8 MajorVersion; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:45:5: error: unknown type name ‘UINT8’ 45 | UINT8 MinorVersion; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:46:5: error: unknown type name ‘UINT8’ 46 | UINT8 DocRev; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:47:5: error: unknown type name ‘UINT8’ 47 | UINT8 EntryPointRevision; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:48:5: error: unknown type name ‘UINT8’ 48 | UINT8 Reserved; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:49:5: error: unknown type name ‘UINT32’ 49 | UINT32 TableMaximumSize; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:50:5: error: unknown type name ‘UINT64’ 50 | UINT64 TableAddress; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:59:5: error: unknown type name ‘UINT8’ 59 | UINT8 Type; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:60:5: error: unknown type name ‘UINT8’ 60 | UINT8 Length; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:61:5: error: unknown type name ‘UINT8’ 61 | UINT8 Handle[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:64:9: error: unknown type name ‘UINT8’ 64 | typedef UINT8 SMBIOS_STRING; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:70:5: error: unknown type name ‘UINT8’ 70 | UINT8 BiosSegment[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:72:5: error: unknown type name ‘UINT8’ 72 | UINT8 BiosSize; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:73:5: error: unknown type name ‘UINT8’ 73 | UINT8 BiosCharacteristics[8]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:88:5: error: unknown type name ‘UINT8’ 88 | UINT8 WakeUpType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:102:5: error: unknown type name ‘UINT8’ 102 | UINT8 Type; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:106:5: error: unknown type name ‘UINT8’ 106 | UINT8 BootupState; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:107:5: error: unknown type name ‘UINT8’ 107 | UINT8 PowerSupplyState; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:108:5: error: unknown type name ‘UINT8’ 108 | UINT8 ThermalState; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:109:5: error: unknown type name ‘UINT8’ 109 | UINT8 SecurityStatus; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:110:5: error: unknown type name ‘UINT8’ 110 | UINT8 OemDefined[4]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:115:5: error: unknown type name ‘UINT8’ 115 | UINT8 Socket; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:116:5: error: unknown type name ‘UINT8’ 116 | UINT8 ProcessorType; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:117:5: error: unknown type name ‘UINT8’ 117 | UINT8 ProcessorFamily; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:119:5: error: unknown type name ‘UINT8’ 119 | UINT8 ProcessorId[8]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:121:5: error: unknown type name ‘UINT8’ 121 | UINT8 Voltage; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:122:5: error: unknown type name ‘UINT8’ 122 | UINT8 ExternalClock[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:123:5: error: unknown type name ‘UINT8’ 123 | UINT8 MaxSpeed[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:124:5: error: unknown type name ‘UINT8’ 124 | UINT8 CurrentSpeed[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:125:5: error: unknown type name ‘UINT8’ 125 | UINT8 Status; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:126:5: error: unknown type name ‘UINT8’ 126 | UINT8 ProcessorUpgrade; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:127:5: error: unknown type name ‘UINT8’ 127 | UINT8 L1CacheHandle[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:128:5: error: unknown type name ‘UINT8’ 128 | UINT8 L2CacheHandle[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:129:5: error: unknown type name ‘UINT8’ 129 | UINT8 L3CacheHandle[2]; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/libsmbios.h:139:5: error: unknown type name ‘UINT8’ 139 | UINT8 *Raw; | ^~~~~ In file included from shim.h:57, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efilib.h:210:1: error: unknown type name ‘VOID’ 210 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:216:1: error: unknown type name ‘VOID’ 216 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:218:5: error: unknown type name ‘CHAR8’ 218 | CHAR8 *LangCode | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:221:1: error: unknown type name ‘VOID’ 221 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:224:5: warning: parameter names (without types) in function declaration 224 | ); | ^ /build/shim/src/shim/gnu-efi/inc/efilib.h:226:1: error: unknown type name ‘VOID’ 226 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:229:8: error: unknown type name ‘UINTN’ 229 | IN UINTN ExitDataSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:230:8: error: unknown type name ‘CHAR16’ 230 | IN CHAR16 *ExitData OPTIONAL | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:233:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 233 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efilib.h:236:5: error: unknown type name ‘CHAR16’ 236 | CHAR16 **Argv[] /* Statically allocated */ | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:239:1: error: unknown type name ‘VOID’ 239 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:244:1: error: unknown type name ‘VOID’ 244 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:246:8: error: unknown type name ‘UINTN’ 246 | IN UINTN Size, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:252:8: error: unknown type name ‘UINTN’ 252 | IN UINTN MaxSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:258:8: error: unknown type name ‘UINTN’ 258 | IN UINTN MaxSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:259:8: error: unknown type name ‘UINTN’ 259 | IN UINTN Size, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:263:1: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 263 | UINT32 | ^~~~~~ | UINT32_C /build/shim/src/shim/gnu-efi/inc/efilib.h:265:5: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 265 | UINT8 *pt, | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efilib.h:266:5: error: unknown type name ‘UINTN’ 266 | UINTN Size | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:269:1: error: unknown type name ‘VOID’ 269 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:271:8: error: unknown type name ‘VOID’ 271 | IN VOID *Buffer, | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:272:8: error: unknown type name ‘UINTN’ 272 | IN UINTN Size | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:275:1: error: unknown type name ‘VOID’ 275 | VOID EFIAPI | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:276:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SetMem’ 276 | SetMem ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:282:1: error: unknown type name ‘VOID’ 282 | VOID EFIAPI | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:283:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CopyMem’ 283 | CopyMem ( | ^~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:289:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 289 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efilib.h:291:14: error: unknown type name ‘VOID’ 291 | IN CONST VOID *Dest, | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:292:14: error: unknown type name ‘VOID’ 292 | IN CONST VOID *Src, | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:293:8: error: unknown type name ‘UINTN’ 293 | IN UINTN len | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:296:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 296 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efilib.h:298:14: error: unknown type name ‘CHAR16’ 298 | IN CONST CHAR16 *s1, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:299:14: error: unknown type name ‘CHAR16’ 299 | IN CONST CHAR16 *s2 | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:302:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 302 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efilib.h:304:14: error: unknown type name ‘CHAR16’ 304 | IN CONST CHAR16 *s1, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:305:14: error: unknown type name ‘CHAR16’ 305 | IN CONST CHAR16 *s2, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:306:8: error: unknown type name ‘UINTN’ 306 | IN UINTN len | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:309:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 309 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efilib.h:311:14: error: unknown type name ‘CHAR16’ 311 | IN CONST CHAR16 *s1, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:312:14: error: unknown type name ‘CHAR16’ 312 | IN CONST CHAR16 *s2 | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:315:1: error: unknown type name ‘VOID’ 315 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:317:8: error: unknown type name ‘CHAR16’ 317 | IN CHAR16 *Str | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:320:1: error: unknown type name ‘VOID’ 320 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:322:8: error: unknown type name ‘CHAR16’ 322 | IN CHAR16 *Str | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:325:1: error: unknown type name ‘VOID’ 325 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:327:8: error: unknown type name ‘CHAR16’ 327 | IN CHAR16 *Dest, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:328:14: error: unknown type name ‘CHAR16’ 328 | IN CONST CHAR16 *Src | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:331:1: error: unknown type name ‘VOID’ 331 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:333:8: error: unknown type name ‘CHAR16’ 333 | IN CHAR16 *Dest, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:334:14: error: unknown type name ‘CHAR16’ 334 | IN CONST CHAR16 *Src, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:335:8: error: unknown type name ‘UINTN’ 335 | IN UINTN Len | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:338:1: error: unknown type name ‘CHAR16’ 338 | CHAR16 * | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:340:8: error: unknown type name ‘CHAR16’ 340 | IN CHAR16 *Dest, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:341:14: error: unknown type name ‘CHAR16’ 341 | IN CONST CHAR16 *Src | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:344:1: error: unknown type name ‘CHAR16’ 344 | CHAR16 * | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:346:8: error: unknown type name ‘CHAR16’ 346 | IN CHAR16 *Dest, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:347:14: error: unknown type name ‘CHAR16’ 347 | IN CONST CHAR16 *Src, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:348:8: error: unknown type name ‘UINTN’ 348 | IN UINTN Len | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:351:1: error: unknown type name ‘VOID’ 351 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:353:8: error: unknown type name ‘CHAR16’ 353 | IN CHAR16 *Dest, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:354:14: error: unknown type name ‘CHAR16’ 354 | IN CONST CHAR16 *Src | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:357:1: error: unknown type name ‘VOID’ 357 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:359:8: error: unknown type name ‘CHAR16’ 359 | IN CHAR16 *Dest, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:360:14: error: unknown type name ‘CHAR16’ 360 | IN CONST CHAR16 *Src, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:361:8: error: unknown type name ‘UINTN’ 361 | IN UINTN Len | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:364:1: error: unknown type name ‘UINTN’ 364 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:366:14: error: unknown type name ‘CHAR16’ 366 | IN CONST CHAR16 *s1 | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:369:1: error: unknown type name ‘UINTN’ 369 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:371:14: error: unknown type name ‘CHAR16’ 371 | IN CONST CHAR16 *s1, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:372:8: error: unknown type name ‘UINTN’ 372 | IN UINTN Len | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:375:1: error: unknown type name ‘UINTN’ 375 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:377:14: error: unknown type name ‘CHAR16’ 377 | IN CONST CHAR16 *s1 | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:380:1: error: unknown type name ‘CHAR16’ 380 | CHAR16 * | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:382:14: error: unknown type name ‘CHAR16’ 382 | IN CONST CHAR16 *Src | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:385:1: error: unknown type name ‘UINTN’ 385 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:387:11: error: unknown type name ‘CHAR16’ 387 | CONST CHAR16 *str | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:390:1: error: unknown type name ‘UINTN’ 390 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:392:11: error: unknown type name ‘CHAR16’ 392 | CONST CHAR16 *str | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:397:8: error: unknown type name ‘CHAR16’ 397 | IN CHAR16 *String, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:398:8: error: unknown type name ‘CHAR16’ 398 | IN CHAR16 *Pattern | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:403:8: error: unknown type name ‘CHAR16’ 403 | IN CHAR16 *String, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:404:8: error: unknown type name ‘CHAR16’ 404 | IN CHAR16 *Pattern | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:407:1: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 407 | UINT64 | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:409:8: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 409 | IN UINT64 Operand, | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:410:8: error: unknown type name ‘UINTN’ 410 | IN UINTN Count | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:413:1: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 413 | UINT64 | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:415:8: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 415 | IN UINT64 Operand, | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:416:8: error: unknown type name ‘UINTN’ 416 | IN UINTN Count | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:419:1: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 419 | UINT64 | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:421:8: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 421 | IN UINT64 Multiplicand, | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:422:8: error: unknown type name ‘UINTN’ 422 | IN UINTN Multiplier | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:425:1: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 425 | UINT64 | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:427:8: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 427 | IN UINT64 Dividend, | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:428:8: error: unknown type name ‘UINTN’ 428 | IN UINTN Divisor, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:429:9: error: unknown type name ‘UINTN’ 429 | OUT UINTN *Remainder OPTIONAL | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:432:1: error: unknown type name ‘VOID’ 432 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:438:1: error: unknown type name ‘VOID’ 438 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:443:1: error: unknown type name ‘VOID’ 443 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:449:1: error: unknown type name ‘INTN’; did you mean ‘IN’? 449 | INTN | ^~~~ | IN /build/shim/src/shim/gnu-efi/inc/efilib.h:455:1: error: unknown type name ‘VOID’ 455 | VOID * | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:457:8: error: unknown type name ‘UINTN’ 457 | IN UINTN Size | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:460:1: error: unknown type name ‘VOID’ 460 | VOID * | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:462:8: error: unknown type name ‘UINTN’ 462 | IN UINTN Size | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:465:1: error: unknown type name ‘VOID’ 465 | VOID * | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:467:8: error: unknown type name ‘VOID’ 467 | IN VOID *OldPool, | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:468:8: error: unknown type name ‘UINTN’ 468 | IN UINTN OldSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:469:8: error: unknown type name ‘UINTN’ 469 | IN UINTN NewSize | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:472:1: error: unknown type name ‘VOID’ 472 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:474:8: error: unknown type name ‘VOID’ 474 | IN VOID *p | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:478:1: error: unknown type name ‘VOID’ 478 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:480:8: error: unknown type name ‘CHAR16’ 480 | IN CHAR16 *Str | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:483:1: error: unknown type name ‘VOID’ 483 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:485:8: error: unknown type name ‘CHAR16’ 485 | IN CHAR16 *Prompt OPTIONAL, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:486:9: error: unknown type name ‘CHAR16’ 486 | OUT CHAR16 *InStr, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:487:8: error: unknown type name ‘UINTN’ 487 | IN UINTN StrLen | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:490:1: error: unknown type name ‘VOID’ 490 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:494:8: error: unknown type name ‘CHAR16’ 494 | IN CHAR16 *Prompt OPTIONAL, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:495:9: error: unknown type name ‘CHAR16’ 495 | OUT CHAR16 *InStr, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:496:8: error: unknown type name ‘UINTN’ 496 | IN UINTN StrLen | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:499:1: error: unknown type name ‘UINTN’ 499 | UINTN EFIAPI | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:500:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Print’ 500 | Print ( | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:505:1: error: unknown type name ‘UINTN’ 505 | UINTN EFIAPI | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:506:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VPrint’ 506 | VPrint ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:511:1: error: unknown type name ‘UINTN’ 511 | UINTN EFIAPI | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:512:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘SPrint’ 512 | SPrint ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:519:1: error: unknown type name ‘UINTN’ 519 | UINTN EFIAPI | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:520:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VSPrint’ 520 | VSPrint ( | ^~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:527:1: error: unknown type name ‘CHAR16’ 527 | CHAR16 * EFIAPI | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:528:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VPoolPrint’ 528 | VPoolPrint ( | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:533:1: error: unknown type name ‘CHAR16’ 533 | CHAR16 * EFIAPI | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:534:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PoolPrint’ 534 | PoolPrint ( | ^~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:540:5: error: unknown type name ‘CHAR16’ 540 | CHAR16 *str; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:541:5: error: unknown type name ‘UINTN’ 541 | UINTN len; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:542:5: error: unknown type name ‘UINTN’ 542 | UINTN maxlen; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:545:1: error: unknown type name ‘CHAR16’ 545 | CHAR16 * EFIAPI | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:546:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CatPrint’ 546 | CatPrint ( | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:552:1: error: unknown type name ‘UINTN’ 552 | UINTN EFIAPI | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:553:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘PrintAt’ 553 | PrintAt ( | ^~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:560:1: error: unknown type name ‘UINTN’ 560 | UINTN EFIAPI | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:561:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IPrint’ 561 | IPrint ( | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:567:1: error: unknown type name ‘UINTN’ 567 | UINTN EFIAPI | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:568:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘IPrintAt’ 568 | IPrintAt ( | ^~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:576:1: error: unknown type name ‘UINTN’ 576 | UINTN EFIAPI | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:577:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AsciiPrint’ 577 | AsciiPrint ( | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:585:1: error: unknown type name ‘UINTN’ 585 | UINTN EFIAPI | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:586:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AsciiVSPrint’ 586 | AsciiVSPrint( | ^~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:593:1: error: unknown type name ‘VOID’ 593 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:595:8: error: unknown type name ‘CHAR16’ 595 | IN CHAR16 *Buffer, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:596:8: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 596 | IN UINT64 v | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:599:1: error: unknown type name ‘VOID’ 599 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:601:8: error: unknown type name ‘CHAR16’ 601 | IN CHAR16 *Buffer, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:603:8: error: unknown type name ‘INT64’; did you mean ‘INT64_C’? 603 | IN INT64 v | ^~~~~ | INT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:606:1: error: unknown type name ‘VOID’ 606 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:608:8: error: unknown type name ‘CHAR16’ 608 | IN CHAR16 *Buffer, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:613:1: error: unknown type name ‘VOID’ 613 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:615:9: error: unknown type name ‘CHAR16’ 615 | OUT CHAR16 *Buffer, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:619:1: error: unknown type name ‘VOID’ 619 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:621:9: error: unknown type name ‘CHAR16’ 621 | OUT CHAR16 *Buffer, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:625:1: error: unknown type name ‘VOID’ 625 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:627:9: error: unknown type name ‘CHAR16’ 627 | OUT CHAR16 *Buffer, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:631:1: error: unknown type name ‘VOID’ 631 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:633:8: error: unknown type name ‘UINTN’ 633 | IN UINTN Indent, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:634:8: error: unknown type name ‘UINTN’ 634 | IN UINTN Offset, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:635:8: error: unknown type name ‘UINTN’ 635 | IN UINTN DataSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:636:8: error: unknown type name ‘VOID’ 636 | IN VOID *UserData | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:642:12: error: unknown type name ‘VOID’ 642 | IN OUT VOID **Buffer, | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:643:8: error: unknown type name ‘UINTN’ 643 | IN UINTN BufferSize | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:648:9: error: unknown type name ‘UINTN’ 648 | OUT UINTN *NoEntries, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:649:9: error: unknown type name ‘UINTN’ 649 | OUT UINTN *MapKey, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:650:9: error: unknown type name ‘UINTN’ 650 | OUT UINTN *DescriptorSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:651:9: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 651 | OUT UINT32 *DescriptorVersion | ^~~~~~ | UINT32_C /build/shim/src/shim/gnu-efi/inc/efilib.h:654:1: error: unknown type name ‘VOID’ 654 | VOID * | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:656:8: error: unknown type name ‘CHAR16’ 656 | IN CHAR16 *Name, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:660:1: error: unknown type name ‘VOID’ 660 | VOID * | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:662:8: error: unknown type name ‘CHAR16’ 662 | IN CHAR16 *Name, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:664:9: error: unknown type name ‘UINTN’ 664 | OUT UINTN *VarSize | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:669:8: error: unknown type name ‘CHAR16’ 669 | IN CHAR16 *VarName, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:675:8: error: unknown type name ‘CHAR16’ 675 | IN CHAR16 *VarName, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:677:8: error: unknown type name ‘UINTN’ 677 | IN UINTN DataSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:678:8: error: unknown type name ‘VOID’ 678 | IN VOID *Data | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:683:8: error: unknown type name ‘CHAR16’ 683 | IN CHAR16 *VarName, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:685:8: error: unknown type name ‘UINTN’ 685 | IN UINTN DataSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:686:8: error: unknown type name ‘VOID’ 686 | IN VOID *Data | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:690:9: error: unknown type name ‘UINT16’; did you mean ‘UINT16_C’? 690 | IN UINT16 BootOption, | ^~~~~~ | UINT16_C /build/shim/src/shim/gnu-efi/inc/efilib.h:697:9: error: unknown type name ‘VOID’ 697 | OUT VOID **Interface | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:704:8: error: unknown type name ‘VOID’ 704 | IN VOID *SearchKey OPTIONAL, | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:705:12: error: unknown type name ‘UINTN’ 705 | IN OUT UINTN *NoHandles, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:711:8: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 711 | IN UINT8 MBRType, | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efilib.h:712:8: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 712 | IN UINT8 SignatureType, | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efilib.h:713:8: error: unknown type name ‘VOID’ 713 | IN VOID *Signature, | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:714:12: error: unknown type name ‘UINTN’ 714 | IN OUT UINTN *NoHandles, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:719:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LibInstallProtocolInterfaces’ 719 | LibInstallProtocolInterfaces ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:724:1: error: unknown type name ‘VOID’ 724 | VOID EFIAPI | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:725:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LibUninstallProtocolInterfaces’ 725 | LibUninstallProtocolInterfaces ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:731:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LibReinstallProtocolInterfaces’ 731 | LibReinstallProtocolInterfaces ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:740:8: error: unknown type name ‘EFI_EVENT_NOTIFY’; did you mean ‘EFI_EVENT_TIMER’? 740 | IN EFI_EVENT_NOTIFY NotifyFunction, | ^~~~~~~~~~~~~~~~ | EFI_EVENT_TIMER /build/shim/src/shim/gnu-efi/inc/efilib.h:741:8: error: unknown type name ‘VOID’ 741 | IN VOID *NotifyContext, | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:742:9: error: unknown type name ‘VOID’ 742 | OUT VOID *Registration | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:748:8: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 748 | IN UINT64 Timeout OPTIONAL | ^~~~~~ | UINT64_C /build/shim/src/shim/gnu-efi/inc/efilib.h:751:1: error: unknown type name ‘VOID’ 751 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:754:9: error: unknown type name ‘UINTN’ 754 | IN UINTN Timeout, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:755:9: error: unknown type name ‘UINTN’ 755 | IN UINTN Row, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:756:9: error: unknown type name ‘UINTN’ 756 | IN UINTN Column, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:757:9: error: unknown type name ‘CHAR16’ 757 | IN CHAR16 *String, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:807:9: error: unknown type name ‘UINTN’ 807 | OUT UINTN *Size | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:810:1: error: unknown type name ‘UINTN’ 810 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:836:8: error: unknown type name ‘CHAR16’ 836 | IN CHAR16 *FileName | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:839:1: error: unknown type name ‘UINTN’ 839 | UINTN | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:858:9: error: unknown type name ‘VOID’ 858 | OUT VOID **Interface | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:861:1: error: unknown type name ‘CHAR16’ 861 | CHAR16 * | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:870:5: error: unknown type name ‘UINT8’ 870 | UINT8 Register; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:871:5: error: unknown type name ‘UINT8’ 871 | UINT8 Function; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:872:5: error: unknown type name ‘UINT8’ 872 | UINT8 Device; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:873:5: error: unknown type name ‘UINT8’ 873 | UINT8 Bus; | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:874:5: error: unknown type name ‘UINT32’ 874 | UINT32 Reserved; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:878:5: error: unknown type name ‘UINT64’ 878 | UINT64 Address; | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:886:13: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 886 | IN UINT8 BaseClass, | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efilib.h:887:13: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 887 | IN UINT8 SubClass | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efilib.h:893:13: error: unknown type name ‘UINT16’; did you mean ‘UINT16_C’? 893 | IN UINT16 VendorId, | ^~~~~~ | UINT16_C /build/shim/src/shim/gnu-efi/inc/efilib.h:894:13: error: unknown type name ‘UINT16’; did you mean ‘UINT16_C’? 894 | IN UINT16 DeviceId, | ^~~~~~ | UINT16_C /build/shim/src/shim/gnu-efi/inc/efilib.h:902:9: error: unknown type name ‘VOID’ 902 | typedef VOID *SIMPLE_READ_FILE; | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:907:8: error: unknown type name ‘VOID’ 907 | IN VOID *SourceBuffer OPTIONAL, | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:908:8: error: unknown type name ‘UINTN’ 908 | IN UINTN SourceSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:917:8: error: unknown type name ‘UINTN’ 917 | IN UINTN Offset, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:918:12: error: unknown type name ‘UINTN’ 918 | IN OUT UINTN *ReadSize, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:919:9: error: unknown type name ‘VOID’ 919 | OUT VOID *Buffer | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:923:1: error: unknown type name ‘VOID’ 923 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:928:1: error: unknown type name ‘VOID’ 928 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:931:5: warning: parameter names (without types) in function declaration 931 | ); | ^ /build/shim/src/shim/gnu-efi/inc/efilib.h:933:1: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 933 | UINT8 | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efilib.h:935:9: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 935 | IN UINT8 DecValue | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efilib.h:938:1: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 938 | UINT8 | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efilib.h:940:9: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 940 | IN UINT8 BcdValue | ^~~~~ | UINT8_C /build/shim/src/shim/gnu-efi/inc/efilib.h:946:12: error: unknown type name ‘VOID’ 946 | IN OUT VOID **Table | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:951:9: error: unknown type name ‘CHAR16’ 951 | IN CHAR16 Graphic, | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:952:9: error: unknown type name ‘CHAR8’ 952 | OUT CHAR8 *PcAnsi, OPTIONAL | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:953:9: error: unknown type name ‘CHAR8’ 953 | OUT CHAR8 *Ascii OPTIONAL | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:958:9: error: unknown type name ‘CHAR16’ 958 | IN CHAR16 Ascii | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:963:9: error: unknown type name ‘CHAR16’ 963 | IN CHAR16 c | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:966:1: error: unknown type name ‘CHAR16’ 966 | CHAR16 * | ^~~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:974:1: error: unknown type name ‘CHAR8’ 974 | CHAR8* | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:977:9: error: unknown type name ‘UINT16’; did you mean ‘UINT16_C’? 977 | IN UINT16 StringNumber | ^~~~~~ | UINT16_C /build/shim/src/shim/gnu-efi/inc/efilib.h:983:9: error: unknown type name ‘CHAR8’ 983 | OUT CHAR8 **SystemSerialNumber | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:991:13: error: unknown type name ‘CHAR8’ 991 | IN CHAR8 *ErrorStr, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:995:1: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 995 | UINT32 | ^~~~~~ | UINT32_C /build/shim/src/shim/gnu-efi/inc/efilib.h:999:13: error: unknown type name ‘UINTN’ 999 | IN UINTN Port | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:1002:1: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 1002 | UINT32 | ^~~~~~ | UINT32_C /build/shim/src/shim/gnu-efi/inc/efilib.h:1006:13: error: unknown type name ‘UINTN’ 1006 | IN UINTN Port, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:1007:13: error: unknown type name ‘UINTN’ 1007 | IN UINTN Data | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:1010:1: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 1010 | UINT32 | ^~~~~~ | UINT32_C /build/shim/src/shim/gnu-efi/inc/efilib.h:1014:13: error: unknown type name ‘UINTN’ 1014 | IN UINTN Port | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:1017:1: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 1017 | UINT32 | ^~~~~~ | UINT32_C /build/shim/src/shim/gnu-efi/inc/efilib.h:1021:13: error: unknown type name ‘UINTN’ 1021 | IN UINTN Port, | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:1022:13: error: unknown type name ‘UINTN’ 1022 | IN UINTN Data | ^~~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:1025:1: error: unknown type name ‘VOID’ 1025 | VOID | ^~~~ /build/shim/src/shim/gnu-efi/inc/efilib.h:1028:1: warning: parameter names (without types) in function declaration 1028 | ); | ^ In file included from shim.h:160, from shim.c:14: include/asm.h: In function ‘read_counter’: include/asm.h:23:2: error: #error unsupported arch 23 | #error unsupported arch | ^~~~~ In file included from shim.h:163, from shim.c:14: include/configtable.h: At top level: include/configtable.h:8:9: error: unknown type name ‘UINT32’ 8 | typedef UINT32 EFI_IMAGE_EXECUTION_ACTION; | ^~~~~~ include/configtable.h:27:3: error: unknown type name ‘UINT32’ 27 | UINT32 InfoSize; | ^~~~~~ include/configtable.h:50:3: error: unknown type name ‘UINT8’ 50 | UINT8 Data[]; | ^~~~~ include/configtable.h:57:3: error: unknown type name ‘UINTN’ 57 | UINTN NumberOfImages; | ^~~~~ In file included from shim.h:164, from shim.c:14: include/console.h:20:1: error: unknown type name ‘UINTN’ 20 | UINTN EFIAPI | ^~~~~ include/console.h:21:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘console_print’ 21 | console_print(const CHAR16 *fmt, ...); | ^~~~~~~~~~~~~ include/console.h:22:1: error: unknown type name ‘UINTN’ 22 | UINTN EFIAPI | ^~~~~ include/console.h:23:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘console_print_at’ 23 | console_print_at(UINTN col, UINTN row, const CHAR16 *fmt, ...); | ^~~~~~~~~~~~~~~~ include/console.h:25:22: error: unknown type name ‘CHAR16’ 25 | console_print_box_at(CHAR16 *str_arr[], int highlight, | ^~~~~~ include/console.h:30:19: error: unknown type name ‘CHAR16’ 30 | console_print_box(CHAR16 *str_arr[], int highlight); | ^~~~~~ include/console.h:32:16: error: unknown type name ‘CHAR16’ 32 | console_yes_no(CHAR16 *str_arr[]); | ^~~~~~ include/console.h:34:16: error: unknown type name ‘CHAR16’ 34 | console_select(CHAR16 *title[], CHAR16* selectors[], unsigned int start); | ^~~~~~ include/console.h:34:33: error: unknown type name ‘CHAR16’ 34 | console_select(CHAR16 *title[], CHAR16* selectors[], unsigned int start); | ^~~~~~ include/console.h:36:18: error: unknown type name ‘CHAR16’ 36 | console_errorbox(CHAR16 *err); | ^~~~~~ include/console.h:38:15: error: unknown type name ‘CHAR16’ 38 | console_error(CHAR16 *err, EFI_STATUS); | ^~~~~~ include/console.h:40:18: error: unknown type name ‘CHAR16’ 40 | console_alertbox(CHAR16 **title); | ^~~~~~ include/console.h:42:16: error: unknown type name ‘CHAR16’ 42 | console_notify(CHAR16 *string); | ^~~~~~ include/console.h:48:19: error: unknown type name ‘CHAR16’ 48 | console_countdown(CHAR16* title, const CHAR16* message, int timeout); | ^~~~~~ include/console.h:48:40: error: unknown type name ‘CHAR16’ 48 | console_countdown(CHAR16* title, const CHAR16* message, int timeout); | ^~~~~~ include/console.h:68:8: error: expected ‘)’ before ‘*’ token 68 | (EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE) ( | ^~ | ) include/console.h:77:8: error: expected ‘)’ before ‘*’ token 77 | (EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE) ( | ^~ | ) include/console.h:84:8: error: expected ‘)’ before ‘*’ token 84 | (EFIAPI *EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN) ( | ^~ | ) include/console.h:90:3: error: unknown type name ‘EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE’ 90 | EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE GetMode; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/console.h:91:3: error: unknown type name ‘EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE’ 91 | EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE SetMode; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/console.h:92:3: error: unknown type name ‘EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN’ 92 | EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN LockStdIn; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/console.h:95:8: error: unknown type name ‘VOID’ 95 | extern VOID console_fini(VOID); | ^~~~ include/console.h:95:1: warning: parameter names (without types) in function declaration 95 | extern VOID console_fini(VOID); | ^~~~~~ include/console.h:96:8: error: unknown type name ‘VOID’ 96 | extern VOID setup_verbosity(VOID); | ^~~~ include/console.h:96:1: warning: parameter names (without types) in function declaration 96 | extern VOID setup_verbosity(VOID); | ^~~~~~ include/console.h:97:8: error: unknown type name ‘UINT32’ 97 | extern UINT32 verbose; | ^~~~~~ include/console.h:113:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vdprint_’ 113 | extern EFI_STATUS EFIAPI vdprint_(const CHAR16 *fmt, const char *file, int line, | ^~~~~~~~ include/console.h:125:8: error: unknown type name ‘VOID’ 125 | extern VOID msleep(unsigned long msecs); | ^~~~ include/console.h:125:13: error: conflicting types for ‘msleep’; have ‘int(long unsigned int)’ 125 | extern VOID msleep(unsigned long msecs); | ^~~~~~ In file included from shim.h:160, from shim.c:14: include/asm.h:43:21: note: previous declaration of ‘msleep’ with type ‘void(long unsigned int)’ 43 | extern void msleep(unsigned long msecs); | ^~~~~~ In file included from shim.h:164, from shim.c:14: include/console.h:129:8: error: unknown type name ‘UINT8’ 129 | extern UINT8 in_protocol; | ^~~~~ In file included from include/efiauthenticated.h:6, from shim.h:166, from shim.c:14: include/wincert.h:14:3: error: unknown type name ‘UINT32’ 14 | UINT32 dwLength; | ^~~~~~ include/wincert.h:19:3: error: unknown type name ‘UINT16’ 19 | UINT16 wRevision; | ^~~~~~ include/wincert.h:25:3: error: unknown type name ‘UINT16’ 25 | UINT16 wCertificateType; | ^~~~~~ In file included from shim.h:166, from shim.c:14: include/efiauthenticated.h:25:9: error: unknown type name ‘UINT8’ 25 | UINT8 SignatureData[1]; | ^~~~~ include/efiauthenticated.h:36:9: error: unknown type name ‘UINT32’ 36 | UINT32 SignatureListSize; | ^~~~~~ include/efiauthenticated.h:40:9: error: unknown type name ‘UINT32’ 40 | UINT32 SignatureHeaderSize; | ^~~~~~ include/efiauthenticated.h:44:9: error: unknown type name ‘UINT32’ 44 | UINT32 SignatureSize; | ^~~~~~ include/efiauthenticated.h:70:9: error: unknown type name ‘UINT8’ 70 | UINT8 PublicKey[256]; | ^~~~~ include/efiauthenticated.h:71:9: error: unknown type name ‘UINT8’ 71 | UINT8 Signature[256]; | ^~~~~ include/efiauthenticated.h:93:9: error: unknown type name ‘UINT8’ 93 | UINT8 CertData[1]; | ^~~~~ include/efiauthenticated.h:156:9: error: unknown type name ‘UINT64’ 156 | UINT64 MonotonicCount; | ^~~~~~ In file included from shim.h:168, from shim.c:14: include/execute.h:7:15: error: unknown type name ‘CHAR16’ 7 | generate_path(CHAR16* name, EFI_LOADED_IMAGE *li, | ^~~~~~ include/execute.h:8:39: error: unknown type name ‘CHAR16’ 8 | EFI_DEVICE_PATH **path, CHAR16 **PathName); | ^~~~~~ include/execute.h:10:27: error: unknown type name ‘CHAR16’ 10 | execute(EFI_HANDLE image, CHAR16 *name); | ^~~~~~ In file included from shim.h:170, from shim.c:14: include/http.h:114:3: error: unknown type name ‘UINT16’ 114 | UINT16 LocalPort; | ^~~~~~ include/http.h:128:3: error: unknown type name ‘UINT16’ 128 | UINT16 LocalPort; | ^~~~~~ include/http.h:144:3: error: unknown type name ‘UINT32’ 144 | UINT32 TimeOutMillisec; | ^~~~~~ include/http.h:180:3: error: unknown type name ‘CHAR16’ 180 | CHAR16 *Url; | ^~~~~~ include/http.h:201:3: error: unknown type name ‘CHAR8’ 201 | CHAR8 *FieldName; | ^~~~~ include/http.h:206:3: error: unknown type name ‘CHAR8’ 206 | CHAR8 *FieldValue; | ^~~~~ include/http.h:232:3: error: unknown type name ‘UINTN’ 232 | UINTN HeaderCount; | ^~~~~ include/http.h:243:3: error: unknown type name ‘UINTN’ 243 | UINTN BodyLength; | ^~~~~ include/http.h:248:3: error: unknown type name ‘VOID’ 248 | VOID *Body; | ^~~~ include/http.h:301:8: error: expected ‘)’ before ‘*’ token 301 | (EFIAPI * EFI_HTTP_GET_MODE_DATA)( | ^~ | ) include/http.h:340:8: error: expected ‘)’ before ‘*’ token 340 | (EFIAPI * EFI_HTTP_CONFIGURE)( | ^~ | ) include/http.h:371:8: error: expected ‘)’ before ‘*’ token 371 | (EFIAPI *EFI_HTTP_REQUEST) ( | ^~ | ) include/http.h:399:8: error: expected ‘)’ before ‘*’ token 399 | (EFIAPI *EFI_HTTP_CANCEL)( | ^~ | ) include/http.h:453:8: error: expected ‘)’ before ‘*’ token 453 | (EFIAPI *EFI_HTTP_RESPONSE) ( | ^~ | ) include/http.h:479:8: error: expected ‘)’ before ‘*’ token 479 | (EFIAPI *EFI_HTTP_POLL) ( | ^~ | ) include/http.h:490:3: error: unknown type name ‘EFI_HTTP_GET_MODE_DATA’ 490 | EFI_HTTP_GET_MODE_DATA GetModeData; | ^~~~~~~~~~~~~~~~~~~~~~ include/http.h:491:3: error: unknown type name ‘EFI_HTTP_CONFIGURE’ 491 | EFI_HTTP_CONFIGURE Configure; | ^~~~~~~~~~~~~~~~~~ include/http.h:492:3: error: unknown type name ‘EFI_HTTP_REQUEST’ 492 | EFI_HTTP_REQUEST Request; | ^~~~~~~~~~~~~~~~ include/http.h:493:3: error: unknown type name ‘EFI_HTTP_CANCEL’ 493 | EFI_HTTP_CANCEL Cancel; | ^~~~~~~~~~~~~~~ include/http.h:494:3: error: unknown type name ‘EFI_HTTP_RESPONSE’ 494 | EFI_HTTP_RESPONSE Response; | ^~~~~~~~~~~~~~~~~ include/http.h:495:3: error: unknown type name ‘EFI_HTTP_POLL’ 495 | EFI_HTTP_POLL Poll; | ^~~~~~~~~~~~~ In file included from shim.h:171, from shim.c:14: include/httpboot.h:14:59: error: unknown type name ‘VOID’ 14 | extern EFI_STATUS httpboot_fetch_buffer(EFI_HANDLE image, VOID **buffer, | ^~~~ include/httpboot.h:15:41: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 15 | UINT64 *buf_size); | ^~~~~~ | UINT64_C In file included from shim.h:172, from shim.c:14: include/ip4config2.h:74:3: error: unknown type name ‘CHAR16’ 74 | CHAR16 Name[EFI_IP4_CONFIG2_INTERFACE_INFO_NAME_SIZE]; | ^~~~~~ include/ip4config2.h:79:3: error: unknown type name ‘UINT8’ 79 | UINT8 IfType; | ^~~~~ include/ip4config2.h:83:3: error: unknown type name ‘UINT32’ 83 | UINT32 HwAddressSize; | ^~~~~~ include/ip4config2.h:99:3: error: unknown type name ‘UINT32’ 99 | UINT32 RouteTableSize; | ^~~~~~ include/ip4config2.h:188:8: error: expected ‘)’ before ‘*’ token 188 | (EFIAPI *EFI_IP4_CONFIG2_SET_DATA) ( | ^~ | ) include/ip4config2.h:230:8: error: expected ‘)’ before ‘*’ token 230 | (EFIAPI *EFI_IP4_CONFIG2_GET_DATA) ( | ^~ | ) include/ip4config2.h:259:8: error: expected ‘)’ before ‘*’ token 259 | (EFIAPI *EFI_IP4_CONFIG2_REGISTER_NOTIFY) ( | ^~ | ) include/ip4config2.h:280:8: error: expected ‘)’ before ‘*’ token 280 | (EFIAPI *EFI_IP4_CONFIG2_UNREGISTER_NOTIFY) ( | ^~ | ) include/ip4config2.h:293:3: error: unknown type name ‘EFI_IP4_CONFIG2_SET_DATA’ 293 | EFI_IP4_CONFIG2_SET_DATA SetData; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/ip4config2.h:294:3: error: unknown type name ‘EFI_IP4_CONFIG2_GET_DATA’ 294 | EFI_IP4_CONFIG2_GET_DATA GetData; | ^~~~~~~~~~~~~~~~~~~~~~~~ include/ip4config2.h:295:3: error: unknown type name ‘EFI_IP4_CONFIG2_REGISTER_NOTIFY’ 295 | EFI_IP4_CONFIG2_REGISTER_NOTIFY RegisterDataNotify; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/ip4config2.h:296:3: error: unknown type name ‘EFI_IP4_CONFIG2_UNREGISTER_NOTIFY’ 296 | EFI_IP4_CONFIG2_UNREGISTER_NOTIFY UnregisterDataNotify; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from shim.h:173, from shim.c:14: include/ip6config.h:91:3: error: unknown type name ‘CHAR16’ 91 | CHAR16 Name[32]; | ^~~~~~ include/ip6config.h:95:3: error: unknown type name ‘UINT8’ 95 | UINT8 IfType; | ^~~~~ include/ip6config.h:99:3: error: unknown type name ‘UINT32’ 99 | UINT32 HwAddressSize; | ^~~~~~ include/ip6config.h:107:3: error: unknown type name ‘UINT32’ 107 | UINT32 AddressInfoCount; | ^~~~~~ include/ip6config.h:118:3: error: unknown type name ‘UINT32’ 118 | UINT32 RouteCount; | ^~~~~~ include/ip6config.h:131:3: error: unknown type name ‘UINT8’ 131 | UINT8 Id[8]; | ^~~~~ include/ip6config.h:170:3: error: unknown type name ‘UINT32’ 170 | UINT32 DupAddrDetectTransmits; ///< The number of consecutive Neighbor Solicitation messages sent. | ^~~~~~ include/ip6config.h:181:3: error: unknown type name ‘UINT8’ 181 | UINT8 PrefixLength; ///< The length, in bits, of the prefix associated with this Address. | ^~~~~ include/ip6config.h:235:8: error: expected ‘)’ before ‘*’ token 235 | (EFIAPI *EFI_IP6_CONFIG_SET_DATA)( | ^~ | ) include/ip6config.h:281:8: error: expected ‘)’ before ‘*’ token 281 | (EFIAPI *EFI_IP6_CONFIG_GET_DATA)( | ^~ | ) include/ip6config.h:312:8: error: expected ‘)’ before ‘*’ token 312 | (EFIAPI *EFI_IP6_CONFIG_REGISTER_NOTIFY)( | ^~ | ) include/ip6config.h:335:8: error: expected ‘)’ before ‘*’ token 335 | (EFIAPI *EFI_IP6_CONFIG_UNREGISTER_NOTIFY)( | ^~ | ) include/ip6config.h:346:3: error: unknown type name ‘EFI_IP6_CONFIG_SET_DATA’ 346 | EFI_IP6_CONFIG_SET_DATA SetData; | ^~~~~~~~~~~~~~~~~~~~~~~ include/ip6config.h:347:3: error: unknown type name ‘EFI_IP6_CONFIG_GET_DATA’ 347 | EFI_IP6_CONFIG_GET_DATA GetData; | ^~~~~~~~~~~~~~~~~~~~~~~ include/ip6config.h:348:3: error: unknown type name ‘EFI_IP6_CONFIG_REGISTER_NOTIFY’ 348 | EFI_IP6_CONFIG_REGISTER_NOTIFY RegisterDataNotify; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/ip6config.h:349:3: error: unknown type name ‘EFI_IP6_CONFIG_UNREGISTER_NOTIFY’ 349 | EFI_IP6_CONFIG_UNREGISTER_NOTIFY UnregisterDataNotify; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from shim.h:174, from shim.c:14: include/load-options.h:10:42: error: unknown type name ‘CHAR16’ 10 | CHAR16 *ImagePath, | ^~~~~~ include/load-options.h:11:42: error: unknown type name ‘CHAR16’ 11 | CHAR16 **PathName); | ^~~~~~ include/load-options.h:15:8: error: unknown type name ‘CHAR16’ 15 | extern CHAR16 *second_stage; | ^~~~~~ include/load-options.h:17:8: error: unknown type name ‘UINT32’ 17 | extern UINT32 load_options_size; | ^~~~~~ In file included from shim.h:175, from shim.c:14: include/mok.h:28:9: error: unknown type name ‘CHAR16’ 28 | CHAR16 *name; /* UCS-2 BS|NV variable name */ | ^~~~~~ include/mok.h:30:9: error: unknown type name ‘CHAR16’ 30 | CHAR16 *rtname; /* UCS-2 RT variable name */ | ^~~~~~ include/mok.h:38:9: error: unknown type name ‘UINT8’ 38 | UINT8 *data; | ^~~~~ include/mok.h:39:9: error: unknown type name ‘UINTN’ 39 | UINTN data_size; | ^~~~~ include/mok.h:59:9: error: unknown type name ‘UINT8’ 59 | UINT8 **addend; | ^~~~~ include/mok.h:60:9: error: unknown type name ‘UINT32’ 60 | UINT32 *addend_size; | ^~~~~~ include/mok.h:70:9: error: unknown type name ‘UINT8’ 70 | UINT8 **build_cert; | ^~~~~ include/mok.h:71:9: error: unknown type name ‘UINT32’ 71 | UINT32 *build_cert_size; | ^~~~~~ include/mok.h:73:9: error: unknown type name ‘UINT32’ 73 | UINT32 yes_attr; /* var attrs that must be set */ | ^~~~~~ include/mok.h:74:9: error: unknown type name ‘UINT32’ 74 | UINT32 no_attr; /* var attrs that must not be set */ | ^~~~~~ include/mok.h:75:9: error: unknown type name ‘UINT32’ 75 | UINT32 flags; /* flags on what and how to mirror */ | ^~~~~~ include/mok.h:82:9: error: unknown type name ‘UINTN’ 82 | UINTN pcr; /* PCR to measure and hash to */ | ^~~~~ include/mok.h:88:9: error: unknown type name ‘UINT8’ 88 | UINT8 *state; | ^~~~~ include/mok.h:95:9: error: unknown type name ‘CHAR8’ 95 | CHAR8 name[256]; | ^~~~~ include/mok.h:96:9: error: unknown type name ‘UINT64’ 96 | UINT64 data_size; | ^~~~~~ include/mok.h:97:9: error: unknown type name ‘UINT8’ 97 | UINT8 data[]; | ^~~~~ In file included from shim.h:176, from shim.c:14: include/netboot.h:10:62: error: unknown type name ‘VOID’ 10 | extern EFI_STATUS FetchNetbootimage(EFI_HANDLE image_handle, VOID **buffer, UINT64 *bufsiz); | ^~~~ include/netboot.h:10:77: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 10 | extern EFI_STATUS FetchNetbootimage(EFI_HANDLE image_handle, VOID **buffer, UINT64 *bufsiz); | ^~~~~~ | UINT64_C In file included from shim.h:177, from shim.c:14: include/passwordcrypt.h:16:9: error: unknown type name ‘UINT16’ 16 | UINT16 method; | ^~~~~~ include/passwordcrypt.h:17:9: error: unknown type name ‘UINT64’ 17 | UINT64 iter_count; | ^~~~~~ include/passwordcrypt.h:18:9: error: unknown type name ‘UINT16’ 18 | UINT16 salt_size; | ^~~~~~ include/passwordcrypt.h:19:9: error: unknown type name ‘UINT8’ 19 | UINT8 salt[32]; | ^~~~~ include/passwordcrypt.h:20:9: error: unknown type name ‘UINT8’ 20 | UINT8 hash[128]; | ^~~~~ include/passwordcrypt.h:25:50: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 25 | EFI_STATUS password_crypt (const char *password, UINT32 pw_length, | ^~~~~~ | UINT32_C include/passwordcrypt.h:26:59: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 26 | const PASSWORD_CRYPT *pw_hash, UINT8 *hash); | ^~~~~ | UINT8_C include/passwordcrypt.h:27:1: error: unknown type name ‘UINT16’; did you mean ‘UINT16_C’? 27 | UINT16 get_hash_size (const UINT16 method); | ^~~~~~ | UINT16_C include/passwordcrypt.h:27:29: error: unknown type name ‘UINT16’ 27 | UINT16 get_hash_size (const UINT16 method); | ^~~~~~ In file included from shim.h:178, from shim.c:14: include/peimage.h:60:3: error: unknown type name ‘UINT16’ 60 | UINT16 e_magic; ///< Magic number. | ^~~~~~ include/peimage.h:61:3: error: unknown type name ‘UINT16’ 61 | UINT16 e_cblp; ///< Bytes on last page of file. | ^~~~~~ include/peimage.h:62:3: error: unknown type name ‘UINT16’ 62 | UINT16 e_cp; ///< Pages in file. | ^~~~~~ include/peimage.h:63:3: error: unknown type name ‘UINT16’ 63 | UINT16 e_crlc; ///< Relocations. | ^~~~~~ include/peimage.h:64:3: error: unknown type name ‘UINT16’ 64 | UINT16 e_cparhdr; ///< Size of header in paragraphs. | ^~~~~~ include/peimage.h:65:3: error: unknown type name ‘UINT16’ 65 | UINT16 e_minalloc; ///< Minimum extra paragraphs needed. | ^~~~~~ include/peimage.h:66:3: error: unknown type name ‘UINT16’ 66 | UINT16 e_maxalloc; ///< Maximum extra paragraphs needed. | ^~~~~~ include/peimage.h:67:3: error: unknown type name ‘UINT16’ 67 | UINT16 e_ss; ///< Initial (relative) SS value. | ^~~~~~ include/peimage.h:68:3: error: unknown type name ‘UINT16’ 68 | UINT16 e_sp; ///< Initial SP value. | ^~~~~~ include/peimage.h:69:3: error: unknown type name ‘UINT16’ 69 | UINT16 e_csum; ///< Checksum. | ^~~~~~ include/peimage.h:70:3: error: unknown type name ‘UINT16’ 70 | UINT16 e_ip; ///< Initial IP value. | ^~~~~~ include/peimage.h:71:3: error: unknown type name ‘UINT16’ 71 | UINT16 e_cs; ///< Initial (relative) CS value. | ^~~~~~ include/peimage.h:72:3: error: unknown type name ‘UINT16’ 72 | UINT16 e_lfarlc; ///< File address of relocation table. | ^~~~~~ include/peimage.h:73:3: error: unknown type name ‘UINT16’ 73 | UINT16 e_ovno; ///< Overlay number. | ^~~~~~ include/peimage.h:74:3: error: unknown type name ‘UINT16’ 74 | UINT16 e_res[4]; ///< Reserved words. | ^~~~~~ include/peimage.h:75:3: error: unknown type name ‘UINT16’ 75 | UINT16 e_oemid; ///< OEM identifier (for e_oeminfo). | ^~~~~~ include/peimage.h:76:3: error: unknown type name ‘UINT16’ 76 | UINT16 e_oeminfo; ///< OEM information; e_oemid specific. | ^~~~~~ include/peimage.h:77:3: error: unknown type name ‘UINT16’ 77 | UINT16 e_res2[10]; ///< Reserved words. | ^~~~~~ include/peimage.h:78:3: error: unknown type name ‘UINT32’ 78 | UINT32 e_lfanew; ///< File address of new exe header. | ^~~~~~ include/peimage.h:85:3: error: unknown type name ‘UINT16’ 85 | UINT16 Machine; | ^~~~~~ include/peimage.h:86:3: error: unknown type name ‘UINT16’ 86 | UINT16 NumberOfSections; | ^~~~~~ include/peimage.h:87:3: error: unknown type name ‘UINT32’ 87 | UINT32 TimeDateStamp; | ^~~~~~ include/peimage.h:88:3: error: unknown type name ‘UINT32’ 88 | UINT32 PointerToSymbolTable; | ^~~~~~ include/peimage.h:89:3: error: unknown type name ‘UINT32’ 89 | UINT32 NumberOfSymbols; | ^~~~~~ include/peimage.h:90:3: error: unknown type name ‘UINT16’ 90 | UINT16 SizeOfOptionalHeader; | ^~~~~~ include/peimage.h:91:3: error: unknown type name ‘UINT16’ 91 | UINT16 Characteristics; | ^~~~~~ In file included from shim.h:178, from shim.c:14: include/peimage.h:117:3: error: unknown type name ‘UINT32’ 117 | UINT32 VirtualAddress; | ^~~~~~ include/peimage.h:118:3: error: unknown type name ‘UINT32’ 118 | UINT32 Size; | ^~~~~~ include/peimage.h:153:3: error: unknown type name ‘UINT16’ 153 | UINT16 Magic; | ^~~~~~ include/peimage.h:154:3: error: unknown type name ‘UINT8’ 154 | UINT8 MajorLinkerVersion; | ^~~~~ include/peimage.h:155:3: error: unknown type name ‘UINT8’ 155 | UINT8 MinorLinkerVersion; | ^~~~~ include/peimage.h:156:3: error: unknown type name ‘UINT32’ 156 | UINT32 SizeOfCode; | ^~~~~~ include/peimage.h:157:3: error: unknown type name ‘UINT32’ 157 | UINT32 SizeOfInitializedData; | ^~~~~~ include/peimage.h:158:3: error: unknown type name ‘UINT32’ 158 | UINT32 SizeOfUninitializedData; | ^~~~~~ include/peimage.h:159:3: error: unknown type name ‘UINT32’ 159 | UINT32 AddressOfEntryPoint; | ^~~~~~ include/peimage.h:160:3: error: unknown type name ‘UINT32’ 160 | UINT32 BaseOfCode; | ^~~~~~ include/peimage.h:161:3: error: unknown type name ‘UINT32’ 161 | UINT32 BaseOfData; ///< PE32 contains this additional field, which is absent in PE32+. | ^~~~~~ include/peimage.h:165:3: error: unknown type name ‘UINT32’ 165 | UINT32 ImageBase; | ^~~~~~ include/peimage.h:166:3: error: unknown type name ‘UINT32’ 166 | UINT32 SectionAlignment; | ^~~~~~ include/peimage.h:167:3: error: unknown type name ‘UINT32’ 167 | UINT32 FileAlignment; | ^~~~~~ include/peimage.h:168:3: error: unknown type name ‘UINT16’ 168 | UINT16 MajorOperatingSystemVersion; | ^~~~~~ include/peimage.h:169:3: error: unknown type name ‘UINT16’ 169 | UINT16 MinorOperatingSystemVersion; | ^~~~~~ include/peimage.h:170:3: error: unknown type name ‘UINT16’ 170 | UINT16 MajorImageVersion; | ^~~~~~ include/peimage.h:171:3: error: unknown type name ‘UINT16’ 171 | UINT16 MinorImageVersion; | ^~~~~~ include/peimage.h:172:3: error: unknown type name ‘UINT16’ 172 | UINT16 MajorSubsystemVersion; | ^~~~~~ include/peimage.h:173:3: error: unknown type name ‘UINT16’ 173 | UINT16 MinorSubsystemVersion; | ^~~~~~ include/peimage.h:174:3: error: unknown type name ‘UINT32’ 174 | UINT32 Win32VersionValue; | ^~~~~~ include/peimage.h:175:3: error: unknown type name ‘UINT32’ 175 | UINT32 SizeOfImage; | ^~~~~~ include/peimage.h:176:3: error: unknown type name ‘UINT32’ 176 | UINT32 SizeOfHeaders; | ^~~~~~ include/peimage.h:177:3: error: unknown type name ‘UINT32’ 177 | UINT32 CheckSum; | ^~~~~~ include/peimage.h:178:3: error: unknown type name ‘UINT16’ 178 | UINT16 Subsystem; | ^~~~~~ include/peimage.h:179:3: error: unknown type name ‘UINT16’ 179 | UINT16 DllCharacteristics; | ^~~~~~ include/peimage.h:180:3: error: unknown type name ‘UINT32’ 180 | UINT32 SizeOfStackReserve; | ^~~~~~ include/peimage.h:181:3: error: unknown type name ‘UINT32’ 181 | UINT32 SizeOfStackCommit; | ^~~~~~ include/peimage.h:182:3: error: unknown type name ‘UINT32’ 182 | UINT32 SizeOfHeapReserve; | ^~~~~~ include/peimage.h:183:3: error: unknown type name ‘UINT32’ 183 | UINT32 SizeOfHeapCommit; | ^~~~~~ include/peimage.h:184:3: error: unknown type name ‘UINT32’ 184 | UINT32 LoaderFlags; | ^~~~~~ include/peimage.h:185:3: error: unknown type name ‘UINT32’ 185 | UINT32 NumberOfRvaAndSizes; | ^~~~~~ include/peimage.h:204:3: error: unknown type name ‘UINT16’ 204 | UINT16 Magic; | ^~~~~~ include/peimage.h:205:3: error: unknown type name ‘UINT8’ 205 | UINT8 MajorLinkerVersion; | ^~~~~ include/peimage.h:206:3: error: unknown type name ‘UINT8’ 206 | UINT8 MinorLinkerVersion; | ^~~~~ include/peimage.h:207:3: error: unknown type name ‘UINT32’ 207 | UINT32 SizeOfCode; | ^~~~~~ include/peimage.h:208:3: error: unknown type name ‘UINT32’ 208 | UINT32 SizeOfInitializedData; | ^~~~~~ include/peimage.h:209:3: error: unknown type name ‘UINT32’ 209 | UINT32 SizeOfUninitializedData; | ^~~~~~ include/peimage.h:210:3: error: unknown type name ‘UINT32’ 210 | UINT32 AddressOfEntryPoint; | ^~~~~~ include/peimage.h:211:3: error: unknown type name ‘UINT32’ 211 | UINT32 BaseOfCode; | ^~~~~~ include/peimage.h:215:3: error: unknown type name ‘UINT64’ 215 | UINT64 ImageBase; | ^~~~~~ include/peimage.h:216:3: error: unknown type name ‘UINT32’ 216 | UINT32 SectionAlignment; | ^~~~~~ include/peimage.h:217:3: error: unknown type name ‘UINT32’ 217 | UINT32 FileAlignment; | ^~~~~~ include/peimage.h:218:3: error: unknown type name ‘UINT16’ 218 | UINT16 MajorOperatingSystemVersion; | ^~~~~~ include/peimage.h:219:3: error: unknown type name ‘UINT16’ 219 | UINT16 MinorOperatingSystemVersion; | ^~~~~~ include/peimage.h:220:3: error: unknown type name ‘UINT16’ 220 | UINT16 MajorImageVersion; | ^~~~~~ include/peimage.h:221:3: error: unknown type name ‘UINT16’ 221 | UINT16 MinorImageVersion; | ^~~~~~ include/peimage.h:222:3: error: unknown type name ‘UINT16’ 222 | UINT16 MajorSubsystemVersion; | ^~~~~~ include/peimage.h:223:3: error: unknown type name ‘UINT16’ 223 | UINT16 MinorSubsystemVersion; | ^~~~~~ include/peimage.h:224:3: error: unknown type name ‘UINT32’ 224 | UINT32 Win32VersionValue; | ^~~~~~ include/peimage.h:225:3: error: unknown type name ‘UINT32’ 225 | UINT32 SizeOfImage; | ^~~~~~ include/peimage.h:226:3: error: unknown type name ‘UINT32’ 226 | UINT32 SizeOfHeaders; | ^~~~~~ include/peimage.h:227:3: error: unknown type name ‘UINT32’ 227 | UINT32 CheckSum; | ^~~~~~ include/peimage.h:228:3: error: unknown type name ‘UINT16’ 228 | UINT16 Subsystem; | ^~~~~~ include/peimage.h:229:3: error: unknown type name ‘UINT16’ 229 | UINT16 DllCharacteristics; | ^~~~~~ include/peimage.h:230:3: error: unknown type name ‘UINT64’ 230 | UINT64 SizeOfStackReserve; | ^~~~~~ include/peimage.h:231:3: error: unknown type name ‘UINT64’ 231 | UINT64 SizeOfStackCommit; | ^~~~~~ include/peimage.h:232:3: error: unknown type name ‘UINT64’ 232 | UINT64 SizeOfHeapReserve; | ^~~~~~ include/peimage.h:233:3: error: unknown type name ‘UINT64’ 233 | UINT64 SizeOfHeapCommit; | ^~~~~~ include/peimage.h:234:3: error: unknown type name ‘UINT32’ 234 | UINT32 LoaderFlags; | ^~~~~~ include/peimage.h:235:3: error: unknown type name ‘UINT32’ 235 | UINT32 NumberOfRvaAndSizes; | ^~~~~~ include/peimage.h:245:3: error: unknown type name ‘UINT32’ 245 | UINT32 Signature; | ^~~~~~ include/peimage.h:257:3: error: unknown type name ‘UINT32’ 257 | UINT32 Signature; | ^~~~~~ include/peimage.h:283:3: error: unknown type name ‘UINT8’ 283 | UINT8 Name[EFI_IMAGE_SIZEOF_SHORT_NAME]; | ^~~~~ include/peimage.h:285:5: error: unknown type name ‘UINT32’ 285 | UINT32 PhysicalAddress; | ^~~~~~ include/peimage.h:286:5: error: unknown type name ‘UINT32’ 286 | UINT32 VirtualSize; | ^~~~~~ include/peimage.h:288:3: error: unknown type name ‘UINT32’ 288 | UINT32 VirtualAddress; | ^~~~~~ include/peimage.h:289:3: error: unknown type name ‘UINT32’ 289 | UINT32 SizeOfRawData; | ^~~~~~ include/peimage.h:290:3: error: unknown type name ‘UINT32’ 290 | UINT32 PointerToRawData; | ^~~~~~ include/peimage.h:291:3: error: unknown type name ‘UINT32’ 291 | UINT32 PointerToRelocations; | ^~~~~~ include/peimage.h:292:3: error: unknown type name ‘UINT32’ 292 | UINT32 PointerToLinenumbers; | ^~~~~~ include/peimage.h:293:3: error: unknown type name ‘UINT16’ 293 | UINT16 NumberOfRelocations; | ^~~~~~ include/peimage.h:294:3: error: unknown type name ‘UINT16’ 294 | UINT16 NumberOfLinenumbers; | ^~~~~~ include/peimage.h:295:3: error: unknown type name ‘UINT32’ 295 | UINT32 Characteristics; | ^~~~~~ include/peimage.h:433:3: error: unknown type name ‘UINT32’ 433 | UINT32 VirtualAddress; | ^~~~~~ include/peimage.h:434:3: error: unknown type name ‘UINT32’ 434 | UINT32 SymbolTableIndex; | ^~~~~~ include/peimage.h:435:3: error: unknown type name ‘UINT16’ 435 | UINT16 Type; | ^~~~~~ include/peimage.h:481:3: error: unknown type name ‘UINT32’ 481 | UINT32 VirtualAddress; | ^~~~~~ include/peimage.h:482:3: error: unknown type name ‘UINT32’ 482 | UINT32 SizeOfBlock; | ^~~~~~ include/peimage.h:510:5: error: unknown type name ‘UINT32’ 510 | UINT32 SymbolTableIndex; ///< Symbol table index of function name if Linenumber is 0. | ^~~~~~ include/peimage.h:511:5: error: unknown type name ‘UINT32’ 511 | UINT32 VirtualAddress; ///< Virtual address of line number. | ^~~~~~ include/peimage.h:513:3: error: unknown type name ‘UINT16’ 513 | UINT16 Linenumber; ///< Line number. | ^~~~~~ include/peimage.h:535:3: error: unknown type name ‘UINT8’ 535 | UINT8 Name[16]; ///< File member name - `/' terminated. | ^~~~~ include/peimage.h:536:3: error: unknown type name ‘UINT8’ 536 | UINT8 Date[12]; ///< File member date - decimal. | ^~~~~ include/peimage.h:537:3: error: unknown type name ‘UINT8’ 537 | UINT8 UserID[6]; ///< File member user id - decimal. | ^~~~~ include/peimage.h:538:3: error: unknown type name ‘UINT8’ 538 | UINT8 GroupID[6]; ///< File member group id - decimal. | ^~~~~ include/peimage.h:539:3: error: unknown type name ‘UINT8’ 539 | UINT8 Mode[8]; ///< File member mode - octal. | ^~~~~ include/peimage.h:540:3: error: unknown type name ‘UINT8’ 540 | UINT8 Size[10]; ///< File member size - decimal. | ^~~~~ include/peimage.h:541:3: error: unknown type name ‘UINT8’ 541 | UINT8 EndHeader[2]; ///< String to end header. (0x60 0x0A). | ^~~~~ include/peimage.h:558:3: error: unknown type name ‘UINT32’ 558 | UINT32 Characteristics; | ^~~~~~ include/peimage.h:559:3: error: unknown type name ‘UINT32’ 559 | UINT32 TimeDateStamp; | ^~~~~~ include/peimage.h:560:3: error: unknown type name ‘UINT16’ 560 | UINT16 MajorVersion; | ^~~~~~ include/peimage.h:561:3: error: unknown type name ‘UINT16’ 561 | UINT16 MinorVersion; | ^~~~~~ include/peimage.h:562:3: error: unknown type name ‘UINT32’ 562 | UINT32 Name; | ^~~~~~ include/peimage.h:563:3: error: unknown type name ‘UINT32’ 563 | UINT32 Base; | ^~~~~~ include/peimage.h:564:3: error: unknown type name ‘UINT32’ 564 | UINT32 NumberOfFunctions; | ^~~~~~ include/peimage.h:565:3: error: unknown type name ‘UINT32’ 565 | UINT32 NumberOfNames; | ^~~~~~ include/peimage.h:566:3: error: unknown type name ‘UINT32’ 566 | UINT32 AddressOfFunctions; | ^~~~~~ include/peimage.h:567:3: error: unknown type name ‘UINT32’ 567 | UINT32 AddressOfNames; | ^~~~~~ include/peimage.h:568:3: error: unknown type name ‘UINT32’ 568 | UINT32 AddressOfNameOrdinals; | ^~~~~~ include/peimage.h:575:3: error: unknown type name ‘UINT16’ 575 | UINT16 Hint; | ^~~~~~ include/peimage.h:576:3: error: unknown type name ‘UINT8’ 576 | UINT8 Name[1]; | ^~~~~ include/peimage.h:584:5: error: unknown type name ‘UINT32’ 584 | UINT32 Function; | ^~~~~~ include/peimage.h:585:5: error: unknown type name ‘UINT32’ 585 | UINT32 Ordinal; | ^~~~~~ include/peimage.h:598:3: error: unknown type name ‘UINT32’ 598 | UINT32 Characteristics; | ^~~~~~ include/peimage.h:599:3: error: unknown type name ‘UINT32’ 599 | UINT32 TimeDateStamp; | ^~~~~~ include/peimage.h:600:3: error: unknown type name ‘UINT32’ 600 | UINT32 ForwarderChain; | ^~~~~~ include/peimage.h:601:3: error: unknown type name ‘UINT32’ 601 | UINT32 Name; | ^~~~~~ include/peimage.h:610:3: error: unknown type name ‘UINT32’ 610 | UINT32 Characteristics; | ^~~~~~ include/peimage.h:611:3: error: unknown type name ‘UINT32’ 611 | UINT32 TimeDateStamp; | ^~~~~~ include/peimage.h:612:3: error: unknown type name ‘UINT16’ 612 | UINT16 MajorVersion; | ^~~~~~ include/peimage.h:613:3: error: unknown type name ‘UINT16’ 613 | UINT16 MinorVersion; | ^~~~~~ include/peimage.h:614:3: error: unknown type name ‘UINT32’ 614 | UINT32 Type; | ^~~~~~ include/peimage.h:615:3: error: unknown type name ‘UINT32’ 615 | UINT32 SizeOfData; | ^~~~~~ include/peimage.h:616:3: error: unknown type name ‘UINT32’ 616 | UINT32 RVA; ///< The address of the debug data when loaded, relative to the image base. | ^~~~~~ include/peimage.h:617:3: error: unknown type name ‘UINT32’ 617 | UINT32 FileOffset; ///< The file pointer to the debug data. | ^~~~~~ include/peimage.h:627:3: error: unknown type name ‘UINT32’ 627 | UINT32 Signature; ///< "NB10" | ^~~~~~ include/peimage.h:628:3: error: unknown type name ‘UINT32’ 628 | UINT32 Unknown; | ^~~~~~ include/peimage.h:629:3: error: unknown type name ‘UINT32’ 629 | UINT32 Unknown2; | ^~~~~~ include/peimage.h:630:3: error: unknown type name ‘UINT32’ 630 | UINT32 Unknown3; | ^~~~~~ include/peimage.h:641:3: error: unknown type name ‘UINT32’ 641 | UINT32 Signature; ///< "RSDS". | ^~~~~~ include/peimage.h:642:3: error: unknown type name ‘UINT32’ 642 | UINT32 Unknown; | ^~~~~~ include/peimage.h:643:3: error: unknown type name ‘UINT32’ 643 | UINT32 Unknown2; | ^~~~~~ include/peimage.h:644:3: error: unknown type name ‘UINT32’ 644 | UINT32 Unknown3; | ^~~~~~ include/peimage.h:645:3: error: unknown type name ‘UINT32’ 645 | UINT32 Unknown4; | ^~~~~~ include/peimage.h:646:3: error: unknown type name ‘UINT32’ 646 | UINT32 Unknown5; | ^~~~~~ include/peimage.h:658:3: error: unknown type name ‘UINT32’ 658 | UINT32 Signature; ///< "MTOC". | ^~~~~~ include/peimage.h:669:3: error: unknown type name ‘UINT32’ 669 | UINT32 Characteristics; | ^~~~~~ include/peimage.h:670:3: error: unknown type name ‘UINT32’ 670 | UINT32 TimeDateStamp; | ^~~~~~ include/peimage.h:671:3: error: unknown type name ‘UINT16’ 671 | UINT16 MajorVersion; | ^~~~~~ include/peimage.h:672:3: error: unknown type name ‘UINT16’ 672 | UINT16 MinorVersion; | ^~~~~~ include/peimage.h:673:3: error: unknown type name ‘UINT16’ 673 | UINT16 NumberOfNamedEntries; | ^~~~~~ include/peimage.h:674:3: error: unknown type name ‘UINT16’ 674 | UINT16 NumberOfIdEntries; | ^~~~~~ include/peimage.h:686:7: error: unknown type name ‘UINT32’ 686 | UINT32 NameOffset:31; | ^~~~~~ include/peimage.h:687:7: error: unknown type name ‘UINT32’ 687 | UINT32 NameIsString:1; | ^~~~~~ include/peimage.h:689:5: error: unknown type name ‘UINT32’ 689 | UINT32 Id; | ^~~~~~ include/peimage.h:692:5: error: unknown type name ‘UINT32’ 692 | UINT32 OffsetToData; | ^~~~~~ include/peimage.h:694:7: error: unknown type name ‘UINT32’ 694 | UINT32 OffsetToDirectory:31; | ^~~~~~ include/peimage.h:695:7: error: unknown type name ‘UINT32’ 695 | UINT32 DataIsDirectory:1; | ^~~~~~ include/peimage.h:704:3: error: unknown type name ‘UINT16’ 704 | UINT16 Length; | ^~~~~~ include/peimage.h:705:3: error: unknown type name ‘CHAR16’ 705 | CHAR16 String[1]; | ^~~~~~ include/peimage.h:712:3: error: unknown type name ‘UINT32’ 712 | UINT32 OffsetToData; | ^~~~~~ include/peimage.h:713:3: error: unknown type name ‘UINT32’ 713 | UINT32 Size; | ^~~~~~ include/peimage.h:714:3: error: unknown type name ‘UINT32’ 714 | UINT32 CodePage; | ^~~~~~ include/peimage.h:715:3: error: unknown type name ‘UINT32’ 715 | UINT32 Reserved; | ^~~~~~ include/peimage.h:722:3: error: unknown type name ‘UINT16’ 722 | UINT16 Signature; ///< The signature for TE format = "VZ". | ^~~~~~ include/peimage.h:723:3: error: unknown type name ‘UINT16’ 723 | UINT16 Machine; ///< From the original file header. | ^~~~~~ include/peimage.h:724:3: error: unknown type name ‘UINT8’ 724 | UINT8 NumberOfSections; ///< From the original file header. | ^~~~~ include/peimage.h:725:3: error: unknown type name ‘UINT8’ 725 | UINT8 Subsystem; ///< From original optional header. | ^~~~~ include/peimage.h:726:3: error: unknown type name ‘UINT16’ 726 | UINT16 StrippedSize; ///< Number of bytes we removed from the header. | ^~~~~~ include/peimage.h:727:3: error: unknown type name ‘UINT32’ 727 | UINT32 AddressOfEntryPoint; ///< Offset to entry point -- from original optional header. | ^~~~~~ include/peimage.h:728:3: error: unknown type name ‘UINT32’ 728 | UINT32 BaseOfCode; ///< From original image -- required for ITP debug. | ^~~~~~ include/peimage.h:729:3: error: unknown type name ‘UINT64’ 729 | UINT64 ImageBase; ///< From original file header. | ^~~~~~ include/peimage.h:761:9: error: unknown type name ‘UINT8’ 761 | UINT8 CertData[1]; | ^~~~~ include/peimage.h:769:9: error: unknown type name ‘UINT64’ 769 | UINT64 ImageAddress; | ^~~~~~ include/peimage.h:770:9: error: unknown type name ‘UINT64’ 770 | UINT64 ImageSize; | ^~~~~~ include/peimage.h:771:9: error: unknown type name ‘UINT64’ 771 | UINT64 EntryPoint; | ^~~~~~ include/peimage.h:772:9: error: unknown type name ‘UINTN’ 772 | UINTN SizeOfHeaders; | ^~~~~ include/peimage.h:773:9: error: unknown type name ‘UINT16’ 773 | UINT16 ImageType; | ^~~~~~ include/peimage.h:774:9: error: unknown type name ‘UINT16’ 774 | UINT16 NumberOfSections; | ^~~~~~ include/peimage.h:775:9: error: unknown type name ‘UINT32’ 775 | UINT32 SectionAlignment; | ^~~~~~ include/peimage.h:779:9: error: unknown type name ‘UINT64’ 779 | UINT64 NumberOfRvaAndSizes; | ^~~~~~ In file included from shim.h:179, from shim.c:14: include/pe.h:23:15: error: unknown type name ‘EFI_IMAGE_ENTRY_POINT’ 23 | EFI_IMAGE_ENTRY_POINT *entry_point, | ^~~~~~~~~~~~~~~~~~~~~ include/pe.h:25:15: error: unknown type name ‘UINTN’ 25 | UINTN *alloc_pages); | ^~~~~ include/pe.h:30:16: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 30 | UINT8 *sha256hash, UINT8 *sha1hash); | ^~~~~ | UINT8_C include/pe.h:30:35: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 30 | UINT8 *sha256hash, UINT8 *sha1hash); | ^~~~~ | UINT8_C In file included from shim.h:181, from shim.c:14: include/sbat.h:36:8: error: unknown type name ‘UINTN’ 36 | extern UINTN _sbat, _esbat; | ^~~~~ include/sbat.h:39:15: error: unknown type name ‘CHAR8’ 39 | const CHAR8 *component_name; | ^~~~~ include/sbat.h:40:15: error: unknown type name ‘CHAR8’ 40 | const CHAR8 *component_generation; | ^~~~~ include/sbat.h:44:15: error: unknown type name ‘CHAR8’ 44 | const CHAR8 *sbat_datestamp; | ^~~~~ include/sbat.h:54:34: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 54 | bool preserve_sbat_uefi_variable(UINT8 *sbat, UINTN sbatsize, UINT32 attributes); | ^~~~~ | UINT8_C include/sbat.h:54:47: error: unknown type name ‘UINTN’ 54 | bool preserve_sbat_uefi_variable(UINT8 *sbat, UINTN sbatsize, UINT32 attributes); | ^~~~~ include/sbat.h:54:63: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 54 | bool preserve_sbat_uefi_variable(UINT8 *sbat, UINTN sbatsize, UINT32 attributes); | ^~~~~~ | UINT32_C include/sbat.h:57:15: error: unknown type name ‘CHAR8’ 57 | const CHAR8 *component_name; | ^~~~~ include/sbat.h:58:15: error: unknown type name ‘CHAR8’ 58 | const CHAR8 *component_generation; | ^~~~~ include/sbat.h:59:15: error: unknown type name ‘CHAR8’ 59 | const CHAR8 *vendor_name; | ^~~~~ include/sbat.h:60:15: error: unknown type name ‘CHAR8’ 60 | const CHAR8 *vendor_package_name; | ^~~~~ include/sbat.h:61:15: error: unknown type name ‘CHAR8’ 61 | const CHAR8 *vendor_version; | ^~~~~ include/sbat.h:62:15: error: unknown type name ‘CHAR8’ 62 | const CHAR8 *vendor_url; | ^~~~~ In file included from shim.h:185, from shim.c:14: include/simple_file.h:7:37: error: unknown type name ‘CHAR16’ 7 | simple_file_open (EFI_HANDLE image, CHAR16 *name, EFI_FILE **file, UINT64 mode); | ^~~~~~ include/simple_file.h:7:68: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 7 | simple_file_open (EFI_HANDLE image, CHAR16 *name, EFI_FILE **file, UINT64 mode); | ^~~~~~ | UINT64_C include/simple_file.h:9:47: error: unknown type name ‘CHAR16’ 9 | simple_file_open_by_handle(EFI_HANDLE device, CHAR16 *name, EFI_FILE **file, UINT64 mode); | ^~~~~~ include/simple_file.h:9:78: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 9 | simple_file_open_by_handle(EFI_HANDLE device, CHAR16 *name, EFI_FILE **file, UINT64 mode); | ^~~~~~ | UINT64_C include/simple_file.h:11:38: error: unknown type name ‘UINTN’ 11 | simple_file_read_all(EFI_FILE *file, UINTN *size, void **buffer); | ^~~~~ include/simple_file.h:13:39: error: unknown type name ‘UINTN’ 13 | simple_file_write_all(EFI_FILE *file, UINTN size, void *buffer); | ^~~~~ include/simple_file.h:15:39: error: unknown type name ‘CHAR16’ 15 | simple_dir_read_all(EFI_HANDLE image, CHAR16 *name, EFI_FILE_INFO **Entries, | ^~~~~~ include/simple_file.h:18:37: error: unknown type name ‘CHAR16’ 18 | simple_dir_filter(EFI_HANDLE image, CHAR16 *name, CHAR16 *filter, | ^~~~~~ include/simple_file.h:18:51: error: unknown type name ‘CHAR16’ 18 | simple_dir_filter(EFI_HANDLE image, CHAR16 *name, CHAR16 *filter, | ^~~~~~ include/simple_file.h:19:19: error: unknown type name ‘CHAR16’ 19 | CHAR16 ***result, int *count, EFI_FILE_INFO **entries); | ^~~~~~ include/simple_file.h:21:38: error: unknown type name ‘CHAR16’ 21 | simple_file_selector(EFI_HANDLE *im, CHAR16 **title, CHAR16 *name, | ^~~~~~ include/simple_file.h:21:54: error: unknown type name ‘CHAR16’ 21 | simple_file_selector(EFI_HANDLE *im, CHAR16 **title, CHAR16 *name, | ^~~~~~ include/simple_file.h:22:22: error: unknown type name ‘CHAR16’ 22 | CHAR16 *filter, CHAR16 **result); | ^~~~~~ include/simple_file.h:22:38: error: unknown type name ‘CHAR16’ 22 | CHAR16 *filter, CHAR16 **result); | ^~~~~~ include/simple_file.h:24:24: error: unknown type name ‘CHAR16’ 24 | simple_volume_selector(CHAR16 **title, CHAR16 **selected, EFI_HANDLE *h); | ^~~~~~ include/simple_file.h:24:40: error: unknown type name ‘CHAR16’ 24 | simple_volume_selector(CHAR16 **title, CHAR16 **selected, EFI_HANDLE *h); | ^~~~~~ In file included from shim.h:186, from shim.c:14: include/str.h:107:13: error: unknown type name ‘CHAR8’ 107 | is_utf8_bom(CHAR8 *buf, size_t bufsize) | ^~~~~ In file included from shim.h:187, from shim.c:14: include/tpm.h:8:52: error: unknown type name ‘UINTN’ 8 | EFI_STATUS tpm_log_event(EFI_PHYSICAL_ADDRESS buf, UINTN size, UINT8 pcr, | ^~~~~ include/tpm.h:8:64: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 8 | EFI_STATUS tpm_log_event(EFI_PHYSICAL_ADDRESS buf, UINTN size, UINT8 pcr, | ^~~~~ | UINT8_C include/tpm.h:9:32: error: unknown type name ‘CHAR8’ 9 | const CHAR8 *description); | ^~~~~ include/tpm.h:12:49: error: unknown type name ‘UINTN’ 12 | EFI_STATUS tpm_log_pe(EFI_PHYSICAL_ADDRESS buf, UINTN size, | ^~~~~ include/tpm.h:14:23: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 14 | UINT8 *sha1hash, UINT8 pcr); | ^~~~~ | UINT8_C include/tpm.h:14:40: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 14 | UINT8 *sha1hash, UINT8 pcr); | ^~~~~ | UINT8_C include/tpm.h:16:33: error: unknown type name ‘CHAR16’ 16 | EFI_STATUS tpm_measure_variable(CHAR16 *dbname, EFI_GUID guid, UINTN size, void *data); | ^~~~~~ include/tpm.h:16:64: error: unknown type name ‘UINTN’ 16 | EFI_STATUS tpm_measure_variable(CHAR16 *dbname, EFI_GUID guid, UINTN size, void *data); | ^~~~~ include/tpm.h:44:3: error: unknown type name ‘UINTN’ 44 | UINTN ImageLengthInMemory; | ^~~~~ include/tpm.h:45:3: error: unknown type name ‘UINTN’ 45 | UINTN ImageLinkTimeAddress; | ^~~~~ include/tpm.h:46:3: error: unknown type name ‘UINTN’ 46 | UINTN LengthOfDevicePath; | ^~~~~ include/tpm.h:52:21: error: expected ‘)’ before ‘*’ token 52 | EFI_STATUS (EFIAPI *status_check) (struct efi_tpm_protocol *this, | ^~ | ) include/tpm.h:57:21: error: expected ‘)’ before ‘*’ token 57 | EFI_STATUS (EFIAPI *hash_all) (struct efi_tpm_protocol *this, | ^~ | ) include/tpm.h:63:21: error: expected ‘)’ before ‘*’ token 63 | EFI_STATUS (EFIAPI *log_event) (struct efi_tpm_protocol *this, | ^~ | ) include/tpm.h:67:21: error: expected ‘)’ before ‘*’ token 67 | EFI_STATUS (EFIAPI *pass_through_to_tpm) (struct efi_tpm_protocol *this, | ^~ | ) include/tpm.h:72:21: error: expected ‘)’ before ‘*’ token 72 | EFI_STATUS (EFIAPI *log_extend_event) (struct efi_tpm_protocol *this, | ^~ | ) include/tpm.h:79:1: warning: no semicolon at end of struct or union 79 | }; | ^ include/tpm.h:146:21: error: expected ‘)’ before ‘*’ token 146 | EFI_STATUS (EFIAPI *get_capability) (struct efi_tpm2_protocol *this, | ^~ | ) include/tpm.h:148:21: error: expected ‘)’ before ‘*’ token 148 | EFI_STATUS (EFIAPI *get_event_log) (struct efi_tpm2_protocol *this, | ^~ | ) include/tpm.h:153:21: error: expected ‘)’ before ‘*’ token 153 | EFI_STATUS (EFIAPI *hash_log_extend_event) (struct efi_tpm2_protocol *this, | ^~ | ) include/tpm.h:158:21: error: expected ‘)’ before ‘*’ token 158 | EFI_STATUS (EFIAPI *submit_command) (struct efi_tpm2_protocol *this, | ^~ | ) include/tpm.h:163:21: error: expected ‘)’ before ‘*’ token 163 | EFI_STATUS (EFIAPI *get_active_pcr_blanks) (struct efi_tpm2_protocol *this, | ^~ | ) include/tpm.h:165:21: error: expected ‘)’ before ‘*’ token 165 | EFI_STATUS (EFIAPI *set_active_pcr_banks) (struct efi_tpm2_protocol *this, | ^~ | ) include/tpm.h:167:21: error: expected ‘)’ before ‘*’ token 167 | EFI_STATUS (EFIAPI *get_result_of_set_active_pcr_banks) (struct efi_tpm2_protocol *this, | ^~ | ) include/tpm.h:170:1: warning: no semicolon at end of struct or union 170 | }; | ^ include/tpm.h:174:9: error: unknown type name ‘UINT32’ 174 | typedef UINT32 TCG_EVENTTYPE; | ^~~~~~ include/tpm.h:174:36: error: conflicting types for ‘TCG_EVENTTYPE’; have ‘int’ 174 | typedef UINT32 TCG_EVENTTYPE; | ^~~~~~~~~~~~~ include/tpm.h:126:18: note: previous declaration of ‘TCG_EVENTTYPE’ with type ‘TCG_EVENTTYPE’ {aka ‘unsigned int’} 126 | typedef uint32_t TCG_EVENTTYPE; | ^~~~~~~~~~~~~ In file included from shim.h:188, from shim.c:14: include/ucs2.h:13:15: warning: type defaults to ‘int’ in declaration of ‘INTN’ [-Wimplicit-int] 13 | static inline INTN | ^~~~ include/ucs2.h:13:15: warning: variable ‘INTN’ declared ‘inline’ include/ucs2.h:15:1: error: expected ‘,’ or ‘;’ before ‘StrCaseCmp’ 15 | StrCaseCmp(CHAR16 *s0, CHAR16 *s1) | ^~~~~~~~~~ include/ucs2.h:31:15: warning: type defaults to ‘int’ in declaration of ‘INTN’ [-Wimplicit-int] 31 | static inline INTN | ^~~~ include/ucs2.h:31:15: warning: variable ‘INTN’ declared ‘inline’ include/ucs2.h:33:1: error: expected ‘,’ or ‘;’ before ‘StrnCaseCmp’ 33 | StrnCaseCmp(CHAR16 *s0, CHAR16 *s1, int n) | ^~~~~~~~~~~ include/ucs2.h:50:15: warning: type defaults to ‘int’ in declaration of ‘UINTN’ [-Wimplicit-int] 50 | static inline UINTN | ^~~~~ include/ucs2.h:50:15: warning: variable ‘UINTN’ declared ‘inline’ include/ucs2.h:52:1: error: expected ‘,’ or ‘;’ before ‘StrCSpn’ 52 | StrCSpn(const CHAR16 *s, const CHAR16 *reject) | ^~~~~~~ include/ucs2.h:73:13: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 73 | is_all_nuls(UINT8 *data, UINTN data_size) | ^~~~~ | UINT8_C include/ucs2.h:73:26: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 73 | is_all_nuls(UINT8 *data, UINTN data_size) | ^~~~~ In file included from shim.h:189, from shim.c:14: include/variables.h:26:9: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 26 | IN UINT8 *X509Data, | ^~~~~ | UINT8_C include/variables.h:27:9: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 27 | IN UINTN X509DataSize, | ^~~~~ include/variables.h:33:10: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 33 | IN OUT UINTN *DataSize, | ^~~~~ include/variables.h:34:10: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 34 | IN OUT UINT8 **Data | ^~~~~ | UINT8_C include/variables.h:37:25: error: unknown type name ‘CHAR16’ 37 | SetSecureVariable(const CHAR16 * const var, UINT8 *Data, UINTN len, EFI_GUID owner, UINT32 options, int createtimebased); | ^~~~~~ include/variables.h:37:45: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 37 | SetSecureVariable(const CHAR16 * const var, UINT8 *Data, UINTN len, EFI_GUID owner, UINT32 options, int createtimebased); | ^~~~~ | UINT8_C include/variables.h:37:58: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 37 | SetSecureVariable(const CHAR16 * const var, UINT8 *Data, UINTN len, EFI_GUID owner, UINT32 options, int createtimebased); | ^~~~~ include/variables.h:37:85: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 37 | SetSecureVariable(const CHAR16 * const var, UINT8 *Data, UINTN len, EFI_GUID owner, UINT32 options, int createtimebased); | ^~~~~~ | UINT32_C include/variables.h:39:20: error: unknown type name ‘CHAR16’ 39 | get_variable(const CHAR16 * const var, UINT8 **data, UINTN *len, EFI_GUID owner); | ^~~~~~ include/variables.h:39:40: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 39 | get_variable(const CHAR16 * const var, UINT8 **data, UINTN *len, EFI_GUID owner); | ^~~~~ | UINT8_C include/variables.h:39:54: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 39 | get_variable(const CHAR16 * const var, UINT8 **data, UINTN *len, EFI_GUID owner); | ^~~~~ include/variables.h:41:25: error: unknown type name ‘CHAR16’ 41 | get_variable_attr(const CHAR16 * const var, UINT8 **data, UINTN *len, EFI_GUID owner, UINT32 *attributes); | ^~~~~~ include/variables.h:41:45: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 41 | get_variable_attr(const CHAR16 * const var, UINT8 **data, UINTN *len, EFI_GUID owner, UINT32 *attributes); | ^~~~~ | UINT8_C include/variables.h:41:59: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 41 | get_variable_attr(const CHAR16 * const var, UINT8 **data, UINTN *len, EFI_GUID owner, UINT32 *attributes); | ^~~~~ include/variables.h:41:87: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 41 | get_variable_attr(const CHAR16 * const var, UINT8 **data, UINTN *len, EFI_GUID owner, UINT32 *attributes); | ^~~~~~ | UINT32_C include/variables.h:43:25: error: unknown type name ‘CHAR16’ 43 | get_variable_size(const CHAR16 * const var, EFI_GUID owner, UINTN *lenp); | ^~~~~~ include/variables.h:43:61: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 43 | get_variable_size(const CHAR16 * const var, EFI_GUID owner, UINTN *lenp); | ^~~~~ include/variables.h:45:14: error: unknown type name ‘CHAR16’ 45 | set_variable(CHAR16 *var, EFI_GUID owner, UINT32 attributes, UINTN datasize, void *data); | ^~~~~~ include/variables.h:45:43: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 45 | set_variable(CHAR16 *var, EFI_GUID owner, UINT32 attributes, UINTN datasize, void *data); | ^~~~~~ | UINT32_C include/variables.h:45:62: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 45 | set_variable(CHAR16 *var, EFI_GUID owner, UINT32 attributes, UINTN datasize, void *data); | ^~~~~ include/variables.h:47:14: error: unknown type name ‘CHAR16’ 47 | del_variable(CHAR16 *var, EFI_GUID owner); | ^~~~~~ include/variables.h:49:13: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 49 | find_in_esl(UINT8 *Data, UINTN DataSize, UINT8 *key, UINTN keylen); | ^~~~~ | UINT8_C include/variables.h:49:26: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 49 | find_in_esl(UINT8 *Data, UINTN DataSize, UINT8 *key, UINTN keylen); | ^~~~~ include/variables.h:49:42: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 49 | find_in_esl(UINT8 *Data, UINTN DataSize, UINT8 *key, UINTN keylen); | ^~~~~ | UINT8_C include/variables.h:49:54: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 49 | find_in_esl(UINT8 *Data, UINTN DataSize, UINT8 *key, UINTN keylen); | ^~~~~ include/variables.h:51:28: error: unknown type name ‘CHAR16’ 51 | find_in_variable_esl(const CHAR16 * const var, EFI_GUID owner, UINT8 *key, UINTN keylen); | ^~~~~~ include/variables.h:51:64: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 51 | find_in_variable_esl(const CHAR16 * const var, EFI_GUID owner, UINT8 *key, UINTN keylen); | ^~~~~ | UINT8_C include/variables.h:51:76: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 51 | find_in_variable_esl(const CHAR16 * const var, EFI_GUID owner, UINT8 *key, UINTN keylen); | ^~~~~ include/variables.h:55:1: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 55 | UINT64 | ^~~~~~ | UINT64_C include/variables.h:58:27: error: unknown type name ‘UINT64’; did you mean ‘UINT64_C’? 58 | SETOSIndicationsAndReboot(UINT64 indications); | ^~~~~~ | UINT64_C include/variables.h:64:28: error: unknown type name ‘CHAR16’ 64 | variable_enroll_hash(const CHAR16 * const var, EFI_GUID owner, | ^~~~~~ include/variables.h:65:22: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 65 | UINT8 hash[SHA256_DIGEST_SIZE]); | ^~~~~ | UINT8_C include/variables.h:68:49: error: unknown type name ‘UINT32’ 68 | const EFI_GUID *type, const UINT32 sig_size, | ^~~~~~ include/variables.h:76:38: error: unknown type name ‘UINT32’ 76 | const EFI_GUID *type, const UINT32 sig_size, | ^~~~~~ In file included from shim.h:190, from shim.c:14: include/hexdump.h:83:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘vhexdumpf’ 83 | vhexdumpf(const char *file, int line, const char *func, const CHAR16 *const fmt, | ^~~~~~~~~ include/hexdump.h:123:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘hexdumpf’ 123 | hexdumpf(const char *file, int line, const char *func, const CHAR16 *const fmt, | ^~~~~~~~ include/hexdump.h: In function ‘hexdump’: include/hexdump.h:136:9: warning: implicit declaration of function ‘hexdumpf’; did you mean ‘hexdump’? [-Wimplicit-function-declaration] 136 | hexdumpf(file, line, func, L"", data, size, (intptr_t)data); | ^~~~~~~~ | hexdump In file included from shim.h:192, from shim.c:14: version.h: At top level: version.h:6:8: error: unknown type name ‘CHAR8’ 6 | extern CHAR8 shim_version[]; | ^~~~~ In file included from Cryptlib/Include/OpenSslSupport.h:45, from shim.h:195, from shim.c:14: /build/shim/src/shim/Cryptlib/Library/BaseLib.h:20:1: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 20 | UINT32 WriteUnaligned32 (UINT32 *Buffer, UINT32 Value); | ^~~~~~ | UINT32_C /build/shim/src/shim/Cryptlib/Library/BaseLib.h:20:26: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 20 | UINT32 WriteUnaligned32 (UINT32 *Buffer, UINT32 Value); | ^~~~~~ | UINT32_C /build/shim/src/shim/Cryptlib/Library/BaseLib.h:20:42: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 20 | UINT32 WriteUnaligned32 (UINT32 *Buffer, UINT32 Value); | ^~~~~~ | UINT32_C /build/shim/src/shim/Cryptlib/Library/BaseLib.h:21:1: error: unknown type name ‘UINTN’ 21 | UINTN AsciiStrSize (const CHAR8 *string); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:21:27: error: unknown type name ‘CHAR8’ 21 | UINTN AsciiStrSize (const CHAR8 *string); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:22:1: error: unknown type name ‘CHAR8’ 22 | CHAR8 *AsciiStrnCpy(CHAR8 *Destination, const CHAR8 *Source, UINTN count); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:22:21: error: unknown type name ‘CHAR8’ 22 | CHAR8 *AsciiStrnCpy(CHAR8 *Destination, const CHAR8 *Source, UINTN count); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:22:47: error: unknown type name ‘CHAR8’ 22 | CHAR8 *AsciiStrnCpy(CHAR8 *Destination, const CHAR8 *Source, UINTN count); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:22:62: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 22 | CHAR8 *AsciiStrnCpy(CHAR8 *Destination, const CHAR8 *Source, UINTN count); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:23:1: error: unknown type name ‘CHAR8’ 23 | CHAR8 *AsciiStrCat(CHAR8 *Destination, const CHAR8 *Source); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:23:20: error: unknown type name ‘CHAR8’ 23 | CHAR8 *AsciiStrCat(CHAR8 *Destination, const CHAR8 *Source); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:23:46: error: unknown type name ‘CHAR8’ 23 | CHAR8 *AsciiStrCat(CHAR8 *Destination, const CHAR8 *Source); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:24:1: error: unknown type name ‘CHAR8’ 24 | CHAR8 *AsciiStrCpy(CHAR8 *Destination, const CHAR8 *Source); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:24:20: error: unknown type name ‘CHAR8’ 24 | CHAR8 *AsciiStrCpy(CHAR8 *Destination, const CHAR8 *Source); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:24:46: error: unknown type name ‘CHAR8’ 24 | CHAR8 *AsciiStrCpy(CHAR8 *Destination, const CHAR8 *Source); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:25:1: error: unknown type name ‘UINTN’ 25 | UINTN AsciiStrDecimalToUintn(const CHAR8 *String); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseLib.h:25:36: error: unknown type name ‘CHAR8’ 25 | UINTN AsciiStrDecimalToUintn(const CHAR8 *String); | ^~~~~ In file included from Cryptlib/Include/OpenSslSupport.h:46, from shim.h:195, from shim.c:14: /build/shim/src/shim/Cryptlib/Library/BaseMemoryLib.h:1:1: error: unknown type name ‘CHAR8’ 1 | CHAR8 *ScanMem8(CHAR8 *str, UINTN count, CHAR8 ch); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseMemoryLib.h:1:17: error: unknown type name ‘CHAR8’ 1 | CHAR8 *ScanMem8(CHAR8 *str, UINTN count, CHAR8 ch); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseMemoryLib.h:1:29: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 1 | CHAR8 *ScanMem8(CHAR8 *str, UINTN count, CHAR8 ch); | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseMemoryLib.h:1:42: error: unknown type name ‘CHAR8’ 1 | CHAR8 *ScanMem8(CHAR8 *str, UINTN count, CHAR8 ch); | ^~~~~ In file included from shim.h:195, from shim.c:14: Cryptlib/Include/OpenSslSupport.h:74:2: error: #error Unknown target architecture 74 | #error Unknown target architecture | ^~~~~ Cryptlib/Include/OpenSslSupport.h:81:9: error: unknown type name ‘VOID’ 81 | typedef VOID *FILE; | ^~~~ Cryptlib/Include/OpenSslSupport.h:121:14: error: expected ‘;’ before ‘size_t’ 121 | typedef UINTN size_t; | ^ ~~~~~~ | ; Cryptlib/Include/OpenSslSupport.h:121:1: warning: useless type name in empty declaration 121 | typedef UINTN size_t; | ^~~~~~~ Cryptlib/Include/OpenSslSupport.h:122:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ssize_t’ 122 | typedef INTN ssize_t; | ^~~~~~~ Cryptlib/Include/OpenSslSupport.h:123:9: error: unknown type name ‘INT64’ 123 | typedef INT64 off_t; | ^~~~~ Cryptlib/Include/OpenSslSupport.h:124:9: error: unknown type name ‘UINT16’ 124 | typedef UINT16 mode_t; | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:127:9: error: unknown type name ‘UINT32’ 127 | typedef UINT32 uid_t; | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:128:9: error: unknown type name ‘UINT32’ 128 | typedef UINT32 gid_t; | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:129:9: error: unknown type name ‘UINT32’ 129 | typedef UINT32 ino_t; | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:130:9: error: unknown type name ‘UINT32’ 130 | typedef UINT32 dev_t; | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:131:9: error: unknown type name ‘UINT16’ 131 | typedef UINT16 nlink_t; | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:159:3: error: unknown type name ‘UINT32’ 159 | UINT32 d_fileno; /* file number of entry */ | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:160:3: error: unknown type name ‘UINT16’ 160 | UINT16 d_reclen; /* length of this record */ | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:161:3: error: unknown type name ‘UINT8’ 161 | UINT8 d_type; /* file type, see below */ | ^~~~~ Cryptlib/Include/OpenSslSupport.h:162:3: error: unknown type name ‘UINT8’ 162 | UINT8 d_namlen; /* length of string in d_name */ | ^~~~~ Cryptlib/Include/OpenSslSupport.h:181:3: error: unknown type name ‘INT64’ 181 | INT64 st_blocks; /* blocks allocated for file */ | ^~~~~ Cryptlib/Include/OpenSslSupport.h:182:3: error: unknown type name ‘UINT32’ 182 | UINT32 st_blksize; /* optimal blocksize for I/O */ | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:183:3: error: unknown type name ‘UINT32’ 183 | UINT32 st_flags; /* user defined flags for file */ | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:184:3: error: unknown type name ‘UINT32’ 184 | UINT32 st_gen; /* file generation number */ | ^~~~~~ Cryptlib/Include/OpenSslSupport.h:185:3: error: unknown type name ‘INT32’ 185 | INT32 st_lspare; | ^~~~~ Cryptlib/Include/OpenSslSupport.h:186:3: error: unknown type name ‘INT64’ 186 | INT64 st_qspare[2]; | ^~~~~ Cryptlib/Include/OpenSslSupport.h:221:1: error: unknown type name ‘ssize_t’; did you mean ‘size_t’? 221 | ssize_t read (int, void *, size_t); | ^~~~~~~ | size_t Cryptlib/Include/OpenSslSupport.h:222:1: error: unknown type name ‘ssize_t’; did you mean ‘size_t’? 222 | ssize_t write (int, const void *, size_t); | ^~~~~~~ | size_t Cryptlib/Include/OpenSslSupport.h:230:51: error: unknown type name ‘ms_va_list’ 230 | int vfprintf (FILE *, const char *, ms_va_list); | ^~~~~~~~~~ In file included from shim.c:14: shim.h:198:1: warning: data definition has no type or storage class 198 | INTERFACE_DECL(_SHIM_LOCK); | ^~~~~~~~~~~~~~ shim.h:198:1: warning: type defaults to ‘int’ in declaration of ‘INTERFACE_DECL’ [-Wimplicit-int] shim.h:198:1: warning: parameter names (without types) in function declaration shim.h:203:12: error: unknown type name ‘VOID’ 203 | IN VOID *buffer, | ^~~~ shim.h:204:12: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 204 | IN UINT32 size | ^~~~~~ | UINT32_C shim.h:213:9: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 213 | UINT8 *sha256hash, | ^~~~~ | UINT8_C shim.h:214:9: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 214 | UINT8 *sha1hash | ^~~~~ | UINT8_C shim.h:220:12: error: unknown type name ‘VOID’ 220 | IN VOID *data, | ^~~~ shim.h:226:9: error: unknown type name ‘EFI_SHIM_LOCK_VERIFY’ 226 | EFI_SHIM_LOCK_VERIFY Verify; | ^~~~~~~~~~~~~~~~~~~~ shim.h:227:9: error: unknown type name ‘EFI_SHIM_LOCK_HASH’ 227 | EFI_SHIM_LOCK_HASH Hash; | ^~~~~~~~~~~~~~~~~~ shim.h:228:9: error: unknown type name ‘EFI_SHIM_LOCK_CONTEXT’ 228 | EFI_SHIM_LOCK_CONTEXT Context; | ^~~~~~~~~~~~~~~~~~~~~ shim.h:233:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘LogError_’ 233 | extern EFI_STATUS EFIAPI LogError_(const char *file, int line, const char *func, | ^~~~~~~~~ shim.h:235:26: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘VLogError’ 235 | extern EFI_STATUS EFIAPI VLogError(const char *file, int line, const char *func, | ^~~~~~~~~ shim.h:237:8: error: unknown type name ‘VOID’ 237 | extern VOID LogHexdump_(const char *file, int line, const char *func, | ^~~~ shim.h:239:8: error: unknown type name ‘VOID’ 239 | extern VOID PrintErrors(VOID); | ^~~~ shim.h:239:1: warning: parameter names (without types) in function declaration 239 | extern VOID PrintErrors(VOID); | ^~~~~~ shim.h:240:8: error: unknown type name ‘VOID’ 240 | extern VOID ClearErrors(VOID); | ^~~~ shim.h:240:1: warning: parameter names (without types) in function declaration 240 | extern VOID ClearErrors(VOID); | ^~~~~~ shim.h:241:8: error: unknown type name ‘VOID’ 241 | extern VOID restore_loaded_image(VOID); | ^~~~ shim.h:241:1: warning: parameter names (without types) in function declaration 241 | extern VOID restore_loaded_image(VOID); | ^~~~~~ shim.h:242:56: error: unknown type name ‘CHAR16’ 242 | extern EFI_STATUS start_image(EFI_HANDLE image_handle, CHAR16 *ImagePath); | ^~~~~~ shim.h:245:8: error: unknown type name ‘UINT32’ 245 | extern UINT32 vendor_authorized_size; | ^~~~~~ shim.h:246:8: error: unknown type name ‘UINT8’ 246 | extern UINT8 *vendor_authorized; | ^~~~~ shim.h:248:8: error: unknown type name ‘UINT32’ 248 | extern UINT32 vendor_deauthorized_size; | ^~~~~~ shim.h:249:8: error: unknown type name ‘UINT8’ 249 | extern UINT8 *vendor_deauthorized; | ^~~~~ shim.h:256:8: error: unknown type name ‘UINT8’ 256 | extern UINT8 user_insecure_mode; | ^~~~~ shim.h:257:8: error: unknown type name ‘UINT8’ 257 | extern UINT8 ignore_db; | ^~~~~ shim.h:258:8: error: unknown type name ‘UINT8’ 258 | extern UINT8 trust_mok_list; | ^~~~~ shim.h:259:8: error: unknown type name ‘UINT8’ 259 | extern UINT8 in_protocol; | ^~~~~ shim.h:261:8: error: unknown type name ‘UINT32’ 261 | extern UINT32 load_options_size; | ^~~~~~ shim.h:268:16: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 268 | UINT8 *sha256hash, UINT8 *sha1hash); | ^~~~~ | UINT8_C shim.h:268:35: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 268 | UINT8 *sha256hash, UINT8 *sha1hash); | ^~~~~ | UINT8_C In file included from /build/shim/src/shim/Cryptlib/Include/openssl/err.h:124, from shim.c:19: /build/shim/src/shim/Cryptlib/Include/openssl/bio.h:795:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BIO_printf’ 795 | int EFIAPI BIO_printf(BIO *bio, const char *format, ...) | ^~~~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bio.h:797:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BIO_vprintf’ 797 | int EFIAPI BIO_vprintf(BIO *bio, const char *format, ms_va_list args) | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bio.h:799:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BIO_snprintf’ 799 | int EFIAPI BIO_snprintf(char *buf, size_t n, const char *format, ...) | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bio.h:801:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BIO_vsnprintf’ 801 | int EFIAPI BIO_vsnprintf(char *buf, size_t n, const char *format, ms_va_list args) | ^~~~~~~~~~~~~ In file included from shim.c:19: /build/shim/src/shim/Cryptlib/Include/openssl/err.h:347:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ERR_add_error_data’ 347 | void EFIAPI ERR_add_error_data(int num, ...); | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/err.h:348:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ERR_add_error_vdata’ 348 | void EFIAPI ERR_add_error_vdata(int num, ms_va_list args); | ^~~~~~~~~~~~~~~~~~~ In file included from shim.c:20: /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:314:5: error: unknown type name ‘BN_ULONG’ 314 | BN_ULONG *d; /* Pointer to an array of 'BN_BITS2' bit | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:330:5: error: unknown type name ‘BN_ULONG’ 330 | BN_ULONG n0[2]; /* least significant word(s) of Ni; (type | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:436:1: warning: parameter names (without types) in function declaration 436 | int BN_num_bits_word(BN_ULONG); | ^~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:484:1: error: unknown type name ‘BN_ULONG’ 484 | BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:484:39: error: unknown type name ‘BN_ULONG’ 484 | BN_ULONG BN_mod_word(const BIGNUM *a, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:485:1: error: unknown type name ‘BN_ULONG’ 485 | BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:485:33: error: unknown type name ‘BN_ULONG’ 485 | BN_ULONG BN_div_word(BIGNUM *a, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:486:28: error: unknown type name ‘BN_ULONG’ 486 | int BN_mul_word(BIGNUM *a, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:487:28: error: unknown type name ‘BN_ULONG’ 487 | int BN_add_word(BIGNUM *a, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:488:28: error: unknown type name ‘BN_ULONG’ 488 | int BN_sub_word(BIGNUM *a, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:489:28: error: unknown type name ‘BN_ULONG’ 489 | int BN_set_word(BIGNUM *a, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:490:1: error: unknown type name ‘BN_ULONG’ 490 | BN_ULONG BN_get_word(const BIGNUM *a); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:506:37: error: unknown type name ‘BN_ULONG’ 506 | int BN_mod_exp_mont_word(BIGNUM *r, BN_ULONG a, const BIGNUM *p, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:545:24: error: unknown type name ‘BN_ULONG’ 545 | void BN_consttime_swap(BN_ULONG swap, BIGNUM *a, BIGNUM *b, int nwords); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:850:1: error: unknown type name ‘BN_ULONG’ 850 | BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:850:27: error: unknown type name ‘BN_ULONG’ 850 | BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:850:47: error: unknown type name ‘BN_ULONG’ 850 | BN_ULONG bn_mul_add_words(BN_ULONG *rp, const BN_ULONG *ap, int num, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:851:27: error: unknown type name ‘BN_ULONG’ 851 | BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:852:1: error: unknown type name ‘BN_ULONG’ 852 | BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:852:23: error: unknown type name ‘BN_ULONG’ 852 | BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:852:43: error: unknown type name ‘BN_ULONG’ 852 | BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:852:66: error: unknown type name ‘BN_ULONG’ 852 | BN_ULONG bn_mul_words(BN_ULONG *rp, const BN_ULONG *ap, int num, BN_ULONG w); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:853:19: error: unknown type name ‘BN_ULONG’ 853 | void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:853:39: error: unknown type name ‘BN_ULONG’ 853 | void bn_sqr_words(BN_ULONG *rp, const BN_ULONG *ap, int num); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:854:1: error: unknown type name ‘BN_ULONG’ 854 | BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:854:23: error: unknown type name ‘BN_ULONG’ 854 | BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:854:35: error: unknown type name ‘BN_ULONG’ 854 | BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:854:47: error: unknown type name ‘BN_ULONG’ 854 | BN_ULONG bn_div_words(BN_ULONG h, BN_ULONG l, BN_ULONG d); | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:855:1: error: unknown type name ‘BN_ULONG’ 855 | BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:855:23: error: unknown type name ‘BN_ULONG’ 855 | BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:855:43: error: unknown type name ‘BN_ULONG’ 855 | BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:855:63: error: unknown type name ‘BN_ULONG’ 855 | BN_ULONG bn_add_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:857:1: error: unknown type name ‘BN_ULONG’ 857 | BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:857:23: error: unknown type name ‘BN_ULONG’ 857 | BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:857:43: error: unknown type name ‘BN_ULONG’ 857 | BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Include/openssl/bn.h:857:63: error: unknown type name ‘BN_ULONG’ 857 | BN_ULONG bn_sub_words(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, | ^~~~~~~~ In file included from shim.c:32: /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:92:1: error: unknown type name ‘UINTN’ 92 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:94:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md4GetContextSize’ 94 | Md4GetContextSize ( | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:114:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md4Init’ 114 | Md4Init ( | ^~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:135:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md4Duplicate’ 135 | Md4Duplicate ( | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:162:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md4Update’ 162 | Md4Update ( | ^~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:192:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md4Final’ 192 | Md4Final ( | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:217:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md4HashAll’ 217 | Md4HashAll ( | ^~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:232:1: error: unknown type name ‘UINTN’ 232 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:234:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md5GetContextSize’ 234 | Md5GetContextSize ( | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:254:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md5Init’ 254 | Md5Init ( | ^~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:275:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md5Duplicate’ 275 | Md5Duplicate ( | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:302:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md5Update’ 302 | Md5Update ( | ^~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:332:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md5Final’ 332 | Md5Final ( | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:357:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Md5HashAll’ 357 | Md5HashAll ( | ^~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:372:1: error: unknown type name ‘UINTN’ 372 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:374:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha1GetContextSize’ 374 | Sha1GetContextSize ( | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:394:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha1Init’ 394 | Sha1Init ( | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:415:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha1Duplicate’ 415 | Sha1Duplicate ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:442:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha1Update’ 442 | Sha1Update ( | ^~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:472:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha1Final’ 472 | Sha1Final ( | ^~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:497:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha1HashAll’ 497 | Sha1HashAll ( | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:509:1: error: unknown type name ‘UINTN’ 509 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:511:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha256GetContextSize’ 511 | Sha256GetContextSize ( | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:529:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha256Init’ 529 | Sha256Init ( | ^~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:550:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha256Duplicate’ 550 | Sha256Duplicate ( | ^~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:575:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha256Update’ 575 | Sha256Update ( | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:603:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha256Final’ 603 | Sha256Final ( | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:628:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha256HashAll’ 628 | Sha256HashAll ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:640:1: error: unknown type name ‘UINTN’ 640 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:642:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha384GetContextSize’ 642 | Sha384GetContextSize ( | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:660:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha384Init’ 660 | Sha384Init ( | ^~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:681:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha384Duplicate’ 681 | Sha384Duplicate ( | ^~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:706:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha384Update’ 706 | Sha384Update ( | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:734:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha384Final’ 734 | Sha384Final ( | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:759:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha384HashAll’ 759 | Sha384HashAll ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:771:1: error: unknown type name ‘UINTN’ 771 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:773:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha512GetContextSize’ 773 | Sha512GetContextSize ( | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:791:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha512Init’ 791 | Sha512Init ( | ^~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:812:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha512Duplicate’ 812 | Sha512Duplicate ( | ^~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:837:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha512Update’ 837 | Sha512Update ( | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:865:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha512Final’ 865 | Sha512Final ( | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:890:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Sha512HashAll’ 890 | Sha512HashAll ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:909:1: error: unknown type name ‘UINTN’ 909 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:911:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacMd5GetContextSize’ 911 | HmacMd5GetContextSize ( | ^~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:933:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacMd5Init’ 933 | HmacMd5Init ( | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:956:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacMd5Duplicate’ 956 | HmacMd5Duplicate ( | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:983:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacMd5Update’ 983 | HmacMd5Update ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1013:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacMd5Final’ 1013 | HmacMd5Final ( | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1027:1: error: unknown type name ‘UINTN’ 1027 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1029:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha1GetContextSize’ 1029 | HmacSha1GetContextSize ( | ^~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1051:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha1Init’ 1051 | HmacSha1Init ( | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1074:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha1Duplicate’ 1074 | HmacSha1Duplicate ( | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1101:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha1Update’ 1101 | HmacSha1Update ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1131:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha1Final’ 1131 | HmacSha1Final ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1145:1: error: unknown type name ‘UINTN’ 1145 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1147:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha256GetContextSize’ 1147 | HmacSha256GetContextSize ( | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1169:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha256Init’ 1169 | HmacSha256Init ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1192:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha256Duplicate’ 1192 | HmacSha256Duplicate ( | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1219:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha256Update’ 1219 | HmacSha256Update ( | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1249:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘HmacSha256Final’ 1249 | HmacSha256Final ( | ^~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1267:1: error: unknown type name ‘UINTN’ 1267 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1269:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TdesGetContextSize’ 1269 | TdesGetContextSize ( | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1300:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TdesInit’ 1300 | TdesInit ( | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1334:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TdesEcbEncrypt’ 1334 | TdesEcbEncrypt ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1369:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TdesEcbDecrypt’ 1369 | TdesEcbDecrypt ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1407:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TdesCbcEncrypt’ 1407 | TdesCbcEncrypt ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1446:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘TdesCbcDecrypt’ 1446 | TdesCbcDecrypt ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1463:1: error: unknown type name ‘UINTN’ 1463 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1465:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AesGetContextSize’ 1465 | AesGetContextSize ( | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1493:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AesInit’ 1493 | AesInit ( | ^~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1527:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AesEcbEncrypt’ 1527 | AesEcbEncrypt ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1562:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AesEcbDecrypt’ 1562 | AesEcbDecrypt ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1600:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AesCbcEncrypt’ 1600 | AesCbcEncrypt ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1639:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AesCbcDecrypt’ 1639 | AesCbcDecrypt ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1656:1: error: unknown type name ‘UINTN’ 1656 | UINTN | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1658:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Arc4GetContextSize’ 1658 | Arc4GetContextSize ( | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1685:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Arc4Init’ 1685 | Arc4Init ( | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1716:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Arc4Encrypt’ 1716 | Arc4Encrypt ( | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1748:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Arc4Decrypt’ 1748 | Arc4Decrypt ( | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1775:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Arc4Reset’ 1775 | Arc4Reset ( | ^~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1790:1: error: unknown type name ‘VOID’ 1790 | VOID * | ^~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1792:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaNew’ 1792 | RsaNew ( | ^~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1804:1: error: unknown type name ‘VOID’ 1804 | VOID | ^~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1806:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaFree’ 1806 | RsaFree ( | ^~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1834:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaSetKey’ 1834 | RsaSetKey ( | ^~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1871:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaGetKey’ 1871 | RsaGetKey ( | ^~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1903:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaGenerateKey’ 1903 | RsaGenerateKey ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1933:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaCheckKey’ 1933 | RsaCheckKey ( | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1966:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaPkcs1Sign’ 1966 | RsaPkcs1Sign ( | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:1995:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaPkcs1Verify’ 1995 | RsaPkcs1Verify ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2024:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaGetPrivateKeyFromPem’ 2024 | RsaGetPrivateKeyFromPem ( | ^~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2051:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RsaGetPublicKeyFromX509’ 2051 | RsaGetPublicKeyFromX509 ( | ^~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2078:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X509GetSubjectName’ 2078 | X509GetSubjectName ( | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2105:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X509VerifyCert’ 2105 | X509VerifyCert ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2130:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X509ConstructCertificate’ 2130 | X509ConstructCertificate ( | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2156:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X509ConstructCertificateStack’ 2156 | X509ConstructCertificateStack ( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2169:1: error: unknown type name ‘VOID’ 2169 | VOID | ^~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2171:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X509Free’ 2171 | X509Free ( | ^~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2183:1: error: unknown type name ‘VOID’ 2183 | VOID | ^~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2185:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X509StackFree’ 2185 | X509StackFree ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2208:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘X509GetTBSCert’ 2208 | X509GetTBSCert ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2244:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Pkcs5HashPassword’ 2244 | Pkcs5HashPassword ( | ^~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2280:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Pkcs7GetSigners’ 2280 | Pkcs7GetSigners ( | ^~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2297:1: error: unknown type name ‘VOID’ 2297 | VOID | ^~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2299:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Pkcs7FreeSigners’ 2299 | Pkcs7FreeSigners ( | ^~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2324:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Pkcs7GetCertificatesList’ 2324 | Pkcs7GetCertificatesList ( | ^~~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2361:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Pkcs7Sign’ 2361 | Pkcs7Sign ( | ^~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2397:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Pkcs7Verify’ 2397 | Pkcs7Verify ( | ^~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2428:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘Pkcs7GetAttachedContent’ 2428 | Pkcs7GetAttachedContent ( | ^~~~~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2461:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘AuthenticodeVerify’ 2461 | AuthenticodeVerify ( | ^~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2492:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ImageTimestampVerify’ 2492 | ImageTimestampVerify ( | ^~~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2512:1: error: unknown type name ‘VOID’ 2512 | VOID * | ^~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2514:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DhNew’ 2514 | DhNew ( | ^~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2526:1: error: unknown type name ‘VOID’ 2526 | VOID | ^~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2528:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DhFree’ 2528 | DhFree ( | ^~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2558:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DhGenerateParameter’ 2558 | DhGenerateParameter ( | ^~~~~~~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2590:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DhSetParameter’ 2590 | DhSetParameter ( | ^~~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2623:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DhGenerateKey’ 2623 | DhGenerateKey ( | ^~~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2657:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘DhComputeKey’ 2657 | DhComputeKey ( | ^~~~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2689:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RandomSeed’ 2689 | RandomSeed ( | ^~~~~~~~~~ /build/shim/src/shim/Cryptlib/Library/BaseCryptLib.h:2710:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘RandomBytes’ 2710 | RandomBytes ( | ^~~~~~~~~~~ shim.c:49:9: error: unknown type name ‘UINT32’ 49 | UINT32 vendor_authorized_size; | ^~~~~~ shim.c:50:9: error: unknown type name ‘UINT32’ 50 | UINT32 vendor_deauthorized_size; | ^~~~~~ shim.c:51:9: error: unknown type name ‘UINT32’ 51 | UINT32 vendor_authorized_offset; | ^~~~~~ shim.c:52:9: error: unknown type name ‘UINT32’ 52 | UINT32 vendor_deauthorized_offset; | ^~~~~~ shim.c:64:9: error: unknown type name ‘UINT32’ 64 | UINT32 MokSize; | ^~~~~~ shim.c:65:9: error: unknown type name ‘UINT8’ 65 | UINT8 *Mok; | ^~~~~ shim.c:76:28: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 76 | static BOOLEAN verify_x509(UINT8 *Cert, UINTN CertSize) | ^~~~~ | UINT8_C shim.c:76:41: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 76 | static BOOLEAN verify_x509(UINT8 *Cert, UINTN CertSize) | ^~~~~ shim.c:106:27: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 106 | static BOOLEAN verify_eku(UINT8 *Cert, UINTN CertSize) | ^~~~~ | UINT8_C shim.c:106:40: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 106 | static BOOLEAN verify_eku(UINT8 *Cert, UINTN CertSize) | ^~~~~ shim.c:141:42: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 141 | UINTN dbsize, | ^~~~~ shim.c:143:42: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 143 | UINT8 *hash, CHAR16 *dbname, | ^~~~~ | UINT8_C shim.c:143:55: error: unknown type name ‘CHAR16’ 143 | UINT8 *hash, CHAR16 *dbname, | ^~~~~~ shim.c:187:35: error: unknown type name ‘CHAR16’ 187 | static CHECK_STATUS check_db_cert(CHAR16 *dbname, EFI_GUID guid, | ^~~~~~ shim.c:188:67: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 188 | WIN_CERTIFICATE_EFI_PKCS *data, UINT8 *hash) | ^~~~~ | UINT8_C shim.c:213:42: error: expected declaration specifiers or ‘...’ before ‘UINTN’ 213 | UINTN dbsize, UINT8 *data, | ^~~~~ shim.c:213:56: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 213 | UINTN dbsize, UINT8 *data, | ^~~~~ | UINT8_C shim.c:215:42: error: unknown type name ‘CHAR16’ 215 | CHAR16 *dbname, EFI_GUID guid) | ^~~~~~ shim.c:255:35: error: unknown type name ‘CHAR16’ 255 | static CHECK_STATUS check_db_hash(CHAR16 *dbname, EFI_GUID guid, UINT8 *data, | ^~~~~~ shim.c:255:66: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 255 | static CHECK_STATUS check_db_hash(CHAR16 *dbname, EFI_GUID guid, UINT8 *data, | ^~~~~ | UINT8_C shim.c:283:35: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 283 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c:283:54: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 283 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c:347:36: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 347 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c:347:55: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 347 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c: In function ‘secure_mode’: shim.c:433:25: error: unknown type name ‘CHAR16’ 433 | CHAR16 *title = L"Secure boot not enabled"; | ^~~~~~ shim.c:433:41: warning: initialization of ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 433 | CHAR16 *title = L"Secure boot not enabled"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ shim.c:434:25: error: unknown type name ‘CHAR16’ 434 | CHAR16 *message = L"Press any key to continue"; | ^~~~~~ shim.c:434:43: warning: initialization of ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 434 | CHAR16 *message = L"Press any key to continue"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ shim.c:435:25: warning: implicit declaration of function ‘console_countdown’ [-Wimplicit-function-declaration] 435 | console_countdown(title, message, 5); | ^~~~~~~~~~~~~~~~~ shim.c:449:25: error: unknown type name ‘CHAR16’ 449 | CHAR16 *title = L"Platform is in setup mode"; | ^~~~~~ shim.c:449:41: warning: initialization of ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 449 | CHAR16 *title = L"Platform is in setup mode"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ shim.c:450:25: error: unknown type name ‘CHAR16’ 450 | CHAR16 *message = L"Press any key to continue"; | ^~~~~~ shim.c:450:43: warning: initialization of ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 450 | CHAR16 *message = L"Press any key to continue"; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ shim.c: At top level: shim.c:463:22: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 463 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c:463:41: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 463 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c:564:16: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 564 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c:564:35: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 564 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c: In function ‘is_removable_media_path’: shim.c:702:9: error: unknown type name ‘CHAR16’ 702 | CHAR16 *bootpath = NULL; | ^~~~~~ shim.c:712:13: warning: implicit declaration of function ‘StrnCaseCmp’; did you mean ‘strncasecmp’? [-Wimplicit-function-declaration] 712 | if (StrnCaseCmp(bootpath, L"\\EFI\\BOOT\\BOOT", 14) && | ^~~~~~~~~~~ | strncasecmp shim.c:719:28: warning: implicit declaration of function ‘StrCaseCmp’; did you mean ‘strcasecmp’? [-Wimplicit-function-declaration] 719 | if (pathlen < 5 || StrCaseCmp(bootpath + pathlen - 4, L".EFI")) | ^~~~~~~~~~ | strcasecmp shim.c:726:17: warning: implicit declaration of function ‘FreePool’ [-Wimplicit-function-declaration] 726 | FreePool(bootpath); | ^~~~~~~~ shim.c: In function ‘should_use_fallback’: shim.c:741:22: error: called object is not a function or function pointer 741 | efi_status = BS->HandleProtocol(image_handle, &EFI_LOADED_IMAGE_GUID, | ^~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:743:23: error: expected ‘)’ before ‘efi_status’ 743 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:743:13: note: in expansion of macro ‘EFI_ERROR’ 743 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:744:17: note: in expansion of macro ‘perror’ 744 | perror(L"Could not get image for boot" EFI_ARCH L".efi: %r\n", | ^~~~~~ shim.h:274:25: error: ‘__perror_ret’ undeclared (first use in this function) 274 | __perror_ret = console_print((fmt), ##__VA_ARGS__); \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:744:17: note: in expansion of macro ‘perror’ 744 | perror(L"Could not get image for boot" EFI_ARCH L".efi: %r\n", | ^~~~~~ shim.h:274:25: note: each undeclared identifier is reported only once for each function it appears in 274 | __perror_ret = console_print((fmt), ##__VA_ARGS__); \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:744:17: note: in expansion of macro ‘perror’ 744 | perror(L"Could not get image for boot" EFI_ARCH L".efi: %r\n", | ^~~~~~ shim.h:274:40: warning: implicit declaration of function ‘console_print’; did you mean ‘console_fini’? [-Wimplicit-function-declaration] 274 | __perror_ret = console_print((fmt), ##__VA_ARGS__); \ | ^~~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:744:17: note: in expansion of macro ‘perror’ 744 | perror(L"Could not get image for boot" EFI_ARCH L".efi: %r\n", | ^~~~~~ shim.h:275:17: warning: implicit declaration of function ‘LogError_’; did you mean ‘LogError’? [-Wimplicit-function-declaration] 275 | LogError_(file, line, func, fmt, ##__VA_ARGS__); \ | ^~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:744:17: note: in expansion of macro ‘perror’ 744 | perror(L"Could not get image for boot" EFI_ARCH L".efi: %r\n", | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:744:17: note: in expansion of macro ‘perror’ 744 | perror(L"Could not get image for boot" EFI_ARCH L".efi: %r\n", | ^~~~~~ shim.c:752:22: error: called object is not a function or function pointer 752 | efi_status = BS->HandleProtocol(li->DeviceHandle, &FileSystemProtocol, | ^~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:754:23: error: expected ‘)’ before ‘efi_status’ 754 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:754:13: note: in expansion of macro ‘EFI_ERROR’ 754 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:755:17: note: in expansion of macro ‘perror’ 755 | perror(L"Could not get fio for li->DeviceHandle: %r\n", | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:755:17: note: in expansion of macro ‘perror’ 755 | perror(L"Could not get fio for li->DeviceHandle: %r\n", | ^~~~~~ shim.c:760:22: error: called object is not a function or function pointer 760 | efi_status = fio->OpenVolume(fio, &vh); | ^~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:761:23: error: expected ‘)’ before ‘efi_status’ 761 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:761:13: note: in expansion of macro ‘EFI_ERROR’ 761 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:762:17: note: in expansion of macro ‘perror’ 762 | perror(L"Could not open fio volume: %r\n", efi_status); | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:762:17: note: in expansion of macro ‘perror’ 762 | perror(L"Could not open fio volume: %r\n", efi_status); | ^~~~~~ shim.c:766:22: error: called object is not a function or function pointer 766 | efi_status = vh->Open(vh, &fh, L"\\EFI\\BOOT" FALLBACK, | ^~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:768:23: error: expected ‘)’ before ‘efi_status’ 768 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:768:13: note: in expansion of macro ‘EFI_ERROR’ 768 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ shim.c:781:17: error: called object is not a function or function pointer 781 | fh->Close(fh); | ^~ shim.c:783:17: error: called object is not a function or function pointer 783 | vh->Close(vh); | ^~ shim.c: At top level: shim.c:791:46: error: unknown type name ‘CHAR16’ 791 | int *datasize, CHAR16 *PathName) | ^~~~~~ shim.c:902:39: error: unknown type name ‘UINT32’; did you mean ‘UINT32_C’? 902 | EFI_STATUS shim_verify (void *buffer, UINT32 size) | ^~~~~~ | UINT32_C shim.c:949:30: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 949 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c:949:49: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 949 | UINT8 *sha256hash, UINT8 *sha1hash) | ^~~~~ | UINT8_C shim.c:976:1: error: unknown type name ‘VOID’ 976 | VOID | ^~~~ shim.c: In function ‘restore_loaded_image’: shim.c:977:1: warning: type of ‘VOID’ defaults to ‘int’ [-Wimplicit-int] 977 | restore_loaded_image(VOID) | ^~~~~~~~~~~~~~~~~~~~ shim.c:985:9: warning: implicit declaration of function ‘CopyMem’ [-Wimplicit-function-declaration] 985 | CopyMem(shim_li, &shim_li_bak, sizeof(shim_li_bak)); | ^~~~~~~ shim.c:977:1: warning: unused parameter ‘VOID’ [-Wunused-parameter] 977 | restore_loaded_image(VOID) | ^~~~~~~~~~~~~~~~~~~~ shim.c: At top level: shim.c:991:49: error: unknown type name ‘CHAR16’ 991 | EFI_STATUS start_image(EFI_HANDLE image_handle, CHAR16 *ImagePath) | ^~~~~~ shim.c: In function ‘init_grub’: shim.c:1125:22: warning: implicit declaration of function ‘start_image’ [-Wimplicit-function-declaration] 1125 | efi_status = start_image(image_handle, use_fb ? FALLBACK :second_stage); | ^~~~~~~~~~~ shim.c:1125:66: warning: pointer type mismatch in conditional expression 1125 | efi_status = start_image(image_handle, use_fb ? FALLBACK :second_stage); | ^ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: /build/shim/src/shim/gnu-efi/inc/efierr.h:54:41: warning: implicit declaration of function ‘EFIERR’ [-Wimplicit-function-declaration] 54 | #define EFI_SECURITY_VIOLATION EFIERR(26) | ^~~~~~ shim.c:1126:27: note: in expansion of macro ‘EFI_SECURITY_VIOLATION’ 1126 | if (efi_status == EFI_SECURITY_VIOLATION || | ^~~~~~~~~~~~~~~~~~~~~~ shim.c:1129:31: error: expected ‘)’ before ‘efi_status’ 1129 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1129:21: note: in expansion of macro ‘EFI_ERROR’ 1129 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ shim.c:1136:60: warning: pointer type mismatch in conditional expression 1136 | use_fb ? FALLBACK : second_stage); | ^ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1152:23: error: expected ‘)’ before ‘efi_status’ 1152 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1152:13: note: in expansion of macro ‘EFI_ERROR’ 1152 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ shim.c: In function ‘set_second_stage’: shim.c:1168:22: warning: assignment to ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 1168 | second_stage = DEFAULT_LOADER; | ^ shim.c:1172:22: error: called object is not a function or function pointer 1172 | efi_status = BS->HandleProtocol(image_handle, &LoadedImageProtocol, | ^~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1174:23: error: expected ‘)’ before ‘efi_status’ 1174 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1174:13: note: in expansion of macro ‘EFI_ERROR’ 1174 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1175:17: note: in expansion of macro ‘perror’ 1175 | perror (L"Failed to get load options: %r\n", efi_status); | ^~~~~~ shim.h:274:25: error: ‘__perror_ret’ undeclared (first use in this function) 274 | __perror_ret = console_print((fmt), ##__VA_ARGS__); \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1175:17: note: in expansion of macro ‘perror’ 1175 | perror (L"Failed to get load options: %r\n", efi_status); | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1175:17: note: in expansion of macro ‘perror’ 1175 | perror (L"Failed to get load options: %r\n", efi_status); | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1191:23: error: expected ‘)’ before ‘efi_status’ 1191 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1191:13: note: in expansion of macro ‘EFI_ERROR’ 1191 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1192:17: note: in expansion of macro ‘perror’ 1192 | perror (L"Failed to get load options: %r\n", efi_status); | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1192:17: note: in expansion of macro ‘perror’ 1192 | perror (L"Failed to get load options: %r\n", efi_status); | ^~~~~~ shim.c: In function ‘ossl_malloc’: shim.c:1202:16: warning: implicit declaration of function ‘AllocatePool’ [-Wimplicit-function-declaration] 1202 | return AllocatePool(num); | ^~~~~~~~~~~~ shim.c:1202:16: warning: returning ‘int’ from a function with return type ‘void *’ makes pointer from integer without a cast [-Wint-conversion] 1202 | return AllocatePool(num); | ^~~~~~~~~~~~~~~~~ shim.c: In function ‘install_shim_protocols’: shim.c:1265:22: warning: implicit declaration of function ‘LibLocateProtocol’; did you mean ‘BlockIoProtocol’? [-Wimplicit-function-declaration] 1265 | efi_status = LibLocateProtocol(&SHIM_LOCK_GUID, (VOID **)&shim_lock); | ^~~~~~~~~~~~~~~~~ | BlockIoProtocol shim.c:1265:58: error: ‘VOID’ undeclared (first use in this function) 1265 | efi_status = LibLocateProtocol(&SHIM_LOCK_GUID, (VOID **)&shim_lock); | ^~~~ shim.c:1265:65: error: expected expression before ‘)’ token 1265 | efi_status = LibLocateProtocol(&SHIM_LOCK_GUID, (VOID **)&shim_lock); | ^ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1266:24: error: expected ‘)’ before ‘efi_status’ 1266 | if (!EFI_ERROR(efi_status)) | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1266:14: note: in expansion of macro ‘EFI_ERROR’ 1266 | if (!EFI_ERROR(efi_status)) | ^~~~~~~~~ shim.c:1272:22: error: called object is not a function or function pointer 1272 | efi_status = BS->InstallProtocolInterface(&shim_lock_handle, | ^~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1276:23: error: expected ‘)’ before ‘efi_status’ 1276 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1276:13: note: in expansion of macro ‘EFI_ERROR’ 1276 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ shim.c:1277:17: warning: implicit declaration of function ‘console_error’; did you mean ‘console_reset’? [-Wimplicit-function-declaration] 1277 | console_error(L"Could not install security protocol", | ^~~~~~~~~~~~~ | console_reset shim.c:1245:20: warning: unused variable ‘shim_lock’ [-Wunused-variable] 1245 | SHIM_LOCK *shim_lock; | ^~~~~~~~~ shim.c: In function ‘uninstall_shim_protocols’: shim.c:1301:9: error: called object is not a function or function pointer 1301 | BS->UninstallProtocolInterface(shim_lock_handle, &SHIM_LOCK_GUID, | ^~ In file included from shim.h:164, from shim.c:14: shim.c: In function ‘shim_init’: include/console.h:100:23: error: expected ‘;’ before ‘__dprint_ret’ 100 | UINTN __dprint_ret = 0; \ | ^~~~~~~~~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1320:9: note: in expansion of macro ‘dprint’ 1320 | dprint(L"%a", shim_version); | ^~~~~~ include/console.h:102:25: error: ‘__dprint_ret’ undeclared (first use in this function) 102 | __dprint_ret = console_print((fmt), ##__VA_ARGS__); \ | ^~~~~~~~~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1320:9: note: in expansion of macro ‘dprint’ 1320 | dprint(L"%a", shim_version); | ^~~~~~ include/console.h:100:17: warning: statement with no effect [-Wunused-value] 100 | UINTN __dprint_ret = 0; \ | ^~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1320:9: note: in expansion of macro ‘dprint’ 1320 | dprint(L"%a", shim_version); | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1324:23: error: expected ‘)’ before ‘efi_status’ 1324 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1324:13: note: in expansion of macro ‘EFI_ERROR’ 1324 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1325:17: note: in expansion of macro ‘perror’ 1325 | perror(L"set_second_stage() failed: %r\n", efi_status); | ^~~~~~ shim.h:274:25: error: ‘__perror_ret’ undeclared (first use in this function) 274 | __perror_ret = console_print((fmt), ##__VA_ARGS__); \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1325:17: note: in expansion of macro ‘perror’ 1325 | perror(L"set_second_stage() failed: %r\n", efi_status); | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1325:17: note: in expansion of macro ‘perror’ 1325 | perror(L"set_second_stage() failed: %r\n", efi_status); | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1345:23: error: expected ‘)’ before ‘efi_status’ 1345 | if (EFI_ERROR(efi_status)) | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1345:13: note: in expansion of macro ‘EFI_ERROR’ 1345 | if (EFI_ERROR(efi_status)) | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1346:17: note: in expansion of macro ‘perror’ 1346 | perror(L"install_shim_protocols() failed: %r\n", efi_status); | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1346:17: note: in expansion of macro ‘perror’ 1346 | perror(L"install_shim_protocols() failed: %r\n", efi_status); | ^~~~~~ shim.c: In function ‘debug_hook’: shim.c:1382:9: error: unknown type name ‘UINT8’; did you mean ‘UINT8_C’? 1382 | UINT8 *data = NULL; | ^~~~~ | UINT8_C shim.c:1383:9: warning: statement with no effect [-Wunused-value] 1383 | UINTN dataSize = 0; | ^~~~~ shim.c:1383:14: error: expected ‘;’ before ‘dataSize’ 1383 | UINTN dataSize = 0; | ^~~~~~~~~ | ; shim.c:1385:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘x’ 1385 | register volatile UINTN x = 0; | ^ shim.c:1385:33: error: ‘x’ undeclared (first use in this function) shim.c:1388:15: error: unknown type name ‘CHAR16’ 1388 | const CHAR16 * const debug_var_name = | ^~~~~~ shim.c:1392:17: warning: initialization of ‘const int * const’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 1392 | L"SHIM_DEBUG"; | ^~~~~~~~~~~~~ shim.c:1398:22: warning: implicit declaration of function ‘get_variable’ [-Wimplicit-function-declaration] 1398 | efi_status = get_variable(debug_var_name, &data, &dataSize, | ^~~~~~~~~~~~ shim.c:1398:59: error: ‘dataSize’ undeclared (first use in this function) 1398 | efi_status = get_variable(debug_var_name, &data, &dataSize, | ^~~~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1400:23: error: expected ‘)’ before ‘efi_status’ 1400 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1400:13: note: in expansion of macro ‘EFI_ERROR’ 1400 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ shim.c:1384:20: warning: variable ‘efi_status’ set but not used [-Wunused-but-set-variable] 1384 | EFI_STATUS efi_status; | ^~~~~~~~~~ shim.c: In function ‘efi_main’: shim.c:1469:30: error: ‘UINT8’ undeclared (first use in this function); did you mean ‘UINTN’? 1469 | vendor_authorized = (UINT8 *)&cert_table + cert_table.vendor_authorized_offset; | ^~~~~ | UINTN shim.c:1469:37: error: expected expression before ‘)’ token 1469 | vendor_authorized = (UINT8 *)&cert_table + cert_table.vendor_authorized_offset; | ^ shim.c:1472:39: error: expected expression before ‘)’ token 1472 | vendor_deauthorized = (UINT8 *)&cert_table + cert_table.vendor_deauthorized_offset; | ^ shim.c:1479:9: error: unknown type name ‘CHAR16’ 1479 | CHAR16 *msgs[] = { | ^~~~~~ shim.c:1480:17: warning: initialization of ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 1480 | L"import_mok_state() failed", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ shim.c:1480:17: note: (near initialization for ‘msgs[0]’) shim.c:1481:17: warning: initialization of ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 1481 | L"shim_init() failed", | ^~~~~~~~~~~~~~~~~~~~~ shim.c:1481:17: note: (near initialization for ‘msgs[1]’) shim.c:1482:17: warning: initialization of ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 1482 | L"import of SBAT data failed", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shim.c:1482:17: note: (near initialization for ‘msgs[2]’) shim.c:1483:17: warning: initialization of ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 1483 | L"SBAT self-check failed", | ^~~~~~~~~~~~~~~~~~~~~~~~~ shim.c:1483:17: note: (near initialization for ‘msgs[3]’) In file included from shim.h:181, from shim.c:14: include/sbat.h:29:23: warning: initialization of ‘int *’ from incompatible pointer type ‘short unsigned int *’ [-Wincompatible-pointer-types] 29 | #define SBAT_VAR_NAME L"SbatLevel" | ^~~~~~~~~~~~ shim.c:1484:17: note: in expansion of macro ‘SBAT_VAR_NAME’ 1484 | SBAT_VAR_NAME L" UEFI variable setting failed", | ^~~~~~~~~~~~~ include/sbat.h:29:23: note: (near initialization for ‘msgs[4]’) 29 | #define SBAT_VAR_NAME L"SbatLevel" | ^~~~~~~~~~~~ shim.c:1484:17: note: in expansion of macro ‘SBAT_VAR_NAME’ 1484 | SBAT_VAR_NAME L" UEFI variable setting failed", | ^~~~~~~~~~~~~ shim.c:1499:38: error: ‘shim_verify’ undeclared (first use in this function); did you mean ‘shim_version’? 1499 | shim_lock_interface.Verify = shim_verify; | ^~~~~~~~~~~ | shim_version shim.c:1500:36: error: ‘shim_hash’ undeclared (first use in this function) 1500 | shim_lock_interface.Hash = shim_hash; | ^~~~~~~~~ shim.c:1501:37: warning: assignment to ‘int’ from ‘EFI_STATUS (*)(void *, unsigned int, PE_COFF_LOADER_IMAGE_CONTEXT *)’ {aka ‘int (*)(void *, unsigned int, PE_COFF_LOADER_IMAGE_CONTEXT *)’} makes integer from pointer without a cast [-Wint-conversion] 1501 | shim_lock_interface.Context = shim_read_header; | ^ In file included from shim.h:164, from shim.c:14: include/console.h:100:23: error: expected ‘;’ before ‘__dprint_ret’ 100 | UINTN __dprint_ret = 0; \ | ^~~~~~~~~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1512:9: note: in expansion of macro ‘dprint’ 1512 | dprint(L"vendor_authorized:0x%08lx vendor_authorized_size:%lu\n", | ^~~~~~ include/console.h:102:25: error: ‘__dprint_ret’ undeclared (first use in this function) 102 | __dprint_ret = console_print((fmt), ##__VA_ARGS__); \ | ^~~~~~~~~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1512:9: note: in expansion of macro ‘dprint’ 1512 | dprint(L"vendor_authorized:0x%08lx vendor_authorized_size:%lu\n", | ^~~~~~ include/console.h:100:17: warning: statement with no effect [-Wunused-value] 100 | UINTN __dprint_ret = 0; \ | ^~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1512:9: note: in expansion of macro ‘dprint’ 1512 | dprint(L"vendor_authorized:0x%08lx vendor_authorized_size:%lu\n", | ^~~~~~ include/console.h:100:23: error: expected ‘;’ before ‘__dprint_ret’ 100 | UINTN __dprint_ret = 0; \ | ^~~~~~~~~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1514:9: note: in expansion of macro ‘dprint’ 1514 | dprint(L"vendor_deauthorized:0x%08lx vendor_deauthorized_size:%lu\n", | ^~~~~~ include/console.h:100:17: warning: statement with no effect [-Wunused-value] 100 | UINTN __dprint_ret = 0; \ | ^~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1514:9: note: in expansion of macro ‘dprint’ 1514 | dprint(L"vendor_deauthorized:0x%08lx vendor_deauthorized_size:%lu\n", | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1523:23: error: expected ‘)’ before ‘efi_status’ 1523 | if (EFI_ERROR(efi_status) && secure_mode()) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1523:13: note: in expansion of macro ‘EFI_ERROR’ 1523 | if (EFI_ERROR(efi_status) && secure_mode()) { | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1524:17: note: in expansion of macro ‘perror’ 1524 | perror(L"%s variable initialization failed\n", SBAT_VAR_NAME); | ^~~~~~ shim.h:274:25: error: ‘__perror_ret’ undeclared (first use in this function) 274 | __perror_ret = console_print((fmt), ##__VA_ARGS__); \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1524:17: note: in expansion of macro ‘perror’ 1524 | perror(L"%s variable initialization failed\n", SBAT_VAR_NAME); | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1524:17: note: in expansion of macro ‘perror’ 1524 | perror(L"%s variable initialization failed\n", SBAT_VAR_NAME); | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1527:30: error: expected ‘)’ before ‘efi_status’ 1527 | } else if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1527:20: note: in expansion of macro ‘EFI_ERROR’ 1527 | } else if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ In file included from shim.h:164, from shim.c:14: include/console.h:100:23: error: expected ‘;’ before ‘__dprint_ret’ 100 | UINTN __dprint_ret = 0; \ | ^~~~~~~~~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1528:17: note: in expansion of macro ‘dprint’ 1528 | dprint(L"%s variable initialization failed: %r\n", | ^~~~~~ include/console.h:100:17: warning: statement with no effect [-Wunused-value] 100 | UINTN __dprint_ret = 0; \ | ^~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1528:17: note: in expansion of macro ‘dprint’ 1528 | dprint(L"%s variable initialization failed: %r\n", | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1538:31: error: expected ‘)’ before ‘efi_status’ 1538 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1538:21: note: in expansion of macro ‘EFI_ERROR’ 1538 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1539:25: note: in expansion of macro ‘perror’ 1539 | perror(L"Parsing %s variable failed: %r\n", | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1539:25: note: in expansion of macro ‘perror’ 1539 | perror(L"Parsing %s variable failed: %r\n", | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1546:31: error: expected ‘)’ before ‘efi_status’ 1546 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1546:21: note: in expansion of macro ‘EFI_ERROR’ 1546 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ In file included from shim.c:14: shim.h:272:23: error: expected ‘;’ before ‘__perror_ret’ 272 | UINTN __perror_ret = 0; \ | ^~~~~~~~~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1547:25: note: in expansion of macro ‘perror’ 1547 | perror(L"Verifiying shim SBAT data failed: %r\n", | ^~~~~~ shim.h:272:17: warning: statement with no effect [-Wunused-value] 272 | UINTN __perror_ret = 0; \ | ^~~~~ shim.h:279:9: note: in expansion of macro ‘perror_’ 279 | perror_(__FILE__, __LINE__ - 1, __func__, fmt, ##__VA_ARGS__) | ^~~~~~~ shim.c:1547:25: note: in expansion of macro ‘perror’ 1547 | perror(L"Verifiying shim SBAT data failed: %r\n", | ^~~~~~ In file included from shim.h:164, from shim.c:14: include/console.h:100:23: error: expected ‘;’ before ‘__dprint_ret’ 100 | UINTN __dprint_ret = 0; \ | ^~~~~~~~~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1552:17: note: in expansion of macro ‘dprint’ 1552 | dprint(L"SBAT self-check succeeded\n"); | ^~~~~~ include/console.h:100:17: warning: statement with no effect [-Wunused-value] 100 | UINTN __dprint_ret = 0; \ | ^~~~~ include/console.h:106:9: note: in expansion of macro ‘dprint_’ 106 | dprint_(L"%a:%d:%a() " fmt, __FILE__, __LINE__ - 1, __func__, \ | ^~~~~~~ shim.c:1552:17: note: in expansion of macro ‘dprint’ 1552 | dprint(L"SBAT self-check succeeded\n"); | ^~~~~~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1575:30: error: expected ‘)’ before ‘efi_status’ 1575 | } else if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1575:20: note: in expansion of macro ‘EFI_ERROR’ 1575 | } else if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ shim.c:1583:17: error: called object is not a function or function pointer 1583 | RT->ResetSystem(EfiResetShutdown, EFI_SECURITY_VIOLATION, | ^~ In file included from /build/shim/src/shim/gnu-efi/inc/efi.h:70, from shim.h:56, from shim.c:14: shim.c:1589:23: error: expected ‘)’ before ‘efi_status’ 1589 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1589:13: note: in expansion of macro ‘EFI_ERROR’ 1589 | if (EFI_ERROR(efi_status)) { | ^~~~~~~~~ shim.c:1608:32: error: expected ‘)’ before ‘efi_status’ 1608 | devel_egress(EFI_ERROR(efi_status) ? EXIT_FAILURE : EXIT_SUCCESS); | ^~~~~~~~~~ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:44: note: in definition of macro ‘EFI_ERROR’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ /build/shim/src/shim/gnu-efi/inc/efierr.h:25:36: note: to match this ‘(’ 25 | #define EFI_ERROR(a) (((INTN) a) < 0) | ^ shim.c:1608:22: note: in expansion of macro ‘EFI_ERROR’ 1608 | devel_egress(EFI_ERROR(efi_status) ? EXIT_FAILURE : EXIT_SUCCESS); | ^~~~~~~~~ shim.c: In function ‘restore_loaded_image’: shim.c:986:1: warning: control reaches end of non-void function [-Wreturn-type] 986 | } | ^ At top level: shim.c:337:13: warning: ‘update_verification_method’ defined but not used [-Wunused-function] 337 | static void update_verification_method(verification_method_t method) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ shim.c:69:1: warning: ‘drain_openssl_errors’ defined but not used [-Wunused-function] 69 | drain_openssl_errors(void) | ^~~~~~~~~~~~~~~~~~~~ make: *** [: shim.o] Error 1 ==> ERROR: A failure occurred in build().  Aborting... ==> ERROR: Build failed, check /var/lib/archbuild/extra-riscv64/felix14/build receiving incremental file list shim-15.5-1-riscv64-build.log shim-15.5-1-riscv64-prepare.log sent 62 bytes received 50,545 bytes 33,738.00 bytes/sec total size is 474,785 speedup is 9.38