<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Install problem on CentOs]]></title><description><![CDATA[<p dir="auto">Hi experts,</p>
<p dir="auto">I installed Netxms but error when running make install step:</p>
<pre><code>make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/tmp/netxms-2.0-M1/src/server/core'
make[3]: Leaving directory `/tmp/netxms-2.0-M1/src/server/core'
Making install in netxmsd
make[3]: Entering directory `/tmp/netxms-2.0-M1/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[3]: *** [netxmsd] Error 1
make[3]: Leaving directory `/tmp/netxms-2.0-M1/src/server/netxmsd'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/netxms-2.0-M1/src/server'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/netxms-2.0-M1/src'
make: *** [install-recursive] Error 1
</code></pre>
<p dir="auto">Although i tried:</p>
<pre><code>CFLAGS="-march=i686" ./configure --with-server --with-mysql --with-agent
make -j2 clean all
</code></pre>
<p dir="auto">But still problem<br />
System: CentOS release 5.11 (Final)<br />
Java version: java version "1.6.0_33"<br />
                  OpenJDK Runtime Environment (IcedTea6 1.13.5) (rhel-1.13.5.0.el5_11-i386)<br />
                  OpenJDK Server VM (build 23.25-b01, mixed mode)<br />
Tomcat: 7.0.57</p>
<p dir="auto">Any suggestion please let me know.</p>
<p dir="auto">Regards,</p>
]]></description><link>https://forum.netxms.org/topic/3557/install-problem-on-centos</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 14:19:17 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3557.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 20 Jan 2015 09:41:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Install problem on CentOs on Tue, 27 Jan 2015 02:51:30 GMT]]></title><description><![CDATA[<p dir="auto">Many Thanks,</p>
<p dir="auto">Now i will try install on x64 and seems to fine.</p>
<p dir="auto">I stated to study this tools.</p>
<p dir="auto">Best regards,</p>
]]></description><link>https://forum.netxms.org/post/15805</link><guid isPermaLink="true">https://forum.netxms.org/post/15805</guid><dc:creator><![CDATA[trungmv]]></dc:creator><pubDate>Tue, 27 Jan 2015 02:51:30 GMT</pubDate></item><item><title><![CDATA[Reply to Install problem on CentOs on Mon, 26 Jan 2015 10:26:03 GMT]]></title><description><![CDATA[<p dir="auto">It will disabled build of lm_sensors subagent. System itself will work perfectly well, but you will not be able to collect hardware metrics like temperature and voltages.</p>
]]></description><link>https://forum.netxms.org/post/15800</link><guid isPermaLink="true">https://forum.netxms.org/post/15800</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 26 Jan 2015 10:26:03 GMT</pubDate></item><item><title><![CDATA[Reply to Install problem on CentOs on Mon, 26 Jan 2015 09:55:32 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<ol>
<li>I only upgrade system by using repository. But here is my kernel:<code> 2.6.18-400.1.1.el5PAE #1 SMP Thu Dec 18 01:38:34 EST 2014 i686 i686 i386 GNU/Linux</code><br />
I am looking around but may not lmsensor v3 for i686.</li>
<li>If i disabled lmsensors, any affective to system?</li>
</ol>
<p dir="auto">Regards,</p>
]]></description><link>https://forum.netxms.org/post/15796</link><guid isPermaLink="true">https://forum.netxms.org/post/15796</guid><dc:creator><![CDATA[trungmv]]></dc:creator><pubDate>Mon, 26 Jan 2015 09:55:32 GMT</pubDate></item><item><title><![CDATA[Reply to Install problem on CentOs on Mon, 26 Jan 2015 09:20:30 GMT]]></title><description><![CDATA[<p dir="auto">There are two options:</p>
<ol>
<li>upgrade lm_sensors to version 3 (API was changed since v2)</li>
<li>disabled this subagent using "--disable-lmsensors" argument for configure.</li>
</ol>
]]></description><link>https://forum.netxms.org/post/15795</link><guid isPermaLink="true">https://forum.netxms.org/post/15795</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Mon, 26 Jan 2015 09:20:30 GMT</pubDate></item><item><title><![CDATA[Reply to Install problem on CentOs on Mon, 26 Jan 2015 09:10:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Here is my lmsensor verion:</p>
<pre><code>#rpm -qa | grep sensors
lm_sensors-2.10.7-9.el5
lm_sensors-devel-2.10.7-9.el5
</code></pre>
<p dir="auto">Any suggestion, please let me know</p>
<p dir="auto">Regards,</p>
]]></description><link>https://forum.netxms.org/post/15794</link><guid isPermaLink="true">https://forum.netxms.org/post/15794</guid><dc:creator><![CDATA[trungmv]]></dc:creator><pubDate>Mon, 26 Jan 2015 09:10:18 GMT</pubDate></item><item><title><![CDATA[Reply to Install problem on CentOs on Sat, 24 Jan 2015 22:27:45 GMT]]></title><description><![CDATA[<p dir="auto">You have incompatible version of lmsensors-dev. Please show output of "rpm -qa | grep sensors"</p>
]]></description><link>https://forum.netxms.org/post/15791</link><guid isPermaLink="true">https://forum.netxms.org/post/15791</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Sat, 24 Jan 2015 22:27:45 GMT</pubDate></item><item><title><![CDATA[Reply to Install problem on CentOs on Sat, 24 Jan 2015 01:44:09 GMT]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">Seems to success with used CPPFLAGS instead of CFLAGS</p>
<p dir="auto">But still error with "make install" step</p>
<pre><code>make  install-exec-hook
make[6]: Entering directory `/tmp/netxms-2.0-M1/src/agent/subagents/linux'
mv -f /usr/local/lib/netxms/linux.so /usr/local/lib/netxms/linux.nsm
rm -f /usr/local/lib/netxms/linux.la
rm -f /usr/local/lib/libnsm_linux.so
ln -s netxms/linux.nsm /usr/local/lib/libnsm_linux.so
make[6]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents/linux'
make[5]: Nothing to be done for `install-data-am'.
make[5]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents/linux'
make[4]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents/linux'
Making install in lmsensors
make[4]: Entering directory `/tmp/netxms-2.0-M1/src/agent/subagents/lmsensors'
  CXX    lmsensors_la-main.lo
main.cpp: In function 'bool getSensorValue(char*, char*, double*)':
main.cpp:57: error: cannot convert 'sensors_chip_name*' to 'int*' for argument '1' to 'const sensors_chip_name* sensors_get_detected_chips(int*)'
main.cpp:58: error: expected initializer before '*' token
main.cpp:61: error: 'feature' was not declared in this scope
main.cpp:61: error: 'sensors_get_features' was not declared in this scope
main.cpp:73: error: 'sensors_subfeature_type' was not declared in this scope
main.cpp:73: error: expected `;' before 'types'
main.cpp:74: error: 'types' was not declared in this scope
main.cpp:74: error: 'SENSORS_SUBFEATURE_UNKNOWN' was not declared in this scope
main.cpp:76: error: 'SENSORS_FEATURE_TEMP' was not declared in this scope
main.cpp:77: error: 'SENSORS_SUBFEATURE_TEMP_INPUT' was not declared in this scope
main.cpp:79: error: 'SENSORS_FEATURE_IN' was not declared in this scope
main.cpp:80: error: 'SENSORS_SUBFEATURE_IN_INPUT' was not declared in this scope
main.cpp:82: error: 'SENSORS_FEATURE_FAN' was not declared in this scope
main.cpp:83: error: 'SENSORS_SUBFEATURE_FAN_INPUT' was not declared in this scope
main.cpp:85: error: 'SENSORS_FEATURE_VID' was not declared in this scope
main.cpp:86: error: 'SENSORS_SUBFEATURE_VID' was not declared in this scope
main.cpp:88: error: 'SENSORS_FEATURE_POWER' was not declared in this scope
main.cpp:94: error: 'SENSORS_SUBFEATURE_POWER_INPUT' was not declared in this scope
main.cpp:95: error: 'SENSORS_SUBFEATURE_POWER_AVERAGE' was not declared in this scope
main.cpp:97: error: 'SENSORS_FEATURE_ENERGY' was not declared in this scope
main.cpp:98: error: 'SENSORS_SUBFEATURE_ENERGY_INPUT' was not declared in this scope
main.cpp:100: error: 'SENSORS_FEATURE_CURR' was not declared in this scope
main.cpp:101: error: 'SENSORS_SUBFEATURE_CURR_INPUT' was not declared in this scope
main.cpp:105: error: expected initializer before '*' token
main.cpp:106: error: 'subFeature' was not declared in this scope
main.cpp:107: error: 'sensors_get_subfeature' was not declared in this scope
main.cpp:109: error: 'subFeature' was not declared in this scope
main.cpp:111: error: 'sensors_get_value' was not declared in this scope
main.cpp:113: error: 'SENSORS_FEATURE_TEMP' was not declared in this scope
main.cpp:124: error: 'sensors_free_chip_name' was not declared in this scope
main.cpp: In function 'BOOL SubagentInit(Config*)':
main.cpp:189: warning: use of 'h' length modifier with 's' type character
make[4]: *** [lmsensors_la-main.lo] Error 1
make[4]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents/lmsensors'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/tmp/netxms-2.0-M1/src/agent/subagents'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/netxms-2.0-M1/src/agent'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/netxms-2.0-M1/src'
make: *** [install-recursive] Error 1
</code></pre>
<p dir="auto">Do i miss any configuration?</p>
<p dir="auto">Any help is appreciated,</p>
<p dir="auto">Regards,</p>
]]></description><link>https://forum.netxms.org/post/15784</link><guid isPermaLink="true">https://forum.netxms.org/post/15784</guid><dc:creator><![CDATA[trungmv]]></dc:creator><pubDate>Sat, 24 Jan 2015 01:44:09 GMT</pubDate></item><item><title><![CDATA[Reply to Install problem on CentOs on Thu, 22 Jan 2015 09:47:55 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">try to use CPPFLAGS instead of CFLAGS - CFLAGS only affect C sources, while CPPFLAGS affects both C and C++.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/15768</link><guid isPermaLink="true">https://forum.netxms.org/post/15768</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 22 Jan 2015 09:47:55 GMT</pubDate></item></channel></rss>