On Mon, Dec 13, 1999 at 09:55:47PM -0800, Guy Harris wrote:
> > In any case, all the CMU_COMPATIBLE define does is cause some CMU-style
> > SMI_xxx values to be #defined to be the same as values as defined by UCD
> > SNMP; I'll look at defining the SMI_ values in that fashion directly
> > inside "packet-snmp.c" (when I get home, as that's where I have the UCD
> > SNMP source).
>
> OK, I've checked in a change that doesn't use the CMU_COMPATIBLE
> #define, and that compiles on UCD SNMP 3.6.2 and CMU SNMP 1.14. Try
> that.
It doesn't work for me.
My system : Debian 2.1
$ dpkg -l libsnmp3.6
Desired=Unknown/Install/Remove/Purge
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
|uppercase=bad)
||/ Name Version Description
+++-===============-==============-============================================
ii libsnmp3.6 3.6-1 CMU SNMP (Simple Network Management Protocol
I checked the version number in the documentation of the package : this
is the version of the linux port of CMU SNMP. It seems to be based on
the 1.0 release of the CMU SNMP distribution.
The error messages I get are :
packet-snmp.c:440: `SMI_INTEGER' undeclared (first use this function)
packet-snmp.c:440: (Each undeclared identifier is reported only once
packet-snmp.c:440: for each function it appears in.)
packet-snmp.c:444: `SMI_COUNTER32' undeclared (first use this function)
packet-snmp.c:448: `SMI_GAUGE32' undeclared (first use this function)
packet-snmp.c:452: `SMI_TIMETICKS' undeclared (first use this function)
packet-snmp.c:456: `SMI_STRING' undeclared (first use this function)
packet-snmp.c:460: `SMI_IPADDRESS' undeclared (first use this function)
packet-snmp.c:464: `SMI_OPAQUE' undeclared (first use this function)
packet-snmp.c:476: `SMI_OBJID' undeclared (first use this function)
packet-snmp.c:484: `SMI_COUNTER64' undeclared (first use this function)
I have no SMI_ definitions in the snmp headers in /usr/include/snmp
Olivier
--
In real love you want the other person's good. In romantic love you
want the other person.
-- Margaret Anderson