Solaris 10 - Compilation Problem
"Dan Richardson" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am trying to compile Net-SNMP 5.4 on Solaris 10 (Sparc) but I'm having a little trouble. Everything seems to go OK until: /bin/sh ../libtool --mode=link gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -o snmpd snmpd.lo libnetsnmpmibs.la libnetsnmpagent.lahelpers/libnetsnmphelpers.la ../snmplib/libnetsnmp.la -ldl -lkvm -lcrypto -lkstat -lelf -lm -lnsl -lsocket -lpicl -ladm gcc -g -O2 -Usolaris2 -Dsolaris2=solaris2 -o .libs/snmpd .libs/snmpd.o ./.libs/libnetsnmpmibs.so ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ../snmplib/.libs/libnetsnmp.so -ldl -lkvm -lcrypto -lkstat -lelf -lm -lnsl -lsocket -lpicl -ladm -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 *** Error code 1 make: Fatal error: Command failed for target `snmpd' Current working directory /home/dan/net-snmp-5.4/agent *** Error code 1 The following command caused the error: if test "snmplib agent apps man local mibs" != ""; then \ it="snmplib agent apps man local mibs" ; \ for i in $it ; do \ echo "making all in `pwd`/$i"; \ ( cd $i ; make ) ; \ if test $? != 0 ; then \ exit 1 ; \ fi \ done \ fi make: Fatal error: Command failed for target `subdirs' My configure line: ./configure --with-mib-modules="ucd-snmp/lmSensors ucd-snmp/diskio \ smux mibII/mta_sendmail" --with-cc=gcc gcc -v Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared Thread model: posix gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) echo $PATH /usr/bin:/usr/sbin:/usr/ccs/bin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/ccs/bin:/usr/ucb:/usr/sbin:/usr/sfw/bin echo $LD_LIBRARY_PATH /usr/sfw/lib:/usr/local/lib:/lib:/usr/lib uname -a SunOS testhost01 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V210 I can't seem to find anything useful in the mail list archives, so any help anyone can offer would be gratefully received. Thanks, Dan ------------------------------------------------------------------------- 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-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