mib2c undefined identifier: enterprises

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
hi gurus!

I try to generate c-stubs using mib2c:
#> MIBS=ALL /usr/local/bin/mib2c -c mib2c.scalar.conf myValue

The output of mib2c looks like this:
"
Unlinked OID in MY-MIB: myNode ::= { enterprises xxxxx }
Undefined identifier: enterprises near line 10 of ./MY-MIB
"

I have imported enterprises at the begin of the MIB:
[...]
    IMPORTS
    enterprises
    FROM SNMPv2-SMI;

myNode OBJECT IDENTIFIER ::= { enterprises xxxxx }
[...]

Please tell me if anyone has an idea what causes the mib2c-behavior and how
i could generate c-stubs using mib2c.

Regards,
Bernhard Fischer

-- 
NEU: Telefon-Flatrate fürs dt. Festnetz! GMX Phone_Flat: 9,99 Euro/Mon.*
Für DSL-Nutzer. Ohne Providerwechsel! http://www.gmx.net/de/go/telefonie


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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
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.