Thanks Thomas.

I tried the Sun Freeware binary package of net-snmp 5.4.1.1. It worked for
me.

On Fri, May 1, 2009 at 8:17 PM, Thomas Anders
<[email protected]>wrote:

> hareesh wrote:
> > making all in /Desktop/net-snmp-5.4.2.1/agent
> > /bin/sh ../libtool --mode=compile gcc -I../include -I. -I../agent
> > -I../agent/mibgroup  -I../snmplib -I/usr/local/ssl/include -g -O2
> > -Usolaris2 -Dsolaris2=solaris2 -c -o snmp_vars.lo snmp_vars.c
> >  gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib
> > -I/usr/local/ssl/include -g -O2 -Usolaris2 -Dsolaris2=solaris2 -c
> > snmp_vars.c  -fPIC -DPIC -o .libs/snmp_vars.o
> > In file included from /usr/include/kvm.h:14,
> >                  from kernel.h:11,
> >                  from snmp_vars.c:142:
> > /usr/include/sys/proc.h:202: error: syntax error before "p_t1_lgrpid"
> > /usr/include/sys/proc.h:203: error: syntax error before "p_tr_lgrpid"
> > /usr/include/sys/proc.h:337: error: syntax error before '}' token
> > In file included from kernel.h:11,
> >                  from snmp_vars.c:142:
> > /usr/include/kvm.h:44: error: syntax error before '*' token
> > /usr/include/kvm.h:45: error: syntax error before '*' token
> > /usr/include/kvm.h:48: error: syntax error before "proc_t"
>
> What exact configure options did you use?
> What's the value of HAVE_KVM_H and HAVE_SYS_PROC_H in
> include/net-snmp/net-snmp-config.h in the build dir after running configure?
> Do you see similar errors wrt. kvm.h and sys/proc.h in config.log?
>
> Alternatively, you may want to pick up the Sun Freeware binary package of
> net-snmp 5.4.2.1.
>
>
> +Thomas
>



-- 
Regards,
Hareesh V
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to