Ats,

The way I got this working was to remove the ifdefs in the headers files
in /usr/include/ucd-snmp. Then it complies fine.

I have also started making some other changes to allow more snmp
information to be collected (it was to a pre 0.9.0 snapshot), but will
need a bit more time to sort it out and the patches will need to be
approved.

Alan,

I think that when the --enable-ucb-snmp-compatibility switch is passed
to ./configure, the configure script does not #define UCD_COMPATABILITY.
This might be the problem.

Cheers,

Philip Blow
Senior Technical Manager
Simply Wireless

> -----Original Message-----
> From: Atanu Das [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, 30 July 2003 4:46 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Need Help with SNMP 
> 
> 
> Hi Alan,
> 
> Thanks for such a prompt reply. I got your point.
> 
> I think I will have to install the **OLD** version of ucd-snmp
> (ucd-snmp-4.2.6) in my RedHat 9 box.
> The headers that i have in /usr/include/ucd-snmp are
> 
> ------------asn1.h-----------------
> #ifdef UCD_COMPATIBLE
> #include <net-snmp/library/asn1.h>
> #else
> #error "Please update your headers or configure
> using --enable-ucd-snmp-compatibility"
> #endif
> --------------snmp.h---------------
> #ifdef UCD_COMPATIBLE
> #include <net-snmp/library/snmp.h>
> #else
> #error "Please update your headers or configure
> using --enable-ucd-snmp-compatibility"
> #endif
> 
> ---------------snmp_impl.h-------------
> #ifdef UCD_COMPATIBLE
> #include <net-snmp/net-snmp-config.h>
> #include <net-snmp/types.h>
> #include <net-snmp/library/snmp_impl.h>
> #else
> #error "Please update your headers or configure
> using --enable-ucd-snmp-compatibility"
> #endif
> 
> and all the files are using the headers of net-snmp. This has 
> left me with
> no choice :)
> 
> Thanks anyway
> 
> Regards,
> 
> Ats
> 
> ----- Original Message ----- 
> From: "Alan DeKok" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 29, 2003 11:31 PM
> Subject: Re: Need Help with SNMP
> 
> 
> > "Atanu Das" <[EMAIL PROTECTED]> wrote:
> > > net-snmp-5.0.6-17
> >
> >   FreeRADIUS can't use net-snmp.
> >
> > > This is just a wild guess. But I have the ucd-snmp as 
> well net-snmp
> > > headers in /usr/include/ucd-snmp and /usr/include/net-snmp.
> >
> >   Then get the server to look at *only* ucd-snmp, and 
> ignore net-snmp.
> >
> >   Alan DeKok.
> >
> > -
> > List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
> >
> >
> 
> 
> - 
> List info/subscribe/unsubscribe? See 
> http://www.freeradius.org/list/users.html
> 

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to