Bluehost.com Web Hosting $6.95

Linking error

This is a discussion on Linking error within the SNMP Users forums, part of the Networking and Network Related category; Hi my problem got solved.Thanke for your help. i am passing snmpd.conf file to snmpd daemon using -c ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-09-2005
Ganesh Wagh
 
Posts: n/a
Default Linking error

Hi
my problem got solved.Thanke for your help.

i am passing snmpd.conf file to snmpd daemon using -c
option.
Now i am having other problem that i written C program
using net-snmp funtions like snmp_session etc.
I am getting linking error
collect2: ld return with exist error 1

i am compiling my program like this
gcc myprog.c -l /usr/local/lib -o myprog

any suggesions

regards
ganesh


--- Dave Shield <D.T.Shield@csc.liv.ac.uk> wrote:

> [ First - *please* don't mail me privately,
> without copying
> any responses to the mailing list. I don't
> have the time
> or inclination to offer private, unpaid, SNMP
> consultancy.
> Keep discussions to the list, where others can
> both learn
> and offer advice. Thanks. ]
>
> On Tue, 2005-12-06 at 03:26 -0800, Ganesh Wagh
> wrote:
> > Hi Dave
> > I have configure access control in snmpd.conf file
> > like this
> > rocommunity public localhost
> > rwcommunity private localhost
> > but it not working with this configuration. My OS

> is
> > Red Hat linux.
> > I read FAQ supplied with net snmp.
> > What is going wrong in my sytem?

>
> What is the exact command(s) that you are running?
> Which version of the agent are you using - a RedHat
> supplied binary, or one you compiled yourself?
> How are you starting the agent?
> Which 'snmpd.conf' file did you edit?
>
> Dave
>



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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
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 10:06 AM.


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