Dave,
For the record, I did run the `make install` at some point and did run the `snmpd` command from the install directory. I was just wanting to make sure exactly which copy of snmpd you wanted me to run. The feedback from both the copy in the snmpd directory and from the one in the install directory are the same: -bash-2.05b# pwd /mpl/net-snmp/agent -bash-2.05b# ./snmpd -f -Le exec(): 0509-036 Cannot load program /mpl/net-snmp/agent/.libs/lt-snmpd because of the following errors: rtld: 0712-001 Symbol perfstat_cpu_total was referenced from module /mpl/net-snmp-5.7.1.pre1/agent/.libs/libnetsnmpmibs.a(libnetsnmpmibs.so. 30), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol perfstat_memory_total was referenced from module /mpl/net-snmp-5.7.1.pre1/agent/.libs/libnetsnmpmibs.a(libnetsnmpmibs.so. 30), but a runtime definition of the symbol was not found. rtld: 0712-001 Symbol perfstat_cpu was referenced from module /mpl/net-snmp-5.7.1.pre1/agent/.libs/libnetsnmpmibs.a(libnetsnmpmibs.so. 30), but a runtime definition of the symbol was not found. -bash-2.05b# I had run the native AIX version of `snmpd` but it does not give me everything I need so that is why I am trying to load Net-SNMP. Line 65 of usr/include/netinet/in6_var.h reads "extern CONST struct protosw inet6sw[];". THANKS Mike Lomax Principal Systems Engineer, Advanced Technology Solutions Office (909) 379-0669 Cell (951) 206-5852 michael.lo...@quadramed.com Visit QuadraMed's Booth (#1601) at AHIMA October 2 - 5 in Salt Lake City, UT -----Original Message----- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Monday, August 22, 2011 8:01 AM To: Lomax, Michael P. Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: NET-SNMP Compile Errors On 22 August 2011 15:46, Lomax, Michael P. <mlo...@quadramed.com> wrote: > However the Net-SNMP instructions do say to run `make test` prior to running `make install`. Normally, yes. But that assumes everything is running on a system where things should be working properly. "make test" is simply a final check to make sure. Given that you have already identified a problem with this AIX build, you need to concentrate on sorting this out before proceeding with the make test/make install. > I am not sure how you would run `snmpd` from the install directories prior to the `make install`. $ cd agent $ ./snmpd -f -Le This will probably complain about missing configuration, etc - but should indicate whether the agent is managing to run properly or not. > I do see that there are snmpd files in several of the release directories. > Are you talking about running one of those? Yes. > If you are talking about the native AIX `snmpd` > which I already have run on this server with no issues. No - I'm talking about the Net-SNMP agent that you seem to be trying to compile. If you're happy with the native agent, and don't want to use the Net-SNMP agent, then you can omit building this completely by running configure --disable-agent and recompiling. > As for Robert's mention of libperfstat.h we did find a later version > than what is installed but it did not compile properly. I don't think that Robert was suggesting that you install a newer version of the header file. That is part of the system environment, so shouldn't normally be changed. If anything needs to be adjusted, it's probably the application code - Net-SNMP in this case. What Robert *actually* said was: So if you search for this error ["checking libperfstat.h usability"], right below it there is a copy of the code it tried to compile. Have your dev guy extract this code and try to figure out which header needs to be included to fix the error with in6_var. The error itself was: /usr/include/netinet/in6_var.h:65: error: array type has incomplete element type So the first thing is to look at this header file. What does line 65 say? Dave
------------------------------------------------------------------------------ uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders