<?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[проблема сборки 1.1.6 с --enable-unicode]]></title><description><![CDATA[<p dir="auto">Делаю:</p>
<pre><code>./configure --prefix=/opt/netxms --with-agent --enable-unicode
make
</code></pre>
<p dir="auto">Получаю:</p>
<pre><code>...
make[3]: Entering directory `/var/tmp/portage/net-analyzer/netxms-1.1.6/work/netxms-1.1.6/src/libnetxms'
  CXX    agent.lo
  CXX    array.lo
  CXX    base64.lo
  CXX    crypto.lo
  CC     gen_uuid.lo
  CXX    config.lo
  CXX    geolocation.lo
crypto.cpp: In function 'RSA* LoadRSAKeys(const wchar_t*)':
crypto.cpp:476: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
  CXX    dload.lo
config.cpp: In member function 'bool Config::loadConfigDirectory(const wchar_t*, const wchar_t*)':
config.cpp:1086: error: 'DIRW' was not declared in this scope
config.cpp:1086: error: 'dir' was not declared in this scope
config.cpp:1091: error: 'wopendir' was not declared in this scope
config.cpp:1097: error: 'wreaddir' was not declared in this scope
config.cpp:1101: error: invalid use of incomplete type 'struct dirent_w'
config.cpp:1087: error: forward declaration of 'struct dirent_w'
config.cpp:1101: error: invalid use of incomplete type 'struct dirent_w'
config.cpp:1087: error: forward declaration of 'struct dirent_w'
config.cpp:1104: error: invalid use of incomplete type 'struct dirent_w'
config.cpp:1087: error: forward declaration of 'struct dirent_w'
config.cpp:1110: error: invalid use of incomplete type 'struct dirent_w'
config.cpp:1087: error: forward declaration of 'struct dirent_w'
config.cpp:1114: error: 'wclosedir' was not declared in this scope
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unused-result"
make[3]: *** [config.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unused-result"
geolocation.cpp:239:1: error: converting to execution character set: Invalid or incomplete multibyte or wide character
geolocation.cpp: In member function 'void GeoLocation::posToString(bool, double)':
geolocation.cpp:189: error: converting to execution character set: Invalid or incomplete multibyte or wide character
geolocation.cpp: In static member function 'static double GeoLocation::parse(const wchar_t*, bool, bool*)':
geolocation.cpp:215: error: converting to execution character set: Invalid or incomplete multibyte or wide character
geolocation.cpp:215: error: converting to execution character set: Invalid or incomplete multibyte or wide character
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-unused-result"
make[3]: *** [geolocation.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-analyzer/netxms-1.1.6/work/netxms-1.1.6/src/libnetxms'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-analyzer/netxms-1.1.6/work/netxms-1.1.6/src'
...
</code></pre>
<p dir="auto">Система gentoo.</p>
<p dir="auto">Так же заметил, что если в параметрах указать --disable-unicode, то это воспринимается как --enable-unicode.</p>
]]></description><link>https://forum.netxms.org/topic/1471/проблема-сборки-1.1.6-с-enable-unicode</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 21:14:21 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1471.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 03 Dec 2011 21:25:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to проблема сборки 1.1.6 с --enable-unicode on Mon, 05 Dec 2011 09:19:31 GMT]]></title><description><![CDATA[<p dir="auto">Unicode build dlja Linux esche ne dodelan. Ja planiruju k 1.2.0 ego dodelat'.</p>
]]></description><link>https://forum.netxms.org/post/6395</link><guid isPermaLink="true">https://forum.netxms.org/post/6395</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 05 Dec 2011 09:19:31 GMT</pubDate></item></channel></rss>