Net-SNMP 5.4 make shared library and application files failure

"bowmanchen" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <001701c79cfa$8f9dd0b0$83a8a8c0@Bowman>
Our environment
- Red Hat 9
- Net-SNMP 5.4

Build and install
- tar xvf net-snmp-5.4.tar
-
./configure --prefix=$HOME/snmpdev/net-snmp-5.4/tmp/usr --exec-prefix=$HOME/snmpdev/net-snmp-5.4/tmp/usr
 --enable-shared --disable-static --disable-embedde-perl
- make
- make install

#Result,   make failure as error bleow:
make[2]: Leaving directory `/home/bowman/snmpdev/net-snmp-5.4/agent/helpers'
making installlibs in /home/bowman/snmpdev/net-snmp-5.4/agent/mibgroup
make[2]: Entering directory
`/home/bowman/snmpdev/net-snmp-5.4/agent/mibgroup'
make[2]: Leaving directory
`/home/bowman/snmpdev/net-snmp-5.4/agent/mibgroup'
/bin/sh ../libtool  --mode=link gcc -g -O2 -Ulinux -Dlinux=linux  -o snmpd
snmpd.lo    libnetsnmpmibs.la libnetsnmpagent.la
helpers/libnetsnmphelpers.la  ../snmplib/libnetsnmp.la -ldl -lcrypto -lm
gcc -g -O2 -Ulinux -Dlinux=linux -o .libs/snmpd .libs/snmpd.o
./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so
helpers/.libs/libnetsnmphelpers.so
../snmplib/.libs/libnetsnmp.so -ldl -lcrypto -lm -Wl,--rpath -Wl,/home/bowman/snmpdev/net-snmp-5.4/tmp/usr/lib

./.libs/libnetsnmpmibs.so: undefined reference to `init_ifXTable'
./.libs/libnetsnmpmibs.so: undefined reference to `init_mteEventTable'
./.libs/libnetsnmpmibs.so: undefined reference to `init_tcpConnectionTable'
./.libs/libnetsnmpmibs.so: undefined reference to `init_schedConf'
./.libs/libnetsnmpmibs.so: undefined reference to `init_mteEvent'
./.libs/libnetsnmpmibs.so: undefined reference to `init_ip'
./.libs/libnetsnmpmibs.so: undefined reference to `init_nsModuleTable'
./.libs/libnetsnmpmibs.so: undefined reference to
`shutdown_inetNetToMediaTable'
./.libs/libnetsnmpmibs.so: undefined reference to `init_ifTable'
./.libs/libnetsnmpmibs.so: undefined reference to `shutdown_proxy'
./.libs/libnetsnmpmibs.so: undefined reference to `setPerrorstatus'
./.libs/libnetsnmpmibs.so: undefined reference to `init_mteEventConf'
./.libs/libnetsnmpmibs.so: undefined reference to `init_mteObjectsTable'
./.libs/libnetsnmpmibs.so: undefined reference to `init_hr_partition'
./.libs/libnetsnmpmibs.so: undefined reference to `init_mteObjectsConf'
./.libs/libnetsnmpmibs.so: undefined reference to `init_nsCache'
./.libs/libnetsnmpmibs.so: undefined reference to `init_proxy'
./.libs/libnetsnmpmibs.so: undefined reference to
`shutdown_inetCidrRouteTable'
./.libs/libnetsnmpmibs.so: undefined reference to `init_schedTable'
./.libs/libnetsnmpmibs.so: undefined reference to `init_snmpEngine'
./.libs/libnetsnmpmibs.so: undefined reference to `init_mteEventSetTable'
./.libs/libnetsnmpmibs.so: undefined reference to
`init_snmpNotifyFilterProfileTable'
./.libs/libnetsnmpmibs.so: undefined reference to
`shutdown_ipSystemStatsTable'

If I chang to use
 ./configure --prefix=$HOME/snmpdev/net-snmp-5.4/tmp/usr --exec-prefix=$HOME/snmpdev/net-snmp-5.4/tmp/usr
 --disable-shared --enable-static --disable-embedde-perl  .
Make is successful.

Why I can't make shared library and application files???
Please give me some advice.

BR,
Bowman

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
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
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.