Re: mib2c linker errors ifTable

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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
[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.