Re: problem with net-snmp-config

This is a discussion on Re: problem with net-snmp-config within the SNMP Coders forums, part of the Networking and Network Related category; Hello Simon, the "shift" statement in net-snmp-config in line 430 seems to be useless since there ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-12-2005
Johannes Schmidt-Fischer
 
Posts: n/a
Default Re: problem with net-snmp-config

Hello Simon,

the "shift" statement in net-snmp-config in line 430 seems to be useless
since there is no argument to be shifted away. Some shells (/bin/sh -
see shebang at the beginning of the script net-snmp-config) complain
about this useless shift, others (e.g. the one shipped with Linux) do
not complain, but they nevertheless set a return code 1.

For your local work you might comment the shift line in the script but I
recommend to file a bug report for net-snmp such that the useless shift
will be removed in the next release.

Johannes

Simon Saha schrieb:
>
>
>
> Dear Johannes,
> I am using net-snmp version-5.2.2 on HP-Unix system. My
> sub-agent is not getting compiled by net-snmp-config. I am giving the
> following command to compile my sub-agent
>
> net-snmp-config --compile-subagent PHAL phaltooExample.c
>
> It is giving the following error
>
> net-snmp-config[430]: shift: The specified number is not valid for
> this command
>
> while the same command is working perfectly on a linux system. Please help
> me in this reguard.
>
> bye
>
> *********************** FSS-Unclassified ***********************
>
> "DISCLAIMER: This message is proprietary to Flextronics Software
> Systems Limited (FSS) and is intended solely for the use of the
> individual to whom it is addressed. It may contain privileged or
> confidential information and should not be circulated or used for
> any purpose other than for what it is intended. If you have received
> this message in error, please notify the originator immediately.
> If you are not the intended recipient, you are notified that you are
> strictly prohibited from using, copying, altering, or disclosing
> the contents of this message. FSS accepts no responsibility for
> loss or damage arising from the use of the information transmitted
> by this email including damage from virus."
>


--
Johannes Schmidt-Fischer

InterFace AG phone +49 (0)89 / 610 49 - 207
Leipziger Str. 16 fax +49 (0)89 / 610 49 - 85
D-82008 Unterhaching mobile +49 (0)171/ 787 76 01
http://www.InterFace-AG.com mailto:jsf@InterFace-AG.de


-------------------------------------------------------
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-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
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 04:07 AM.


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