Server Management (Insight Manager 7)
1844909 Members
1568 Online
110233 Solutions
New Discussion

Re: problems compiling cmaX module

 
Sang Yi
Occasional Contributor

problems compiling cmaX module

i'm trying to build the ucd-snmp-utils-4.2.5-7cmaX.76.Redhat7_2 rpm from the .src.rpm i found in the software support page. the cmaX.c seems to call header files from /usr/lib/ucd-snmp, which is a problem since there is no such directory. is there a work around to this?
1 REPLY 1
Sang Yi
Occasional Contributor

Re: problems compiling cmaX module

correction: it's looking for the headers in /usr/include

the offending portion is here from the ucd-snmp-cmaX.patch

+#if defined(Redhat8_0) || defined(Redhat8_1) || defined(Redhat9)
+/* net-snmp */
+#include
+#include
+#include
+
+#else
+/* ucd-snmp */
+#include
+#include
+#include

when i remove the patch from the spec file, the rpms build fine, but of course without the cmax module.