zamaudio / intelmetool

My tool for working with Intel Management Engine - RETIRED REPO (see coreboot for new upstream)
https://review.coreboot.org/plugins/gitiles/coreboot/+/refs/heads/master/util/intelmetool
Other
156 stars 25 forks source link

intelmetool.c:20:10: fatal error: pci/pci.h: No such file or directory #14

Closed Futureknows closed 6 years ago

Futureknows commented 6 years ago

When I try to build the tool using make I get the following error:

`[user@localhost intelmetool-main]$ make gcc -Wall -O0 -g -I. -c intelmetool.c -o intelmetool.o intelmetool.c:20:10: fatal error: pci/pci.h: No such file or directory

include <pci/pci.h>

      ^~~~~~~~~~~

compilation terminated. make: *** [Makefile:25: intelmetool.o] Error 1 `

Running Fedora 26

eloydegen commented 6 years ago

On Fedora you have to install the pciutils-devel package.

Futureknows commented 6 years ago

That solved it thanks!