<?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[FreeBSD agent build ends in error]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm trying to build netxms on freebsd but it ends in an error on a subagent...<br />
I'm hoping someone can give me a hint about how to get this running..<br />
it ends with "<strong>system.cpp:227: error: 'swap' was not declared in this scope</strong></p>
<p dir="auto">I do have swap space though <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
Is there a way I can tell what actually goes wrong? Can I help fix stuff?</p>
<p dir="auto">I'm running FreeBSD 7.2<br />
this is the end of the compile</p>
<p dir="auto"><em>/bin/sh ../../../../libtool --tag=CXX    --mode=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\"  -Wno-deprecated -MT freebsd.lo -MD -MP -MF .deps/freebsd.Tpo -c -o freebsd.lo freebsd.cpp<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\" -Wno-deprecated -MT freebsd.lo -MD -MP -MF .deps/freebsd.Tpo -c freebsd.cpp  -fPIC -DPIC -o .libs/freebsd.o<br />
mv -f .deps/freebsd.Tpo .deps/freebsd.Plo<br />
/bin/sh ../../../../libtool --tag=CXX    --mode=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\"  -Wno-deprecated -MT system.lo -MD -MP -MF .deps/system.Tpo -c -o system.lo system.cpp<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\" -Wno-deprecated -MT system.lo -MD -MP -MF .deps/system.Tpo -c system.cpp  -fPIC -DPIC -o .libs/system.o<br />
system.cpp: In function 'LONG H_MemoryInfo(const char*, const char*, char*)':<br />
system.cpp:227: error: 'swap' was not declared in this scope<br />
*** Error code 1</em></p>
<p dir="auto"><em>Stop in /usr/home/tnt/netxms/netxms-0.2.26/src/agent/subagents/freebsd.<br />
*** Error code 1</em></p>
<p dir="auto"><em>Stop in /usr/home/tnt/netxms/netxms-0.2.26/src/agent/subagents.<br />
*** Error code 1</em></p>
<p dir="auto"><em>Stop in /usr/home/tnt/netxms/netxms-0.2.26/src/agent.<br />
*** Error code 1</em></p>
<p dir="auto"><em>Stop in /usr/home/tnt/netxms/netxms-0.2.26/src.<br />
*** Error code 1</em></p>
<p dir="auto"><em>Stop in /usr/home/tnt/netxms/netxms-0.2.26.<br />
*** Error code 1</em></p>
<p dir="auto"><em>Stop in /usr/home/tnt/netxms/netxms-0.2.26.</em></p>
]]></description><link>https://forum.netxms.org/topic/628/freebsd-agent-build-ends-in-error</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 17:49:41 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/628.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 May 2009 18:12:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FreeBSD agent build ends in error on Mon, 01 Jun 2009 00:57:54 GMT]]></title><description><![CDATA[<p dir="auto">hey it looks like it works <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
If you could help me (and my lazy ass) with another thing...<br />
compared to version 0.2.24, did any files get added or deleted?</p>
<p dir="auto">The FreeBSD port is at version 0.2.24 now, and if the amount and names of files are still the same I'm going to commit the update to 0.2.26</p>
<p dir="auto">if not, I have to make a list of files and directories <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
(So I'm hoping for no changes :P)</p>
]]></description><link>https://forum.netxms.org/post/3037</link><guid isPermaLink="true">https://forum.netxms.org/post/3037</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Mon, 01 Jun 2009 00:57:54 GMT</pubDate></item><item><title><![CDATA[Reply to FreeBSD agent build ends in error on Sat, 30 May 2009 18:58:24 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for report, patch attached to this message.</p>
<p dir="auto">To apply:</p>
<pre><code>cd netxms-0.2.26/src/agent/subagents/freebsd
patch -p0 &lt; /some/where/system.diff
</code></pre>
]]></description><link>https://forum.netxms.org/post/3033</link><guid isPermaLink="true">https://forum.netxms.org/post/3033</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Sat, 30 May 2009 18:58:24 GMT</pubDate></item><item><title><![CDATA[Reply to FreeBSD agent build ends in error on Fri, 29 May 2009 20:12:04 GMT]]></title><description><![CDATA[<p dir="auto">little note..</p>
<p dir="auto">it only happens with --with-server and with --with-agent<br />
Apparently --with-server also builds the agent...<br />
All other stuff doesn't matter.</p>
]]></description><link>https://forum.netxms.org/post/3032</link><guid isPermaLink="true">https://forum.netxms.org/post/3032</guid><dc:creator><![CDATA[possamai]]></dc:creator><pubDate>Fri, 29 May 2009 20:12:04 GMT</pubDate></item></channel></rss>