Thank you. Just added and will start the build process again. John
-----Original Message----- From: Anders Persson [mailto:[EMAIL PROTECTED] Sent: Friday, October 12, 2007 2:22 PM To: Clinton, John Cc: [email protected] Subject: Re: Solaris 10 Build Hi John, The problem is that for S10U4+ you need to set a flag to enable the extended MIB information. But that flag is only set in development gate of net-snmp. However, you should be able to successfully build 5.4.1 by adding the flag manually. Just add: #define NEW_MIB_COMPLIANT to include/net-snmp/system/solaris.h Cheers, Anders Clinton, John wrote: > Coders, > > I am having some issues building NetSNMP 5.4.1 from source on > Solaris 10. I have google'd and search the netsnmp list and did > not find anything specific to the problem I encountering. > > Configure runs fine, no errors. > > I have verified the obvious stuff, PATH and LD_LIBRARY_PATH. > > I am using GNU build utils. > > Here is my build environment. I am sure you need more info, just let me > know what would be helpful. > > [EMAIL PROTECTED]:/root/john/net-snmp-5.4.1# gcc -v > Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs > Configured with: > /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure > --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as > --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ > --enable-shared > Thread model: posix > gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) > > [EMAIL PROTECTED]:/root/john/net-snmp-5.4.1# uname -a > SunOS walter-test 5.10 Generic_120011-14 sun4u sparc SUNW,Sun-Fire-V240 > Solaris > > [EMAIL PROTECTED]:/root/john/net-snmp-5.4.1# gmake -v > GNU Make 3.80 > Copyright (C) 2002 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > Most importantly, here is my configure line: > > ./configure --enable-mfd-rewrites --disable-embedded-perl > --with-mib-modules="if-mib udp-mib tcp-mib ucd-snmp/diskio" > --with-cc=gcc --with-gnu-ld > > I have also tried: > > ./configure --enable-mfd-rewrites --disable-embedded-perl > --with-mib-modules="if-mib udp-mib tcp-mib ucd-snmp/diskio" > --with-cc=gcc > > And both attempts fail on the make with the same error message (below). > > > gcc -I../../include -I. -I../../agent -I../../agent/mibgroup > -I../../snmplib -I/usr/local/ssl/include -g -O2 -Usolaris2 > -Dsolaris2=solaris2 -c if-mib/data_access/interface_solaris2.c -fPIC > -DPIC -o if-mib/data_access/.libs/interface_solaris2.o > if-mib/data_access/interface_solaris2.c: In function `_set_ip_flags_v4': > if-mib/data_access/interface_solaris2.c:248: error: structure has no > member named `ipAdEntRetransmitTime' > if-mib/data_access/interface_solaris2.c: In function `_set_ip_flags_v6': > if-mib/data_access/interface_solaris2.c:270: error: structure has no > member named `ipv6AddrIdentifierLen' > if-mib/data_access/interface_solaris2.c:271: error: structure has no > member named `ipv6AddrIdentifierLen' > if-mib/data_access/interface_solaris2.c:272: error: structure has no > member named `ipv6AddrIdentifier' > if-mib/data_access/interface_solaris2.c:277: error: structure has no > member named `ipv6AddrReasmMaxSize' > if-mib/data_access/interface_solaris2.c:278: error: structure has no > member named `ipv6AddrRetransmitTime' > if-mib/data_access/interface_solaris2.c:279: error: structure has no > member named `ipv6AddrReachableTime' > make[2]: *** [if-mib/data_access/interface_solaris2.lo] Error 1 > make[2]: Leaving directory `/root/john/net-snmp-5.4.1/agent/mibgroup' > make[1]: *** [subdirs] Error 1 > make[1]: Leaving directory `/root/john/net-snmp-5.4.1/agent' > make: *** [subdirs] Error 1 > > > Thanks, > John Clinton > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Net-snmp-coders mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
