Maxfile Question
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Greetings, I am getting an error when I try to compile net-snmp-5.1.2 on a Redhat ES 3.0 server. I modified the agent/mibgroup/ucd-snmp/file.c file from "#define MAXFILE 1000" to "define MAXFILE 200". When I do this it does not properly make and make install. I can only get this to compile if I leave this line commented out. What is the proper syntax to modify it from 1000 to 200? I have pasted my error below for verification purposes. rm -f ucd-snmp/.libs/file.lo gcc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. -I.. -g -O2 -Dlinux -c ucd-snmp/file.c -fPIC -DPIC -o ucd-snmp/.libs/file.lo ucd-snmp/file.c:51: syntax error before numeric constant ucd-snmp/file.c: In function `file_parse_config': ucd-snmp/file.c:97: `fileTable' undeclared (first use in this function) ucd-snmp/file.c:97: (Each undeclared identifier is reported only once ucd-snmp/file.c:97: for each function it appears in.) ucd-snmp/file.c: In function `updateFile': ucd-snmp/file.c:120: `fileTable' undeclared (first use in this function) ucd-snmp/file.c: In function `var_file_table': ucd-snmp/file.c:147: `fileTable' undeclared (first use in this function) make[2]: *** [ucd-snmp/file.lo] Error 1 make[2]: Leaving directory `/opt/net-snmp-5.1.2/agent/mibgroup' make[1]: *** [subdirs] Error 1 make[1]: Leaving directory `/opt/net-snmp-5.1.2/agent' make: *** [subdirs] Error 1 [root@httpmo net-snmp-5.1.2]# Kind Regards, Overkill ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users