Re: NetSnmp issue on AIX5.2

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
[email protected] 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/mailing.unix.net-snmp-coders/browse_thread/thread/a3a9f37f35f02f35/deeadf7e3bb8a2ba

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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.