Re: mib2c linker errors ifTable

"Pranesh Kulkarni" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi Dave,

       I have installed net-snmp 5.4.1 and generated subagent code ifTable
as given in tutorial with mib2c

      Iam getting symbol error . I have uninstalled other net-snmp versions.


 # ./ifTable
Error: Failed to connect to the agentx master agent: Unknown host (No such
file or directory)
./ifTable: symbol lookup error: ./ifTable: undefined symbol:
netsnmp_baby_steps_access_multiplexer_get

   Is this is library linking issue ??


Thanks,
Pranesh





On Jan 31, 2008 4:28 PM, Pranesh Kulkarni <[email protected]> wrote:

> Hi Dave,
>        From which relative path we should issue command mib2c for
> generating code for subagent .
>
>         Suppose say ,
>               i have installed net-snmp package in   /home/xyz/net-
> snmp-5.4.1 , from which directory I should issue mib2 command.
>
> Thanks,
> Pranesh
>
>
> On Jan 31, 2008 4:22 PM, Dave Shield <[email protected]> wrote:
>
> > On 31/01/2008, Pranesh Kulkarni <[email protected]> wrote:
> > >        With the makefile of Subagent, these are the libraries linking,
> > >
> > >                  -L/usr/lib64 -L/usr/local/lib -lnetsnmpmibs
> > -lnetsnmpagent
> > >    -lnetsnmphelpers -lnetsnmp
> >
> > Try using
> >      -L/usr/lib64 -lnetsnmpagent -lnetsnmphelpers -lnetsnmpmibs
> > -lnetsnmp
> >
> > This may require you to install 5.4.1 first - I'm not sure.
> >
> > Dave
> >
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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.