First, have you read http://sourceforge.net/mailarchive/message.php?msg_id=37989423 ?
If that isn't enough it would be nice if you provided the complete configure commands you are tryng to run. On fre, 2007-02-16 at 11:30 -0500, Adam Bell wrote: > I am trying to integrate net-snmp v 5.4 into a small footprint device under > Linux and am having a couple problems. > > 1. The configure option --enable-mini-agent causes ./.libs/libnetsnmpmibs.so: > undefined reference to `initialize_table_ifXTable during make > I am trying top make this as small as possible. > > 2. The configure option --disable-debugging does not turn off the -g option > in the make files > I am trying to make this as small as possible. > > 2. I have a set of mibs (special set) that replicates most if not all of the > default_mibs, MIBII, SNMPv3, etc. > so I want to remove the standard implementation and MIBs, and compile in the > new set. Remove the mib-modules (Real C code - right?) > causes many make problems. (See below) > > Is there another approach I could try? > > > Compiling with --with-out-mib-modules=snmpv3mibs,mibII,mibII/ipv6 \ > > ./.libs/libnetsnmpmibs.so: undefined reference to `initialize_table_ifXTable' > ./.libs/libnetsnmpagent.so: undefined reference to `vacm_standard_views' > > Compiling with > -with-out-mib-modules=default_modules,snmpv3mibs,mibII,mibII/ipv6 \ > during configure > checking for and configuring mib modules to use... configure: WARNING: > mib module conflict > configure: WARNING: mib module 'default_modules' is both included and > excluded. It will be excluded > configure: WARNING: mib module conflict > configure: WARNING: mib module 'mibII/ipv6' is both included and > excluded. It will be excluded > during make > In function `main': > /snmp/net-snmp-5.4/agent/snmpd.c:853: undefined reference to > `argvrestartp' > /snmp/net-snmp-5.4/agent/snmpd.c:858: undefined reference to > `argvrestart' > /snmp/net-snmp-5.4/agent/snmpd.c:860: undefined reference to > `argvrestartp' > /snmp/net-snmp-5.4/agent/snmpd.c:859: undefined reference to > `argvrestartname' > /snmp/net-snmp-5.4/agent/snmpd.c:860: undefined reference to > `argvrestart' > /snmp/net-snmp-5.4/agent/snmpd.c:866: undefined reference to > `argvrestartname' > /snmp/net-snmp-5.4/agent/snmpd.c:878: undefined reference to > `argvrestart' > /snmp/net-snmp-5.4/agent/snmpd.c:1036: undefined reference to > `argvrestartname' > /snmp/net-snmp-5.4/agent/snmpd.c:1036: undefined reference to > `argvrestartname' > /snmp/net-snmp-5.4/agent/snmpd.c:1037: undefined reference to > `argvrestart' > /snmp/net-snmp-5.4/agent/snmpd.c:1037: undefined reference to > `argvrestart' > /snmp/net-snmp-5.4/agent/snmpd.c:1038: undefined reference to > `argvrestartp' > /snmp/net-snmp-5.4/agent/snmpd.c:1038: undefined reference to > `argvrestartp' > /snmp/net-snmp-5.4/agent/snmpd.c:900: undefined reference to `Exit' > /snmp/net-snmp-5.4/agent/snmpd.c:916: undefined reference to `Exit' > ./.libs/libnetsnmpagent.so: undefined reference to `vacm_standard_views' Most of the above symbols are from utilities/execute, so do not remove that one please. configure --enable-mini-agent --disable-debugging --with-out-mib-modules=snmpv3mibs,mibII,mibII/vacm_vars,mibII/snmp_mib,mibII/system_mib,mibII/sysORTable works for me to build everything but snmptrapd - do you need that one? /MF > The information contained in this electronic mail transmission may be > privileged and confidential, and therefore, protected from disclosure. Even if the information above was privileged or confidential it couldn't possibly be protected from disclosure since it is, in fact, disclosed. > If you have received this communication in error Oh dear, I have no idea. One could suggest that it is the responsibility of your employer to take care of their own security - if they want to subcontract it then that is fine but me, I wouldn't do it for them for free. > please notify us immediately by replying to this message and deleting > it from your computer without copying or disclosing it. Hmm, I might be doing a grave mistake by answereing this message, I mean it do supposedly relate to the internal details of their offering and one could suppose that such information is, or at least once were confidential. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
