Re: [PATCH v2] cpupower: Fix no-rounding MHz frequency output
From: Prarit Bhargava <hidden>
Date: 2017-11-02 20:18:33
From: Prarit Bhargava <hidden>
Date: 2017-11-02 20:18:33
On 11/02/2017 02:59 PM, Shuah Khan wrote:
On 11/01/2017 06:42 PM, Prarit Bhargava wrote:
Hi Prarit,
Does this tool build for you? I am seeing:
utils/helpers/amd.c:7:21: fatal error: pci/pci.h: No such file or directory
#include <pci/pci.h>
^
compilation terminated.
Makefile:221: recipe for target 'utils/helpers/amd.o' failed
make: *** [utils/helpers/amd.o] Error 1
Got it ... you have to have the pciutils-devel package installed which
installs /usr/include/pci/pci.h.
That file contains:
struct pci_access {
/* Options you can change: */
unsigned int method; /* Access method */
int writeable; /* Open in read/write mode */
int buscentric; /* Bus-centric view of the world */
<snip>
P.
thanks, -- Shuah