Den 23-03-2011 17:19, Eric Smith skrev: > I need to use mib2c on Solaris 10. > > >uname -a > >SunOS ems-svr234 5.10 Generic_141414-02 sun4u sparc SUNW,Sun-Fire-V210 > > I have downloaded net-snmp-5.6.tar.gz, extracted to my solaris10 box and > trying to configure net-snmp with perl modules. I also downloaded > openssl-1.0.0d-sol10-sparc-local.gz and gcc-3.4.6-sol10-sparc-local.gz > from sunfreeware.com <http://sunfreeware.com> and installed on my > Solaris 10 box.
We cannot see how you invoked configure, but this error message > /bin/bash ../libtool --silent --mode=compile gcc -I../include -I. > -I../snmplib -g -O2 -Usolaris2 -Dsolaris2=solaris2 -c -o snmp_client.lo > snmp_client.c > In file included from /usr/include/sys/select.h:23, > from > /auto/usrcisco-sunos-5.8-sparc-32/packages/gcc/gcc-4.1.0/bin/../lib/gcc/sparc-sun-solaris2.8/4.1.0/include/sys/types.h:574, > from /usr/include/strings.h:11, > from snmp_client.c:52: shows that you are using include files that neither matches your compiler (gcc 3.4.6 vs 4.1.0) nor your OS version (Solaris 8 vs 10). This will never work. /Niels -- Niels Baggesen - @home - Ã…rhus - Denmark - [email protected] The purpose of computing is insight, not numbers --- R W Hamming ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
