hi robert,

-- On June 13, 2005 6:07:31 PM -0400  Robert Story <[EMAIL PROTECTED]> wrote:

O> however, 'make' now fails @:
O>
O>     host/hr_storage.c: In function 'var_hrstore':
O>     host/hr_storage.c:499: error: dereferencing pointer to incomplete type
O>     host/hr_storage.c:500: error: dereferencing pointer to incomplete type
O>     host/hr_storage.c:579: error: dereferencing pointer to incomplete type
O>     make[2]: *** [host/hr_storage.lo] Error 1
O>     make[1]: *** [subdirs] Error 1
O>     make: *** [subdirs] Error 1
O>
O> i _could_, i suppose, remove the host mib from config, but that's a
O> dafault/apple-standard mib, no?

It's not a default mib, though it is a standard IETF mib. Many of the
non-default mibs are not defaults because they do have problems on some
platforms. That said, we've been talking about adding the host stuff to the
default.

O> so, b4 i start monkeying around ... thoughts?

I think this code works on FreeBSD, so it might be as simple as finding a
header for the appropriate types...

perhaps ...

currently, 4 me, with the 'host' mib included i still get the above make fail errors ...

however, with the removal of the 'host' mib, i.e.:

 ====================================================
 (EDITOR) /usr/ports/net-snmp-cvs/agent/mibgroup/mibII/tcp.c
 @7
 +++    #define    TCPTV_MIN ( 1*PR_SLOWHZ)         /* minimum allowable  
value*/
+++ #define TCPTV_REXMTMAX ( 64*PR_SLOWHZ) /* max allowable REXMT value */
        #include <net-snmp/net-snmp-config.h>
        #include "mibII_common.h"
 ====================================================

   ./configure \
     --prefix=/usr/local/net-snmp \
     --with-logfile=/var/Logs/snmpd.log \
     --sysconfdir=/var/Settings/NetSNMPd \
     --mandir=/var/Documentation/man \
     --with-persistent-directory=/var/Data/NetSNMPd \
   --with-defaults \
   --disable-mini-agent \
   --enable-shared --disable-static \
   --with-libwrap \
   --with-default-snmp-version=3 \
   --with-openssl=/usr/local/ssl \
   [EMAIL PROTECTED] \
   --with-perl-modules --enable-embedded-perl \
   --without-rpm \
   --with-transports="UDP TCP Unix Callback" \
   --with-mib-modules="agentx disman/event-mib smux" \
   --with-out-mib-modules="host mibII/icmp mibII/mta_sendmail " \
   --disable-ipv6


configuration is ok:

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

     SNMP Versions Supported:    1 2c 3
     Net-SNMP Version:           5.2.1
     Building for:               darwin8
     Network transport support:  UDP TCP Unix Callback
     SNMPv3 Security Modules:    usm
     Agent MIB code:             snmpv3mibs mibII/snmp_mib mibII/system_mib
   mibII/sysORTable mibII/vacm_vars utilities/execute agentx disman/event-mib
   smux
     SNMP Perl modules:          building -- embeddable
     Embedded perl support:      enabled
     Authentication support:     MD5 SHA1
     Encryption support:         DES AES

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

and make/make install complete seemingly without error ...

% ls -al /usr/local/net-snmp/sbin/snmpd
   -rwxr-xr-x  1 root admin 45756 Jun 14 09:12 /usr/local/net-snmp/sbin/snmpd

% otool -L /usr/local/net-snmp/sbin/snmpd
/usr/local/net-snmp/sbin/snmpd:
/usr/local/berkeley-db/lib/libdb-4.3.dylib (compatibility version 0.0.0, current version 0.0.0) /usr/local/net-snmp/lib/libnetsnmpmibs.5.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/local/net-snmp/lib/libnetsnmpagent.5.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/local/net-snmp/lib/libnetsnmphelpers.5.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/local/net-snmp/lib/libnetsnmp.5.dylib (compatibility version 8.0.0, current version 8.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.0.0) /usr/local/ssl/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.0, current version 0.9.7)

/usr/local/perl_libs/privlib/darwin-thread-multi-2level/CORE/libperl.dylib (compatibility version 5.8.0, current version 5.8.7) /usr/lib/libmx.A.dylib (compatibility version 1.0.0, current version 92.0.0)


however, per my other post @:


<http://sourceforge.net/mailarchive/forum.php?thread_id=7474877&forum_id=7152>

a subsequent:

   % /usr/local/net-snmp/sbin/snmpd -v

fails with:

   dyld: Symbol not found: _boot_DynaLoader
     Referenced from: /usr/local/net-snmp/lib/libnetsnmpagent.5.dylib
     Expected in: flat namespace

   Trace/BPT trap

so, at the moment, i'm SOL ...

thoughts?

thx!

richard


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to