1 Reply Latest reply on Jan 29, 2013 5:42 PM by bigdelboy

    Error occurred while making the net-snmp 5.7.2 version.

      Hi all,

      Error occurred while makeing the net-snmp 5.7.2 version:

      Error Message:
      er_iterator.o -lrt -lkstat -lc -O2
      libtool: link: (cd ".libs" && rm -f "libnetsnmp.so.30" && ln -s "libnetsnmp.so.30.0.2" "libnetsnmp.so.30")
      libtool: link: (cd ".libs" && rm -f "libnetsnmp.so" && ln -s "libnetsnmp.so.30.0.2" "libnetsnmp.so")
      libtool: link: false cru .libs/libnetsnmp.a snmp_client.o mib.o parse.o snmp_api.o snmp.o snmp_auth.o asn1.o md5.o snmp_parse_args.o system.o vacm.o int64.o read_config.o pkcs.o snmp_debug.o tools.o snmp_logging.o text_utils.o large_fd_set.o cert_util.o snmp_openssl.o snmpv3.o lcd_time.o keytools.o scapi.o callback.o default_store.o snmp_alarm.o data_list.o oid_stash.o fd_event_manager.o check_varbind.o mt_support.o snmp_enum.o snmp-tc.o snmp_service.o snprintf.o snmp_transport.o transports/snmpUDPBaseDomain.o transports/snmpUDPIPv4BaseDomain.o transports/snmpTCPBaseDomain.o transports/snmpSocketBaseDomain.o transports/snmpIPv4BaseDomain.o transports/snmpUDPDomain.o transports/snmpTCPDomain.o transports/snmpAliasDomain.o transports/snmpUnixDomain.o transports/snmpCallbackDomain.o snmp_secmod.o snmpusm.o snmp_version.o container.o container_binary_array.o ucd_compat.o openssl/openssl_sha1.o openssl/openssl_md5.o openssl/openssl_set_key.o openssl/openssl_des_enc.o openssl/openssl_cbc_enc.o openssl/openssl_aes_cfb.o openssl/openssl_aes_core.o openssl/openssl_cfb128.o dir_utils.o file_utils.o container_null.o container_list_ssll.o container_iterator.o
      *** Error code 1
      make: Fatal error: Command failed for target `libnetsnmp.la'
      Current working directory /export/home/ysko/net-snmp-5.7.2/snmplib
      *** 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 ; /usr/ccs/bin/make ) ; \
      if test $? != 0 ; then \
      exit 1 ; \
      fi \
      done \
      make: Fatal error: Command failed for target `subdirs'


      How to solve it?

      Thank you in advance
        • 1. Re: Error occurred while making the net-snmp 5.7.2 version.
          My initial reaction to this was to suggest try using gmake instad of make.

          However there are other things that can come into play.

          One this is to ensure all the .o files exist.

          Different PATH and ./configure options might help.


          I noticed the following was similar:



          Your best bet might be a specialist at: http://news.gmane.org/gmane.network.net-snmp.devel ... if you do post there also reference it from here to avoid duplicate effort.