This is a discussion on Re: NetSnmp issue on AIX5.2 within the SNMP Users forums, part of the Networking and Network Related category; This is a multipart message in MIME format. --=_alternative 000FA31148256F09_= Content-Type: text/plain; charset="us-ascii" Thanks ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multipart message in MIME format.
--=_alternative 000FA31148256F09_= Content-Type: text/plain; charset="us-ascii" Thanks for your help again. The reason why it doesn't work is that PDSLIB has some problem with both the source and binary for AIX5.2 package. Now I download a new packaged according to their instruction as following: ----------------------------------------------------------------------------- There is a problem with the source tar balls for AIX 5.2 and 5.3 on our website. Until we replace them, if you need to download the source, please download the source tar ball for AIX 5.1 or 4.3 as they contain the same package. If you are only installing the binaries, and are having problems with our binary tar ball for AIX 5.2, please try installing the binary tar ball for AIX 5.1 as that one has been tested to work on 5.2 also. We apologize for the confusion. Please let us know if you have a successful installation. The PDSLIB staff. ------------------------------------------------------------------------------------ Would you please tell me some good guides/documents/links about net-snmp so that I can learn it more quickly? Best Regards, Tango Thomas Anders <thomas.anders@blue-cable.de> Sent by: net-snmp-users-admin@lists.sourceforge.net 2005-09-07 21:20 To: net-snmp-users@lists.sourceforge.net cc: Subject: Re: NetSnmp issue on AIX5.2 tango.tang@wesoft.com wrote: > bash-2.05b# ldd /usr/local/sbin/snmpd > /usr/local/sbin/snmpd needs: > /usr/lib/libc.a(shr.o) > > /home/tango/tmp/net-snmp-5.2/snmplib/.libs/libnetsnmp.a(libnetsnmp.so.5) > > /home/tango/tmp/net-snmp-5.2/agent/helpers/.libs/libnetsnmphelpers.a(libnetsnmphelpers.so.5) Although I'm not familiar with AIX (and its ldd output) in particular, this looks plain wrong. How did you install the package, especially /usr/local/sbin/snmpd? Did you do a proper "make install"? Please also see http://www.freesnmp.com/net-snmp/faqs/index.html#static on how to properly do static linking. > I have download the latest package to build, but get the following > error, any suggest? [...] > ucd-snmp/versioninfo.c:97:37: warning: character constant too long for > its type > ucd-snmp/versioninfo.c: In function `var_extensible_version': > ucd-snmp/versioninfo.c:97: error: parse error before '\x61726564' > make: 1254-004 The error code from the last command is 1. See the list archives or Google: http://groups.google.com/group/maili...eadf7e3bb8a2ba I bet you did *not* apply the suggested fix from README.aix, did you? +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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/...net-snmp-users --=_alternative 000FA31148256F09_= Content-Type: text/html; charset="us-ascii" <br><font size=2><tt>Thanks for your help again.</tt></font> <br> <br><font size=2><tt>The reason why it doesn't work is that PDSLIB has some problem with both the source and binary for AIX5.2 package.</tt></font> <br> <br><font size=2><tt>Now I download a new packaged according to their instruction as following:</tt></font> <br> <br><font size=2><tt>-----------------------------------------------------------------------------</tt></font> <br><font size=2><tt><br> There is a problem with the source tar balls for AIX 5.2 and 5.3 on our<br> website. Until we replace them, if you need to download the source, please <br> download the source tar ball for AIX 5.1 or 4.3 as they contain the same<br> package.<br> <br> If you are only installing the binaries, and are having problems with our<br> binary tar ball for AIX 5.2, please try installing the binary tar ball for<br> AIX 5.1 as that one has been tested to work on 5.2 also.<br> <br> We apologize for the confusion. Please let us know if you have a <br> successful installation.<br> <br> <br> The PDSLIB staff.</tt></font> <br><font size=2 face="sans-serif">------------------------------------------------------------------------------------</font> <br> <br> <br><font size=2 face="sans-serif">Would you please tell me some good guides/documents/links about net-snmp so that I can learn it more quickly?</font> <br> <br> <br><font size=2 face="sans-serif">Best Regards,<br> Tango</font> <br> <br> <br> <br> <table width=100%> <tr valign=top> <td> <td><font size=1 face="sans-serif"><b>Thomas Anders <thomas.anders@blue-cable.de></b></font> <br><font size=1 face="sans-serif">Sent by: net-snmp-users-admin@lists.sourceforge.net</font> <p><font size=1 face="sans-serif">2005-09-07 21:20</font> <br> <td><font size=1 face="Arial"> </font> <br><font size=1 face="sans-serif"> To: net-snmp-users@lists.sourceforge.net</font> <br><font size=1 face="sans-serif"> cc: </font> <br><font size=1 face="sans-serif"> Subject: Re: NetSnmp issue on AIX5.2</font></table> <br> <br> <br><font size=2><tt>tango.tang@wesoft.com wrote:<br> > bash-2.05b# ldd /usr/local/sbin/snmpd<br> > /usr/local/sbin/snmpd needs:<br> > /usr/lib/libc.a(shr.o)<br> > <br> > /home/tango/tmp/net-snmp-5.2/snmplib/.libs/libnetsnmp.a(libnetsnmp.so.5)<br> > <br> > /home/tango/tmp/net-snmp-5.2/agent/helpers/.libs/libnetsnmphelpers.a(libnetsnmphelpers.so.5) <br> <br> Although I'm not familiar with AIX (and its ldd output) in particular, <br> this looks plain wrong. How did you install the package, especially <br> /usr/local/sbin/snmpd? Did you do a proper "make install"?<br> <br> Please also see http://www.freesnmp.com/net-snmp/faqs/index.html#static <br> on how to properly do static linking.<br> <br> > I have download the latest package to build, but get the following <br> > error, any suggest?<br> [...]<br> > ucd-snmp/versioninfo.c:97:37: warning: character constant too long for <br> > its type<br> > ucd-snmp/versioninfo.c: In function `var_extensible_version':<br> > ucd-snmp/versioninfo.c:97: error: parse error before '\x61726564'<br> > make: 1254-004 The error code from the last command is 1.<br> <br> See the list archives or Google:<br> <br> http://groups.google.com/group/mailing.unix.net-snmp-coders/browse_thread/thread/a3a9f37f35f02f35/deeadf7e3bb8a2ba<br> <br> I bet you did *not* apply the suggested fix from README.aix, did you?<br> <br> <br> +Thomas<br> <br> -- <br> Thomas Anders (thomas.anders at blue-cable.de)<br> <br> <br> -------------------------------------------------------<br> SF.Net email is Sponsored by the Better Software Conference & EXPO<br> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices<br> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA<br> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf<br> _______________________________________________<br > Net-snmp-users mailing list<br> Net-snmp-users@lists.sourceforge.net<br> Please see the following page to unsubscribe or change other options:<br> https://lists.sourceforge.net/lists/listinfo/net-snmp-users<br> </tt></font> <br> <br> --=_alternative 000FA31148256F09_=-- ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|