>From reading section 13, I put /usr/ucb in my path first and reran configure and that didn't seem to fix the issue. In particular the issue is that the line in the Makefile in ./agent and ./agent/mibgroup related to
mibgroup/snmp-notification-mib/snmpNotifyFilterTable/snmpNotifyFilterTab le_data_access.lo doesn't have a \ at the end (which as you mention seems to be a issue with line length and substitution). I installed sed from sunfreeware (also needed libintl and libiconv) and reran configure and that did not seem to fix the problem with the above line(s) either. While fixing the Makefile again I also notice (in addition to the one above) it is missing a \ after mibgroup/agentx/agentx_config.lo (that didn't seem long enough to be the sed issue) Here are the results of the make test: r...@odyssey1 # make test making all in /var/tmp/net-snmp-5.5.rc3/snmplib make[1]: Entering directory `/var/tmp/net-snmp-5.5.rc3/snmplib' make[1]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/snmplib' making all in /var/tmp/net-snmp-5.5.rc3/agent make[1]: Entering directory `/var/tmp/net-snmp-5.5.rc3/agent' making all in /var/tmp/net-snmp-5.5.rc3/agent/helpers make[2]: Entering directory `/var/tmp/net-snmp-5.5.rc3/agent/helpers' make[2]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/agent/helpers' making all in /var/tmp/net-snmp-5.5.rc3/agent/mibgroup make[2]: Entering directory `/var/tmp/net-snmp-5.5.rc3/agent/mibgroup' make[2]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/agent/mibgroup' make[1]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/agent' making all in /var/tmp/net-snmp-5.5.rc3/apps make[1]: Entering directory `/var/tmp/net-snmp-5.5.rc3/apps' making all in /var/tmp/net-snmp-5.5.rc3/apps/snmpnetstat make[2]: Entering directory `/var/tmp/net-snmp-5.5.rc3/apps/snmpnetstat' make[2]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/apps/snmpnetstat' make[1]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/apps' making all in /var/tmp/net-snmp-5.5.rc3/man make[1]: Entering directory `/var/tmp/net-snmp-5.5.rc3/man' make[1]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/man' making all in /var/tmp/net-snmp-5.5.rc3/local make[1]: Entering directory `/var/tmp/net-snmp-5.5.rc3/local' make[1]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/local' making all in /var/tmp/net-snmp-5.5.rc3/mibs make[1]: Entering directory `/var/tmp/net-snmp-5.5.rc3/mibs' make[1]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/mibs' make[1]: Entering directory `/var/tmp/net-snmp-5.5.rc3/perl' make[2]: Entering directory `/var/tmp/net-snmp-5.5.rc3/perl/default_store' make[2]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/perl/default_store' make[2]: Entering directory `/var/tmp/net-snmp-5.5.rc3/perl/ASN' make[2]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/perl/ASN' make[2]: Entering directory `/var/tmp/net-snmp-5.5.rc3/perl/OID' make[2]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/perl/OID' make[2]: Entering directory `/var/tmp/net-snmp-5.5.rc3/perl/agent' make[3]: Entering directory `/var/tmp/net-snmp-5.5.rc3/perl/agent/Support' make[3]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/perl/agent/Support' make[3]: Entering directory `/var/tmp/net-snmp-5.5.rc3/perl/agent/default_store' make[3]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/perl/agent/default_store' make[2]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/perl/agent' make[2]: Entering directory `/var/tmp/net-snmp-5.5.rc3/perl/SNMP' make[2]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/perl/SNMP' make[2]: Entering directory `/var/tmp/net-snmp-5.5.rc3/perl/TrapReceiver' make[2]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/perl/TrapReceiver' make[1]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/perl' for i in testing ; do \ ( cd $i ; make ) ; \ if test $? != 0 ; then \ exit 1 ; \ fi \ done make[1]: Entering directory `/var/tmp/net-snmp-5.5.rc3/testing' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/testing' ( cd testing; make test ) make[1]: Entering directory `/var/tmp/net-snmp-5.5.rc3/testing' ./RUNTESTS -a -D `pwd`/.. 1:testing SNMPv1 support.......ok 2:testing SNMPv2c get of system.sysUpTime.0...ok 3:testing SNMPv2c getnext of system.sysUpTime...ok 4:testing SNMPv2c bulkget of system components......ok 5:testing for failure of SNMPv2c get with wrong community...ok 6:testing for failure of SNMPv2c get against SNMPv1 agent...ok 7:testing for failure of SNMPv1 get against SNMPv2c agent...ok 8:testing SNMPv2c get of system.sysUpTime.1...ok 9:testing SNMPv3 get using noAuthNoPriv of .1.3.6.1.2.1.1.3.0...ok 10:testing SNMPv3 getnext using initial of .1.3.6.1.2.1.1.3.0...ok 11:testing SNMPv3 bulkget of system......ok 12:testing SNMPv3 get using MD5/noPriv of .1.3.6.1.2.1.1.3.0...ok 13:testing SNMPv3 get using MD5/AES of .1.3.6.1.2.1.1.3.0...ok 14:testing SNMPv3 get using MD5/DES of .1.3.6.1.2.1.1.3.0...ok 15:testing SNMPv3 get using SHA/noPriv of .1.3.6.1.2.1.1.3.0...ok 16:testing SNMPv3 get using SHA/DES of .1.3.6.1.2.1.1.3.0...ok 17:testing SNMPv3 get using SHA/AES of .1.3.6.1.2.1.1.3.0...ok 18:testing for failure of SNMPv3 get using unknown user....ok 19:testing SNMPv3 agent USM user management with snmpusm.................ok 20:testing SNMPv3 snmptrapd USM user management with snmpusm..............ok 21:testing SNMPv3 informs (noAuthNoPriv) received and sent by tools...ok 22:testing SNMPv3 informs (authNoPriv) received and sent by tools...ok 23:testing SNMPv3 informs (authPriv) received and sent by tools...ok 24:testing SNMPv3 traps received and sent by tools...ok 25:testing SNMPv2c traps received and sent by tools...ok 26:testing SNMPv2c informs received and sent by tools...ok 27:testing snmpv1 traps are sent by snmpd API...SKIPPED 28:testing snmpv2c traps are sent by snmpd API...SKIPPED 29:testing snmpv1 traps are sent by snmpd without notification mib support...SKIPPED 30:testing snmpv2c traps are sent by snmpd without notification mib support...SKIPPED 31:testing snmptrapd authorization failure of non authorized users...ok 32:testing snmptrapd discards of unauthorized notification types...ok 33:testing snmptrapd discards of incorrect view types...ok 34:testing authentication failure traps are sent by snmpd...ok 35:testing snmptrapd traphandle: launching external shell script.....ok 36:testing snmptrapd embedded perl support (NetSNMP::TrapReceiver)...SKIPPED 37:testing snmpd embedded perl support (using NetSNMP::agent)...SKIPPED 38:testing extending agent functionality with extend........ok 39:testing that the agent responds properly to a kill -HUP...ok 40:testing AgentX GET support...ok 41:testing AgentX SET support...ok 42:testing AgentX illegal SET handling support...ok 43:testing AgentX trap sending support...SKIPPED 44:testing AgentX subagent in Perl (using NetSNMP::agent)...ok 45:testing Proxy GET support...ok 46:testing Proxy SET support...ok 47:testing Proxy illegal SET handling support...ok 48:testing SNMPv1 vacm acceptance support....ok 49:testing SNMPv2 vacm acceptance support....ok 50:testing SNMPv3 vacm acceptance support....ok 51:testing SNMPv1 vacm denial support.....ok 52:testing SNMPv2 vacm denial support.........ok 53:testing SNMPv3 vacm denial support.....ok 54:testing 1st CPU on Solaris using HOST-RESOURCES....ok 55:testing initial load device on Solaris using HOST-RESOURCES....ok 56:testing uptime using HOST-RESOURCES....ok 57:testing swap on Solaris using HOST-RESOURCES....ok 58:testing if snmpnetstat finds the running agent in udpTable...ok 59:testing full snmpwalk (SNMPv2c) against agent (may take time)....FAIL 60:testing UDP Transport...ok 61:testing TCP Transport...ok 62:testing UDP6 Transport...SKIPPED 63:testing TCP6 Transport...SKIPPED 64:testing Unix Transport...ok 65:testing DTLS-UDP Transport...SKIPPED 66:testing ALIAS Transport...ok Summary: 65 / 66 succeeded. make[1]: *** [test] Error 1 make[1]: Leaving directory `/var/tmp/net-snmp-5.5.rc3/testing' make: *** [test] Error 2 It has been a long time since I used a debugger so it might take me awhile to figure out how to do the backtrace but I will do what I can. -Chris -----Original Message----- From: Thomas Anders [mailto:thomas.and...@blue-cable.de] Sent: Tuesday, September 22, 2009 5:44 PM To: Burkhardt, Chris Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Error with net-snmp on Solaris 9 sparc Burkhardt, Chris wrote: > I am able to reproduce snmpd dying on the snmpwalk on both the > production (E15k) and the development box (V440). Thanks for your detailed feedback so far. > making all in /var/tmp/net-snmp-5.5.rc3/agent > make: Fatal error in reader: Makefile, line 333: Unexpected end of line > seen Current working directory /var/tmp/net-snmp-5.5.rc3/agent > *** Error code 1 > make: Fatal error: Command failed for target `subdirs' > > The errors at the end were the errors I had to work through. Basically > there were dozens of lines in the Makefile that didn't have a \ at the > end that I manually fixed. Could you please read section 13 ("sed") of README.solaris and check if installing Sun sed patches or installing GNU sed fixes the issue for you? > The output from make test is pretty substantial. I can send it all if > you want or if you let me know what section you are interested in I will > send that. What tests FAIL? I guess that at least the snmpwalk test fails for you. If in doubt, please post the full output. > I sent a truss output as response to another email. If you need a > backtrace as well please let me know and I will read through the link > you sent and see what I can do. A backtrace would be extremely helpful! +Thomas ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users