Net-SNMP-5.3 - error in make - when using --disable-mib-loading: undefined reference to `get_tree'

"Makavy, Erez (Erez)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <AAB4B3D3CF0F454F98272CBE187FDE2F09E0E7D4@is0004avexu1.global.avaya.com>
Hey,
 
while building net-snmp-5.3, and trying to reduce memory size...
 
I get an error in 'make', only when I add the token
--disable-mib-loading, in the ./configure line:
 
[my configure line looks like this, when I add the token]
---------------------------------------------
./configure --with-mib-modules="agentx" \
            --prefix="/usr/local/net-snmp-5.3" \
            --program-suffix="_5.3" \ \
            --with-persistent-directory="/var/net-snmp-5.3"\
            --with-sys-location="def-location"\
            --with-sys-contact="no-contact"\
            --with-default-snmp-version="1"\
            --with-logfile="/var/log/snmpd-5.3.log" \ 
            --disable-debugging \
\
            --disable-mib-loading \

 
 
the error I get when I commit 'make' is:
------------------------------------------------------
 
/bin/sh ../libtool  --mode=link gcc -g -O2 -Dlinux -I/usr/include/rpm
-o snmpd snmpd.lo    libnetsnmpmibs.la libnetsnmpagent.la
helpers/libnetsnmphelpers.la  ../snmplib/libnetsnmp.la -ldl -lrpm
-lrpmio -lpopt  -lz -lcrypto -lm gcc -g -O2 -Dlinux -I/usr/include/rpm
-o .libs/snmpd snmpd.o  ./.libs/libnetsnmpmibs.so
./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so
../snmplib/.libs/libnetsnmp.so /usr/lib/librpm.so -L/usr/lib
/usr/lib/librpmdb.so -L/usr/local/lib -L/usr/kerberos/lib
/usr/lib/libsqlite3.so -lelf -lselinux /usr/lib/librpmio.so
/usr/lib/libbeecrypt.so /usr/lib/libneon.so -lssl -ldl -lgssapi_krb5
-lkrb5 -lk5crypto -lkrb5support -lcom_err -lresolv /usr/lib/libexpat.so
-lrt -lpthread -lbz2 /usr/lib/libpopt.so -lz -lcrypto -lm  -Wl,--rpath
-Wl,/usr/local/net-snmp-5.3/lib 
./.libs/libnetsnmpmibs.so: undefined reference to `get_tree' 
./.libs/libnetsnmpmibs.so: undefined reference to `get_tree_head' 
collect2: ld returned 1 exit status 
make[1]: *** [snmpd] Error 1 
make[1]: Leaving directory `/root/net-snmp/net-snmp-5.3/agent' 
make: *** [subdirs] Error 1
 
 
Any ideas?
 
thanks,
Erez Makavy
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.