Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
0
stars
1
forks
source link
Sample fix to get py-openhpi 1.1 running on openhpi 2.14 #2203
As reported in an earlier post, py-openhpi version 1.1 does not compile on the latest linux releases (Centos, Fedora, etc...). the reason is because the code is created with a sahpi.i header file, then subsequently compiled against the sahpi.h header file installed on the system.
currently it comes with openhpi 2.14.
One can either install an earlier version with all the complications we can imagine, or go into the sahpi.i file and make the following change:
2238d2237
< typedef SaHpiUint32T SaHpiDimiTotalTestsT;
2241c2240
< SaHpiDimiTotalTestsT NumberOfTests; /* It is recommended that the DIMI
> SaHpiUint32T NumberOfTests; /* It is recommended that the DIMI
As reported in an earlier post, py-openhpi version 1.1 does not compile on the latest linux releases (Centos, Fedora, etc...). the reason is because the code is created with a sahpi.i header file, then subsequently compiled against the sahpi.h header file installed on the system. currently it comes with openhpi 2.14.
One can either install an earlier version with all the complications we can imagine, or go into the sahpi.i file and make the following change: 2238d2237 < typedef SaHpiUint32T SaHpiDimiTotalTestsT; 2241c2240 < SaHpiDimiTotalTestsT NumberOfTests; /* It is recommended that the DIMI
> SaHpiUint32T NumberOfTests; /* It is recommended that the DIMI
Reported by: phipstrick