some compiled errors for 5.4.1/pre on Solaris 10

"Liangliang Guo (SH/CBC)" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <DDDB6B03EA991D4BA021F2B006495FB208232A@ecnbjmw513.eapac.ericsson.se>

Hello :

On the same machine where I have successfully built 5.3.1 
I encountered  some compiled errors for 5.4.1/pre on Solaris 10 .

First I run 
./configure --with-sys-contact="[email protected]"
--with-sys-location="WIPRO" --with-default-snmp-version=3
--with-persistent-directory=/var/net-snmp \
        --with-mib-modules="ucd-snmp/lmSensors ucd-snmp/diskio smux
mibII/mta_sendmail" --with-cc=gcc \
        --disable-manuals   --with-mibs=ALL  --enable-mfd-rewrites
--with-libs=-lc \
         --with-logfile=/var/ipworks/logs/ipworks_snmpd.log
--sysconfdir=/etc/ipworks/common

Then Make the packets.
bash-3.00$ make 
making all in /vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/snmplib
make[1]: Entering directory
`/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/snmplib'
make[1]: Leaving directory
`/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/snmplib'
making all in /vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/agent
make[1]: Entering directory
`/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/agent'
making all in
/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/agent/helpers
make[2]: Entering directory
`/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/agent/helpers'
make[2]: Leaving directory
`/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/agent/helpers'
making all in
/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/agent/mibgroup
make[2]: Entering directory
`/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/agent/mibgroup'
make[2]: Leaving directory
`/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/agent/mibgroup'
/bin/sh ../libtool  --mode=link gcc -g -O2 -Usolaris2
-Dsolaris2=solaris2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings
-Wcast-qual -Wno-char-subscripts -o snmpd snmpd.lo    libnetsnmpmibs.la
libnetsnmpagent.la helpers/libnetsnmphelpers.la
../snmplib/libnetsnmp.la -ldl -lkvm -lcrypto -lkstat -lelf -lm -lc -lnsl
-lsocket  
gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -Wall -Winline
-Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o
.libs/snmpd .libs/snmpd.o  ./.libs/libnetsnmpmibs.so -lpicl -ladm
./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so
../snmplib/.libs/libnetsnmp.so -ldl -lkvm -lcrypto -lkstat -lelf -lm -lc
-lnsl -lsocket  -Wl,--rpath -Wl,/usr/local/lib
./.libs/libnetsnmpmibs.so: undefined reference to `dlerror@SUNW_1.22'
./.libs/libnetsnmpmibs.so: undefined reference to `dlopen@SUNW_1.22'
./.libs/libnetsnmpmibs.so: undefined reference to `dlsym@SUNW_1.22'
./.libs/libnetsnmpmibs.so: undefined reference to `dlclose@SUNW_1.22'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1
make[1]: Leaving directory
`/vobs/IPWORKS/src_ipworks/net-snmp-5.4.1.pre1/agent'
make: *** [subdirs] Error 1

The machine information are 
bash-3.00$ uname -a
SunOS ipwcompile5 5.10 Generic sun4u sparc SUNW,Sun-Fire-V240

Someone already posted  this errors , but not getting a solution for
this fault.


Best Regards

Leon Guo

Ericsson (China) Communication Co., Ltd
Address: No 1068 Tian Shan Xi Road  Zip Code: 200335
ECN: 887 29695
Tel: +86 21 22089695
Fax: +86 21 22088047
Email: [email protected]

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