Re: Compilation problem for IFMIB

This is a discussion on Re: Compilation problem for IFMIB within the SNMP Users forums, part of the Networking and Network Related category; --===============1717418344== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <!DOCTYPE html PUBLIC "-//W3C//DTD ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-03-2007
Daniel Lacey
 
Posts: n/a
Default Re: Compilation problem for IFMIB

--===============1717418344==
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Your setup is a bit old for me, but... <br>
On RHEL 4 and CentOS 4, I get the following:<br>
<br>
<small><font face="Courier New, Courier, monospace"># ls -l
/usr/lib/libsen*<br>
lrwxrwxrwx&nbsp; 1 root root&nbsp;&nbsp;&nbsp;&nbsp; 19 Mar&nbsp; 1&nbsp; 2006 /usr/lib/libsensors.so.3
-&gt; libsensors.so.3.0.5<br>
-rwxr-xr-x&nbsp; 1 root root 139808 Nov&nbsp; 8&nbsp; 2005 /usr/lib/libsensors.so.3.0.5<br>
# rpm -q --whatprovides libsensors.so.3<br>
lm_sensors-2.8.7-2.40.3</font></small><br>
<br>
You need one or more<font face="Courier New, Courier, monospace">
"lm_sensors"</font> rpms...<br>
<br>
Treesa Fairy Joseph wrote:
<blockquote cite="mid20070103170502.M49767@universe.cdotb.erne t.in"
type="cite">
<pre wrap="">Hello,
Please help me with the following.
My system is Fedora Core 3. I have installed net-snmp-5.2.1.2,
in my system. Now I am installing the IFMIB in my system.
I am following the steps specified in the tutorial section of net-snmp
site. I have done the following steps.
1. I have generated the code using mib2c.
2. Generated the Makefile, using the following command.
mib2c -c mfd-makefile.m2m ifTable
3. Now compiling the ifMIB with the following command,
make -f ifTable_Makefile
And I am getting the following output.

gcc -o ifTable ifTable_data_access.o ifTable.o ifTable_interface.o
`net-snmp-config --agent-libs`
/usr/bin/ld: cannot find -lsensors
collect2: ld returned 1 exit status
make: *** [ifTable] Error 1

What to do for this problem?

Thanx in advance,
Treesa




--
Open WebMail Project (<a class="moz-txt-link-freetext" href="http://openwebmail.org">http://openwebmail.org</a>)


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT &amp; business topics through brief surveys - and earn cash
<a class="moz-txt-link-freetext" href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ">http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CI D=DEVDEV</a>
_______________________________________________
Net-snmp-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Net-snmp-users@lists.sourceforge.net">Net-snmp-users@lists.sourceforge.net</a>
Please see the following page to unsubscribe or change other options:
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/net-snmp-users">https://lists.sourceforge.net/lists/listinfo/net-snmp-users</a>

</pre>
</blockquote>
</body>
</html>


--===============1717418344==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
--===============1717418344==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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/...net-snmp-users

--===============1717418344==--
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:13 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0