Всем ку!
Понимаю, что не первый раз уже сталкиваюсь с тем, что сервер старый. Но все-таки... Пытался сегодня перейти с 1.2.8 на 1.2.17. В момент make-а вылазит куча ошибок (могу сбросить config.log при необходимости). Собирался с ключами:
Последние ошибки из консоли:
Спасибо заранее.
Понимаю, что не первый раз уже сталкиваюсь с тем, что сервер старый. Но все-таки... Пытался сегодня перейти с 1.2.8 на 1.2.17. В момент make-а вылазит куча ошибок (могу сбросить config.log при необходимости). Собирался с ключами:
Code Select
./configure --with-server --with-mysql --with-agent --disable-lmsensors --with-internal-libtre
Последние ошибки из консоли:
Code Select
make[4]: Entering directory `/home/INSTALL/netxms-1.2.17/src/db/libnxdb'
CXX libnxdb_la-dbcp.lo
CXX libnxdb_la-drivers.lo
CXX libnxdb_la-main.lo
CXX libnxdb_la-session.lo
CXXLD libnxdb.la
make[4]: Leaving directory `/home/INSTALL/netxms-1.2.17/src/db/libnxdb'
Making all in dbdrv
make[4]: Entering directory `/home/INSTALL/netxms-1.2.17/src/db/dbdrv'
Making all in mysql
make[5]: Entering directory `/home/INSTALL/netxms-1.2.17/src/db/dbdrv/mysql'
CXX mysql_la-mysql.lo
CXXLD mysql.la
make[5]: Leaving directory `/home/INSTALL/netxms-1.2.17/src/db/dbdrv/mysql'
make[5]: Entering directory `/home/INSTALL/netxms-1.2.17/src/db/dbdrv'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/INSTALL/netxms-1.2.17/src/db/dbdrv'
make[4]: Leaving directory `/home/INSTALL/netxms-1.2.17/src/db/dbdrv'
make[4]: Entering directory `/home/INSTALL/netxms-1.2.17/src/db'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/INSTALL/netxms-1.2.17/src/db'
make[3]: Leaving directory `/home/INSTALL/netxms-1.2.17/src/db'
Making all in server
make[3]: Entering directory `/home/INSTALL/netxms-1.2.17/src/server'
Making all in libnxsrv
make[4]: Entering directory `/home/INSTALL/netxms-1.2.17/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-1.2.17/src/server/libnxsrv'
Making all in core
make[4]: Entering directory `/home/INSTALL/netxms-1.2.17/src/server/core'
CXX libnxcore_la-accesspoint.lo
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
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 'void Interface::paeStatusPoll(ClientSession*, UINT32, SNMP_Transport*, Node*)':
interface.cpp:668: warning: comparison is always true due to limited range of data type
interface.cpp:684: 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:585: warning: use of 'h' length modifier with 's' type character
main.cpp: In function 'int ProcessConsoleCommand(const char*, __console_ctx*)':
main.cpp:1254: 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
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-1.2.17/src/server/core'
Making all in netxmsd
make[4]: Entering directory `/home/INSTALL/netxms-1.2.17/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-1.2.17/src/server/netxmsd'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/INSTALL/netxms-1.2.17/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/INSTALL/netxms-1.2.17/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/INSTALL/netxms-1.2.17'
make: *** [all] Error 2
Спасибо заранее.