I seem to have trouble compiling net-snmp on a sun blade 100 on solaris 8... i 
compiled the same version ok on enterprise class machines but i guess something in the 
sun blade is not liking it..im wondering if another person is having the same problem 
as me..

i have attached my configure line and  a snip of the error during compile.

any insight would be helpful





./configure --prefix=/opt/sw/net-snmp/5.1.1 --with-mib-modules= 
--with-logfile=/var/log/snmpd.log  --with-default-snmp-version=3 
--with-persistent-directory=/var/opt/net-snmp 
--with-out-mib-modules=utilities,ucd_snmp,agentx


---------------------------------------------------------
            Net-SNMP configuration summary:
---------------------------------------------------------

  Net-SNMP Version:           5.1.1
  Building for:               solaris2
  Network transport support:  Callback Unix TCP UDP
  SNMPv3 Security Modules:    usm
  Agent MIB code:             mibII snmpv3mibs notification target agent_mibs 
agent_mibs
  SNMP Perl modules:          disabled
  Embedded perl support:      disabled
  Authentication support:     MD5
  Encryption support:         

---------------------------------------------------------


gcc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. 
-I.. -I/opt/sw/zlib/current/include -I/opt/sw/libpng/current/include -g -O2 -Dsolaris2 
-c util_funcs.c  -fPIC -DPIC -o .libs/util_funcs.lo
gcc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. 
-I.. -I/opt/sw/zlib/current/include -I/opt/sw/libpng/current/include -g -O2 -Dsolaris2 
-c util_funcs.c -o util_funcs.o >/dev/null 2>&1
mv -f .libs/util_funcs.lo util_funcs.lo
/bin/sh ../../libtool  --mode=compile gcc -I../../include -I../../include -I. -I../.. 
-I. -I./../.. -I./../../snmplib -I./.. -I.. -I/opt/sw/zlib/current/include 
-I/opt/sw/libpng/current/include  -g -O2 -Dsolaris2  -c -o kernel_sunos5.lo 
kernel_sunos5.c
rm -f .libs/kernel_sunos5.lo
gcc -I../../include -I../../include -I. -I../.. -I. -I./../.. -I./../../snmplib -I./.. 
-I.. -I/opt/sw/zlib/current/include -I/opt/sw/libpng/current/include -g -O2 -Dsolaris2 
-c kernel_sunos5.c  -fPIC -DPIC -o .libs/kernel_sunos5.lo
In file included from /usr/include/sys/proc.h:31,
                 from /usr/include/kvm.h:14,
                 from kernel_sunos5.c:43:
/usr/include/sys/task.h:59: parse error before "settaskid"
/usr/include/sys/task.h:59: parse error before "uint_t"
/usr/include/sys/task.h:60: parse error before "gettaskid"
kernel_sunos5.c: In function `getKstatInt':
kernel_sunos5.c:247: warning: passing arg 2 of `kstat_lookup' discards qualifiers from 
pointer target type
kernel_sunos5.c:247: warning: passing arg 4 of `kstat_lookup' discards qualifiers from 
pointer target type
kernel_sunos5.c:255: warning: passing arg 2 of `kstat_data_lookup' discards qualifiers 
from pointer target type
kernel_sunos5.c: In function `getKstat':
kernel_sunos5.c:373: warning: passing arg 4 of `kstat_lookup' discards qualifiers from 
pointer target type
kernel_sunos5.c: In function `getKstatString':
kernel_sunos5.c:529: warning: passing arg 4 of `kstat_lookup' discards qualifiers from 
pointer target type
make[2]: *** [kernel_sunos5.lo] Error 1
make[2]: Leaving directory `/root/source/net-snmp-5.1.1/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/root/source/net-snmp-5.1.1/agent'
make: *** [subdirs] Error 1




-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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

Reply via email to