Problem using net-snmp-conf to compile the tutorial

Michael Schwartzkopff <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Dr. Schwartzkopff IT Services
Message-ID <[email protected]>
Hi,

I encountered a strange error compiling the tutorial agent on my new Debian 
Squeeze system.

I parsed the mibs of the net-snmp tutorial to create the source code:
# mib2c -c /etc/snmp/mib2c.int_watch.conf nstAgentSubagentObject
(...)
writing to nstAgentSubagentObject.h
writing to nstAgentSubagentObject.c
running indent on nstAgentSubagentObject.h
running indent on nstAgentSubagentObject.c

good so far. But when I want to compile the agent the easy way I get an error:
# net-snmp-config --compile-subagent testagent nstAgentSubagentObject.c
generating the tmporary code file: netsnmptmp.5396.c
void init_nstAgentSubagentObject(void);
checking for init_nstAgentSubagentObject in nstAgentSubagentObject.c
init_nstAgentSubagentObject(void)
shift: 672: can't shift that many

Any ideas?

-- 
Dr. Michael Schwartzkopff
Guardinistr. 63
81375 München

Tel: (0163) 172 50 98
Fax: (089) 620 304 13

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf

_______________________________________________
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
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAk2WHJcACgkQH8fVuZhm6xxIbwCgpJAtjH4sCjJ4aicMLUjAO1Vw
xdIAnj/XFVa5/2GWIhUY2C/tYJDMSAD/
=aurD
-----END PGP SIGNATURE-----
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.