Hi Dave,
     OK I will go ahead with 5.4.1 version .

   I configured 5.2.4 as following steps

       1)./configure --enable-embedded-perl --enable-shared
--with-ldflags=-L/usr/lib64

       2)make

       3)make test

       4)make install


       Then i created directory ifTable and using the command mib2c

                 mib2c -c mib2c.mfd.conf ifTable


       With the makefile of Subagent, these are the libraries linking,

                 -L/usr/lib64 -L/usr/local/lib -lnetsnmpmibs -lnetsnmpagent
-lnetsnmphelpers -lnetsnmp -ldl -lcrypto -lm -Wl,-E
-Wl,-rpath,/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE
/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib64/perl5/5.8.5/x86_64-linux-thread-multi/CORE -lperl -lresolv
-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc


Thanks,
Pranesh














On Jan 31, 2008 3:57 PM, Dave Shield <[EMAIL PROTECTED]> wrote:

> On 31/01/2008, Pranesh Kulkarni <[EMAIL PROTECTED]> wrote:
> >     I have installed net-snmp 5.2.4 package.
>
> That's a fairly old version of the code.
> If you are installing things yourself, then we'd suggest you work
> with the most recent release (5.4.1).
>
>
> >     I am able to generate source code and modified according tutorials
> page
> > , but while linking its giving error
>
> And what exactly is the command that you are using to link?
>
>
> >    /usr/lib64/libnetsnmpmibs.a(lmSensors.o)(.text+0x3d):  In function
> `_sensor_load':
> >       undefined reference to `sensors_get_detected_chips'
>
> That looks suspiciously as if there's another version of the Net-SNMP
> suite installed on your system.   If you're compiling the software
> yourself,
> then I would strongly suggest that you remove any vendor-supplied
> versions first.   Having multiple copies of the Net-SNMP libraries is
> just asking for trouble.
>
>
> 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
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

Reply via email to