Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

  1. Home
  2. Support (Russian)
  3. 2.0-M2 Ошибка установки

2.0-M2 Ошибка установки

Scheduled Pinned Locked Moved Support (Russian)
8 Posts 4 Posters 26.1k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    A
    Alex
    wrote on last edited by
    #1

    Приветствую.

    Имеется проблема с установкой 2.0-M2.

    Система:

    CentOS release 5.11 (Final)
    Linux 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i686 GNU/Linux
    

    Ключи:

    ./configure --with-server --with-mysql --with-agent --disable-lmsensors --with-internal-libtre
    

    Ошибка:

    make[4]: Nothing to be done for `all-am'.
    make[4]: Leaving directory `/home/INSTALL/netxms-2.0-M2/src/db'
    make[3]: Leaving directory `/home/INSTALL/netxms-2.0-M2/src/db'
    Making all in server
    make[3]: Entering directory `/home/INSTALL/netxms-2.0-M2/src/server'
    Making all in libnxsrv
    make[4]: Entering directory `/home/INSTALL/netxms-2.0-M2/src/server/libnxsrv'
      CC     libnxsrv_la-messages.lo
      CXX    libnxsrv_la-agent.lo
      CXX    libnxsrv_la-apinfo.lo
      CXX    libnxsrv_la-hdlink.lo
      CXX    libnxsrv_la-iflist.lo
      CXX    libnxsrv_la-isc.lo
      CXX    libnxsrv_la-main.lo
      CXX    libnxsrv_la-ndd.lo
      CXX    libnxsrv_la-snmp.lo
      CXX    libnxsrv_la-snmpproxy.lo
      CXX    libnxsrv_la-vlan.lo
      CXXLD  libnxsrv.la
    make[4]: Leaving directory `/home/INSTALL/netxms-2.0-M2/src/server/libnxsrv'
    Making all in core
    make[4]: Entering directory `/home/INSTALL/netxms-2.0-M2/src/server/core'
      CXX    libnxcore_la-accesspoint.lo
    accesspoint.cpp: In member function 'virtual void AccessPoint::updatePingData()':
    accesspoint.cpp:563: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
      CXX    libnxcore_la-acl.lo
      CXX    libnxcore_la-actions.lo
      CXX    libnxcore_la-admin.lo
      CXX    libnxcore_la-agent.lo
      CXX    libnxcore_la-agent_policy.lo
      CXX    libnxcore_la-alarm.lo
      CXX    libnxcore_la-audit.lo
      CXX    libnxcore_la-ap_config.lo
      CXX    libnxcore_la-ap_jobs.lo
      CXX    libnxcore_la-beacon.lo
      CXX    libnxcore_la-bizservice.lo
      CXX    libnxcore_la-bizsvcroot.lo
      CXX    libnxcore_la-bridge.lo
      CXX    libnxcore_la-cas_validator.lo
    cas_validator.cpp: In function 'int valid_cert(X509*, const char*)':
    cas_validator.cpp:126: warning: use of 'h' length modifier with 's' type character
    cas_validator.cpp:142: warning: use of 'h' length modifier with 's' type character
    cas_validator.cpp:142: warning: use of 'h' length modifier with 's' type character
    cas_validator.cpp: In function 'int cas_validate(const char*, const char*, char*, int, char**)':
    cas_validator.cpp:255: warning: use of 'h' length modifier with 's' type character
    cas_validator.cpp: In function 'bool CASAuthenticate(const char*, char*)':
    cas_validator.cpp:387: warning: use of 'h' length modifier with 's' type character
      CXX    libnxcore_la-cdp.lo
      CXX    libnxcore_la-cert.lo
      CXX    libnxcore_la-client.lo
      CXX    libnxcore_la-cluster.lo
      CXX    libnxcore_la-columnfilter.lo
      CXX    libnxcore_la-components.lo
      CXX    libnxcore_la-condition.lo
      CXX    libnxcore_la-config.lo
      CXX    libnxcore_la-container.lo
      CXX    libnxcore_la-correlate.lo
      CXX    libnxcore_la-dashboard.lo
      CXX    libnxcore_la-datacoll.lo
      CXX    libnxcore_la-dbwrite.lo
      CXX    libnxcore_la-dc_nxsl.lo
      CXX    libnxcore_la-dcitem.lo
      CXX    libnxcore_la-dcithreshold.lo
      CXX    libnxcore_la-dcivalue.lo
      CXX    libnxcore_la-dcobject.lo
      CXX    libnxcore_la-dcst.lo
      CXX    libnxcore_la-dctable.lo
      CXX    libnxcore_la-dctarget.lo
    dctarget.cpp: In member function 'UINT32 DataCollectionTarget::getPingTime()':
    dctarget.cpp:903: warning: format '%d' expects type 'int', but argument 3 has type 'time_t'
      CXX    libnxcore_la-dctcolumn.lo
      CXX    libnxcore_la-dctthreshold.lo
      CXX    libnxcore_la-debug.lo
      CXX    libnxcore_la-download_job.lo
      CXX    libnxcore_la-ef.lo
      CXX    libnxcore_la-email.lo
    email.cpp: In function 'void* MailerThread(void*)':
    email.cpp:392: warning: use of 'h' length modifier with 's' type character
      CXX    libnxcore_la-entirenet.lo
      CXX    libnxcore_la-epp.lo
      CXX    libnxcore_la-events.lo
      CXX    libnxcore_la-evproc.lo
      CXX    libnxcore_la-fdb.lo
      CXX    libnxcore_la-filemonitoring.lo
      CXX    libnxcore_la-graph.lo
      CXX    libnxcore_la-hdlink.lo
      CXX    libnxcore_la-hk.lo
      CXX    libnxcore_la-id.lo
      CXX    libnxcore_la-import.lo
      CXX    libnxcore_la-index.lo
      CXX    libnxcore_la-interface.lo
    interface.cpp: In member function 'UINT32 Interface::getPingTime()':
    interface.cpp:145: warning: format '%d' expects type 'int', but argument 3 has type 'time_t'
    interface.cpp: In member function 'void Interface::updatePingData()':
    interface.cpp:668: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
    interface.cpp: In member function 'void Interface::paeStatusPoll(ClientSession*, UINT32, SNMP_Transport*, Node*)':
    interface.cpp:749: warning: comparison is always true due to limited range of data type
    interface.cpp:765: warning: comparison is always true due to limited range of data type
      CXX    libnxcore_la-isc.lo
      CXX    libnxcore_la-job.lo
      CXX    libnxcore_la-jobmgr.lo
      CXX    libnxcore_la-jobqueue.lo
      CXX    libnxcore_la-layer2.lo
      CXX    libnxcore_la-ldap.lo
      CXX    libnxcore_la-lln.lo
      CXX    libnxcore_la-lldp.lo
      CXX    libnxcore_la-locks.lo
      CXX    libnxcore_la-logfilter.lo
      CXX    libnxcore_la-loghandle.lo
      CXX    libnxcore_la-logs.lo
      CXX    libnxcore_la-macdb.lo
      CXX    libnxcore_la-main.lo
    main.cpp: In function 'BOOL Initialize()':
    main.cpp:629: warning: use of 'h' length modifier with 's' type character
    main.cpp: In function 'int ProcessConsoleCommand(const char*, __console_ctx*)':
    main.cpp:1368: warning: use of 'h' length modifier with 's' type character
      CXX    libnxcore_la-mdconn.lo
      CXX    libnxcore_la-mdsession.lo
      CXX    libnxcore_la-mobile.lo
      CXX    libnxcore_la-modules.lo
      CXX    libnxcore_la-mt.lo
      CXX    libnxcore_la-ndd.lo
      CXX    libnxcore_la-ndp.lo
      CXX    libnxcore_la-netinfo.lo
    netinfo.cpp: In function 'void InitLocalNetInfo()':
    netinfo.cpp:82: warning: use of 'h' length modifier with 's' type character
    netinfo.cpp:82: warning: use of 'h' length modifier with 's' type character
    netinfo.cpp:86: warning: use of 'h' length modifier with 's' type character
    netinfo.cpp:86: warning: use of 'h' length modifier with 's' type character
      CXX    libnxcore_la-netmap.lo
      CXX    libnxcore_la-netobj.lo
      CXX    libnxcore_la-netsrv.lo
      CXX    libnxcore_la-node.lo
    node.cpp: In member function 'virtual void Node::updatePingData()':
    node.cpp:6359: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
      CXX    libnxcore_la-nodelink.lo
      CXX    libnxcore_la-np.lo
      CXX    libnxcore_la-nxsl_classes.lo
      CXX    libnxcore_la-nxslext.lo
      CXX    libnxcore_la-objects.lo
      CXX    libnxcore_la-objtools.lo
      CXX    libnxcore_la-package.lo
      CXX    libnxcore_la-pds.lo
      CXX    libnxcore_la-poll.lo
      CXX    libnxcore_la-rack.lo
      CXX    libnxcore_la-radius.lo
      CXX    libnxcore_la-reporting.lo
      CXX    libnxcore_la-rootobj.lo
      CXX    libnxcore_la-script.lo
      CXX    libnxcore_la-session.lo
      CXX    libnxcore_la-situation.lo
      CXX    libnxcore_la-slmcheck.lo
      CXX    libnxcore_la-smclp.lo
      CXX    libnxcore_la-sms.lo
      CXX    libnxcore_la-snmp.lo
    snmp.cpp: In function 'SNMP_SecurityContext* SnmpCheckV3CommSettings(SNMP_Transport*, SNMP_SecurityContext*, StringList*)':
    snmp.cpp:205: warning: use of 'h' length modifier with 's' type character
    snmp.cpp:234: warning: use of 'h' length modifier with 's' type character
    snmp.cpp: In function 'SNMP_SecurityContext* SnmpCheckCommSettings(SNMP_Transport*, int*, SNMP_SecurityContext*, StringList*)':
    snmp.cpp:286: warning: use of 'h' length modifier with 's' type character
    snmp.cpp:303: warning: use of 'h' length modifier with 's' type character
    snmp.cpp:330: warning: use of 'h' length modifier with 's' type character
      CXX    libnxcore_la-snmptrap.lo
      CXX    libnxcore_la-stp.lo
      CXX    libnxcore_la-subnet.lo
      CXX    libnxcore_la-svccontainer.lo
    svccontainer.cpp: In member function 'double ServiceContainer::getUptimeFromDBFor(ServiceContainer::Period, INT32*)':
    svccontainer.cpp:264: warning: format '%ld' expects type 'long int', but argument 3 has type 'int'
    svccontainer.cpp: In member function 'void ServiceContainer::updateUptimeStats(time_t, BOOL)':
    svccontainer.cpp:303: warning: format '%ld' expects type 'long int', but argument 3 has type 'INT32'
    svccontainer.cpp:303: warning: format '%ld' expects type 'long int', but argument 4 has type 'LONG'
    svccontainer.cpp:303: warning: format '%ld' expects type 'long int', but argument 5 has type 'LONG'
      CXX    libnxcore_la-swpkg.lo
      CXX    libnxcore_la-syncer.lo
      CXX    libnxcore_la-syslogd.lo
    syslogd.cpp: In function 'void ProcessSyslogMessage(char*, int, UINT32)':
    syslogd.cpp:390: warning: use of 'h' length modifier with 's' type character
    syslogd.cpp:403: warning: use of 'h' length modifier with 's' type character
    syslogd.cpp:403: warning: use of 'h' length modifier with 's' type character
      CXX    libnxcore_la-template.lo
      CXX    libnxcore_la-timer.lo
      CXX    libnxcore_la-tools.lo
    tools.cpp: In function 'void GetSysInfoStr(char*, int)':
    tools.cpp:52: warning: use of 'h' length modifier with 's' type character
    tools.cpp:52: warning: use of 'h' length modifier with 's' type character
    tools.cpp:52: warning: use of 'h' length modifier with 's' type character
    tools.cpp:52: warning: use of 'h' length modifier with 's' type character
    tools.cpp:52: warning: use of 'h' length modifier with 's' type character
    tools.cpp:52: warning: use of 'h' length modifier with 's' type character
      CXX    libnxcore_la-tracert.lo
      CXX    libnxcore_la-uniroot.lo
      CXX    libnxcore_la-upload_job.lo
      CXX    libnxcore_la-uptimecalc.lo
      CXX    libnxcore_la-userdb.lo
      CXX    libnxcore_la-userdb_objects.lo
      CXX    libnxcore_la-vpnconn.lo
      CXX    libnxcore_la-vrrp.lo
      CXX    libnxcore_la-watchdog.lo
      CXX    libnxcore_la-winperf.lo
      CXX    libnxcore_la-xmpp.lo
    xmpp.cpp: In function 'void Logger(void*, xmpp_log_level_t, const char*, const char*)':
    xmpp.cpp:46: warning: use of 'h' length modifier with 's' type character
    xmpp.cpp: In function 'int VersionHandler(xmpp_conn_t*, xmpp_stanza_t*, void*)':
    xmpp.cpp:62: warning: use of 'h' length modifier with 's' type character
    xmpp.cpp: In function 'int PresenceHandler(xmpp_conn_t*, xmpp_stanza_t*, void*)':
    xmpp.cpp:113: warning: use of 'h' length modifier with 's' type character
    xmpp.cpp: In function 'int MessageHandler(xmpp_conn_t*, xmpp_stanza_t*, void*)':
    xmpp.cpp:147: warning: use of 'h' length modifier with 's' type character
    xmpp.cpp:147: warning: use of 'h' length modifier with 's' type character
    xmpp.cpp:194: warning: use of 'h' length modifier with 's' type character
      CXX    libnxcore_la-zone.lo
      CXXLD  libnxcore.la
    make[4]: Leaving directory `/home/INSTALL/netxms-2.0-M2/src/server/core'
    Making all in netxmsd
    make[4]: Entering directory `/home/INSTALL/netxms-2.0-M2/src/server/netxmsd'
      CXX    netxmsd-netxmsd.o
    netxmsd.cpp: In function ‘BOOL ParseCommandLine(int, char**)’:
    netxmsd.cpp:232: warning: use of ‘h’ length modifier with ‘s’ type character
    netxmsd.cpp: In function ‘int main(int, char**)’:
    netxmsd.cpp:412: warning: use of ‘h’ length modifier with ‘s’ type character
      CXXLD  netxmsd
    ../core/.libs/libnxcore.so: undefined reference to `__sync_add_and_fetch_4'
    ../core/.libs/libnxcore.so: undefined reference to `__sync_sub_and_fetch_4'
    collect2: ld returned 1 exit status
    make[4]: *** [netxmsd] Error 1
    make[4]: Leaving directory `/home/INSTALL/netxms-2.0-M2/src/server/netxmsd'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/INSTALL/netxms-2.0-M2/src/server'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/INSTALL/netxms-2.0-M2/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/INSTALL/netxms-2.0-M2'
    make: *** [all] Error 2
    

    Может какие-то ключи еще нужны для установки?

    Спасибо.

    1 Reply Last reply
    0
    • K
      K
      kozlov_ao
      wrote on last edited by
      #2

      ради спортивного инетереса, попробуй так собрать:
      ./configure --with-server --with-snmp --with-client --with-agent --with-mysql --with-openssl --prefix=/usr/ --enable-unicode

      на дебиане собирается.

      1 Reply Last reply
      0
      • A
        A
        Alex
        wrote on last edited by
        #3

        Увы и ах, не собирается ни в какую (( Та же ошибка.

        1 Reply Last reply
        0
        • V
          V
          Victor Kirhenshtein
          wrote on last edited by
          #4

          Попробуйте запустить configure как

          CPPFLAGS=-march=i686 ./configure ...

          1 Reply Last reply
          0
          • K
            K
            kozlov_ao
            wrote on last edited by
            #5

            У меня тоже на i686 сервачек... но собирается.

            Linux monit 2.6.32-5-686 #1 SMP Tue May 13 16:33:32 UTC 2014 i686 GNU/Linux
            
            1 Reply Last reply
            0
            • A
              A
              Alex Kirhenshtein
              wrote on last edited by
              #6

              На некоторых дистрибутивах (CentOS?) GCC собран так, что по умолчанию делает код под i386 –  а там никаких атомарных операций не было.
              Виктор добавил проверку в configure, которая должна исправить эту проблему.

              1 Reply Last reply
              0
              • K
                K
                kozlov_ao
                wrote on last edited by
                #7

                Пасибо за мини-ликбез ))

                1 Reply Last reply
                0
                • A
                  A
                  Alex
                  wrote on last edited by
                  #8

                  Да. Данная опция помогла. Спасибо.

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups