<?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[net.cpp: 69 error conversion 'char*', 'RTF_WASCLONED', 'LONG H_NetRoutingTable']]></title><description><![CDATA[<p dir="auto">Hi, all<br />
I have try to install NetXMS 0.2.31 (the same with 0.2.24(26)) on FreeBSD 8.0 and received error of compilation. How can I fix this?</p>
<p dir="auto">#./configure --with-server --with-nxhttpd --with-mysql (successfull)<br />
#<br />
#make (aborted)<br />
#<br />
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../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 -I/usr/local/include -D_THREAD_SAFE -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 net.lo -MD -MP -MF .deps/net.Tpo -c net.cpp  -fPIC -DPIC -o .libs/net.o<br />
net.cpp:69: warning: deprecated conversion from string constant to 'char*'<br />
net.cpp: In function 'LONG H_NetRoutingTable(const char*, const char*, StringList*)':<br />
net.cpp:339: error: 'RTF_WASCLONED' was not declared in this scope<br />
*** Error code 1</p>
<p dir="auto">Stop in /tmp/netxms-0.2.31/src/agent/subagents/freebsd.<br />
*** Error code 1</p>
<p dir="auto">Stop in /tmp/netxms-0.2.31/src/agent/subagents.<br />
*** Error code 1</p>
<p dir="auto">Stop in /tmp/netxms-0.2.31/src/agent.<br />
*** Error code 1</p>
<p dir="auto">Stop in /tmp/netxms-0.2.31/src.<br />
*** Error code 1</p>
<p dir="auto">Stop in /tmp/netxms-0.2.31.<br />
*** Error code 1</p>
<p dir="auto">Stop in /tmp/netxms-0.2.31.</p>
]]></description><link>https://forum.netxms.org/topic/814/net.cpp-69-error-conversion-char-rtf_wascloned-long-h_netroutingtable</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:48:28 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/814.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Jan 2010 09:19:27 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to net.cpp: 69 error conversion 'char*', 'RTF_WASCLONED', 'LONG H_NetRoutingTable' on Wed, 27 Jan 2010 23:05:13 GMT]]></title><description><![CDATA[<p dir="auto">Hello!</p>
<p dir="auto">I've fixed this problem in next release. For building 0.2.31, replace line 339 in file net.cpp (it should looks like</p>
<pre><code>if (rti_info[RTAX_DST] != NULL &amp;&amp; !(rtm-&gt;rtm_flags &amp; RTF_WASCLONED))
</code></pre>
<p dir="auto">) with</p>
<pre><code>if (rti_info[RTAX_DST] != NULL)
</code></pre>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3874</link><guid isPermaLink="true">https://forum.netxms.org/post/3874</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 27 Jan 2010 23:05:13 GMT</pubDate></item></channel></rss>