<?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[Не собирается под Ubuntu server]]></title><description><![CDATA[<p dir="auto">Не собирается на ubuntu-server</p>
<pre><code>root@ubuntu-server:~/netxms-0.2.31# uname -a
Linux ubuntu-server 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686 GNU/Linux

./configure --with-server --with-mysql --with-agent --with-nxhttpd
make
....

Making all in core
make[4]: Entering directory `/root/netxms-0.2.31/src/server/core'
/bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/server/include  -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -D_GNU_SOURCE -I/usr/local/include  -D_THREAD_SAFE -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\"  -g -O2 -fno-rtti -fno-exceptions -Wno-deprecated -MT netinfo.lo -MD -MP -MF .deps/netinfo.Tpo -c -o netinfo.lo netinfo.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/server/include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -D_GNU_SOURCE -I/usr/local/include -D_THREAD_SAFE -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -fno-rtti -fno-exceptions -Wno-deprecated -MT netinfo.lo -MD -MP -MF .deps/netinfo.Tpo -c netinfo.cpp  -fPIC -DPIC -o .libs/netinfo.o
In file included from ../../../src/server/include/nxsrvapi.h:42,
                 from ../../../src/server/include/nms_core.h:71,
                 from nxcore.h:27,
                 from netinfo.cpp:23:
../../../include/nms_agent.h: In function 'void ret_int(char*, LONG)':
../../../include/nms_agent.h:360: warning: format '%d' expects type 'int', but argument 4 has type 'LONG'
../../../include/nms_agent.h:360: warning: format '%d' expects type 'int', but argument 4 has type 'LONG'
../../../include/nms_agent.h: In function 'void ret_uint(char*, DWORD)':
../../../include/nms_agent.h:365: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'DWORD'
../../../include/nms_agent.h:365: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'DWORD'
netinfo.cpp: In function 'void StrToMac(char*, BYTE*)':
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 3 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 4 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 5 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 6 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 7 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 8 has type 'DWORD*'
netinfo.cpp: In function 'ARP_CACHE* SysGetLocalArpCache()':
netinfo.cpp:214: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp: In function 'INTERFACE_LIST* SysGetLocalIfList()':
netinfo.cpp:326: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp:335: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp:342: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp:359: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp:368: error: invalid conversion from 'const char*' to 'char*'
make[4]: *** [netinfo.lo] Error 1
make[4]: Leaving directory `/root/netxms-0.2.31/src/server/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/netxms-0.2.31/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/netxms-0.2.31/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/netxms-0.2.31'
make: *** [all] Error 2
</code></pre>
]]></description><link>https://forum.netxms.org/topic/777/не-собирается-под-ubuntu-server</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:06:27 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/777.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Nov 2009 10:31:54 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Не собирается под Ubuntu server on Tue, 01 Dec 2009 22:15:40 GMT]]></title><description><![CDATA[<p dir="auto">A pochemu v pervom sluchae bil katalog netxms-0.2.31, a vo vtorom - netxms-0.2.27? Ja patch delal dlja versii 0.2.31.</p>
]]></description><link>https://forum.netxms.org/post/3675</link><guid isPermaLink="true">https://forum.netxms.org/post/3675</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 01 Dec 2009 22:15:40 GMT</pubDate></item><item><title><![CDATA[Reply to Не собирается под Ubuntu server on Tue, 01 Dec 2009 20:54:25 GMT]]></title><description><![CDATA[<p dir="auto">не помогло <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61e.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--disappointed" style="height:1.4em;width:auto;vertical-align:middle" title=":(" alt="😞" /></p>
<pre><code>make[4]: Entering directory `/root/netxms-0.2.27/src/server/core'
/bin/sh ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/server/include  -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -D_GNU_SOURCE -I/usr/local/include -D_THREAD_SAFE -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\"  -g -O2 -fno-rtti -fno-exceptions -fno-const-strings -Wno-deprecated -MT netinfo.lo -MD -MP -MF .deps/netinfo.Tpo -c -o netinfo.lo netinfo.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/server/include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -D_GNU_SOURCE -I/usr/local/include -D_THREAD_SAFE -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -fno-rtti -fno-exceptions -fno-const-strings -Wno-deprecated -MT netinfo.lo -MD -MP -MF .deps/netinfo.Tpo -c netinfo.cpp  -fPIC -DPIC -o .libs/netinfo.o
netinfo.cpp:49: error: 'StringList' was not declared in this scope
netinfo.cpp:49: error: expected primary-expression before ')' token
netinfo.cpp:49: error: expected ',' or ';' before '=' token
netinfo.cpp:50: error: 'StringList' was not declared in this scope
netinfo.cpp:50: error: expected primary-expression before ')' token
netinfo.cpp:50: error: expected ',' or ';' before '=' token
netinfo.cpp: In function 'void InitLocalNetInfo()':
netinfo.cpp:86: error: expected primary-expression before '(' token
netinfo.cpp:86: error: expected primary-expression before ')' token
netinfo.cpp:86: error: 'StringList' was not declared in this scope
netinfo.cpp:86: error: expected primary-expression before ')' token
netinfo.cpp:86: error: expected `;' before 'DLGetSymbolAddr'
netinfo.cpp:87: error: expected primary-expression before '(' token
netinfo.cpp:87: error: expected primary-expression before ')' token
netinfo.cpp:87: error: expected primary-expression before ')' token
netinfo.cpp:87: error: expected `;' before 'DLGetSymbolAddr'
netinfo.cpp: In function 'ARP_CACHE* SysGetLocalArpCache()':
netinfo.cpp:180: error: 'StringList' was not declared in this scope
netinfo.cpp:180: error: expected `;' before 'list'
netinfo.cpp:182: error: 'list' was not declared in this scope
netinfo.cpp:182: error: 'imp_NxSubAgentGetArpCache' cannot be used as a function
netinfo.cpp: In function 'INTERFACE_LIST* SysGetLocalIfList()':
netinfo.cpp:317: error: 'StringList' was not declared in this scope
netinfo.cpp:317: error: expected `;' before 'list'
netinfo.cpp:318: error: 'list' was not declared in this scope
netinfo.cpp:318: error: 'imp_NxSubAgentGetIfList' cannot be used as a function
make[4]: *** [netinfo.lo] Error 1
make[4]: Leaving directory `/root/netxms-0.2.27/src/server/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/netxms-0.2.27/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/netxms-0.2.27/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/netxms-0.2.27'
make: *** [all] Error 2
</code></pre>
<p dir="auto">на всякий случай, прикладываю вывод ./configure и make</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000304-out">out</a></p>
]]></description><link>https://forum.netxms.org/post/3674</link><guid isPermaLink="true">https://forum.netxms.org/post/3674</guid><dc:creator><![CDATA[VarLog]]></dc:creator><pubDate>Tue, 01 Dec 2009 20:54:25 GMT</pubDate></item><item><title><![CDATA[Reply to Не собирается под Ubuntu server on Tue, 01 Dec 2009 10:07:39 GMT]]></title><description><![CDATA[<p dir="auto">Zamenite src/server/core/netinfo.cpp na prilozennij. Dolzno pomoch'.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000303-netinfo.cpp">netinfo.cpp</a></p>
]]></description><link>https://forum.netxms.org/post/3668</link><guid isPermaLink="true">https://forum.netxms.org/post/3668</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 01 Dec 2009 10:07:39 GMT</pubDate></item></channel></rss>