This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

mib2c problem


I am trying to generate C code for DS3 MIB for the eCos agent.
I have:
- Got the mib2c compiler
- done MIBS=ALL; export MIBS
- got the SNMP Perl module
- placed the DS3 mib definitions in /usr/local/share/snmp/mibs/

Then when I run mib2c as
perl mib2c transmisison.30 it gives me error:
Modification of a read-only value attempted at mib2c line 261, <GEN1> line
59.

I am using the mib2c.conf that was written for eCos.
Development environment: RedHat Linux 7.2
Perl: perl-5.6.1-26.72.3

The MIB definitions for DS3 are taken from RFC2496 (Object Defitions)

What am I doing wrong here?

Ajay Dudani


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]