I'm trying to the same thing, but I'm running into problems because mib2c created a number of files (xxx_access.c/h, xxx_checkfns.c/h, etc.) for my MIB.
for coinfigure, I'm using the --with_mib_modules="xxx" and the files are in dir agent/mibgroup/xxx. When I run configure, it complains that it can;t find all the required files: mib module "xxx/xxx" requires module "xxx_access" but xxx_access.h or xxx_access.c could not be found in ./agent/mibgroup Note that it doesn't look in the xxx subdir. Currently it is a real subdir, not a link. I can fudge around and copy all the xxx/*.h files to agent/mibgroup And/or changing the --mib-modules to use "xxx/xxx" instead of just "xxx" and it will compile, but it will leave out init_xxxx from the mib_modules_init.h. I've also tried adding new config_requires, etc, but I just can;t seem to get everything to work at the same time! Any ideas? Thanks! -Scott -----Original Message----- > I want to keep the net-snmp package in one directory structure and the > specific MIBs in some separate directory structure. So that I can > upgrade/re-install net-snmp without affecting my specific code/file > system.. and so, I dont want to keep my specific agent codes under > 'agent/mibgroup/' of net-snmp.. it could be some where separate place. > How to configure that? The simplest approach would be to create a symbolic link within the 'agent/mibgroup' directory, pointing at your private MIB code. Then run configure based on this link. Then when you come to upgrade to a newer release, you just need to re-create that one link. ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ 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
