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'
The information contained in this electronic mail transmission may be
privileged and confidential, and therefore, protected from disclosure. If you
have received this communication in error, please notify us immediately by
replying to this message and deleting it from your computer without copying or
disclosing it.
-------------------------------------------------------------------------
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