openhpi2 / Open-HPI

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
Other
3 stars 1 forks source link

snmp-subagent does not compile on RHEL 6.2 #2524

Open openhpi2 opened 10 years ago

openhpi2 commented 10 years ago

snmp-subagent program does not compile on RHEL 6.2. Modern compilers and libraries have few changes that are not backward compatible. The snmp-subagent, which has not been changed in 6+ years, is unable to compile.

The following are the problems. Copyright is changed to License Compiler catches many more warnings that are turned into errors ( remove -Werror) error: Installed (but unpackaged) file(s) found:    /usr/share/snmp/mibs/SAF-TC-MIB.mib    /usr/share/snmp/mibs/SAI-HPI-SNMP-MIB-B.01.01.mib Add the above files in openhpi-subagent.spec.in %files Specific dependencies mentioned in "Requires" field does not exist, so they need to be replaced with generic ones. pthread has become a part of glib. libc.so.6, libglib-1.2.so.0 libpthread.so.0 libnetsnmp.so.5 libnetsnmpagent.so.5 could be replaced with glibc glib2 net-snmp As we make these changes the version number could be increased too. snmp_subagent_7573.patch.txt

Reported by: dr_mohan

openhpi2 commented 10 years ago

The attached patch makes the snmp-subagent to compile well. Please review. snmp_subagent_3.4.0.patch.txt

Original comment by: dr_mohan

openhpi2 commented 10 years ago

*_ATTENTION_** This account is disabled and is no longer accessed by the recipient. Please remove it from your address book.

Thanks

Original comment by: tariqx

openhpi2 commented 10 years ago

Original comment by: dr_mohan