<?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[Unix static agent build fails]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">I'm configuring netxms on CentOS 6.2 with following ./configure --with-agent-static. Configure script executes normally. But make produces error:</p>
<p dir="auto">../../../tools/create_ssa_list.sh "linux ecs logwatch ping portcheck ups" &gt; static_subagents.cpp<br />
  CXX    static_subagents.o<br />
  CXX    subagent.o<br />
  CXX    sysinfo.o<br />
  CXX    tools.o<br />
  CXX    trap.o<br />
  CXX    upgrade.o<br />
  CXX    watchdog.o<br />
make[4]: *** No rule to make target `../../../src/db/libnxdb/libnxdb.la', needed by `nxagentd'.  Stop.<br />
make[4]: Leaving directory `/distr/netxms-1.2.1/src/agent/core'<br />
make[3]: *** [all-recursive] Error 1<br />
make[3]: Leaving directory `/distr/netxms-1.2.1/src/agent'<br />
make[2]: *** [all-recursive] Error 1<br />
make[2]: Leaving directory `/distr/netxms-1.2.1/src'<br />
make[1]: *** [all-recursive] Error 1<br />
make[1]: Leaving directory `/distr/netxms-1.2.1'<br />
make: *** [all] Error 2<br />
[root@netxms netxms-1.2.1]#</p>
<p dir="auto">Can that be fixed?</p>
]]></description><link>https://forum.netxms.org/topic/1772/unix-static-agent-build-fails</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:55:39 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1772.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Jun 2012 09:33:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unix static agent build fails on Wed, 20 Jun 2012 12:35:22 GMT]]></title><description><![CDATA[<p dir="auto">KjellO, this also worked for me!<br />
The trick is that all subsequent "makes" are successful, even if I make global "make clean" before configuring with different parameters.<br />
Thanks a lot!</p>
]]></description><link>https://forum.netxms.org/post/7694</link><guid isPermaLink="true">https://forum.netxms.org/post/7694</guid><dc:creator><![CDATA[xatteg]]></dc:creator><pubDate>Wed, 20 Jun 2012 12:35:22 GMT</pubDate></item><item><title><![CDATA[Reply to Unix static agent build fails on Fri, 15 Jun 2012 20:11:18 GMT]]></title><description><![CDATA[<p dir="auto">Hi!<br />
I finally managed to build a static 1.2.1 agent, I did something like this:</p>
<p dir="auto">$ ./configure --with-static-agent --with-all-static --with-static-subagents="" --with-internal-libexpat --with-internal-libtre --with-internal-zlib --prefix=/some/targetdir<br />
$ make</p>
<p dir="auto">Will complain, No target to build libnxdb exactly as you describe.<br />
Build this by hand:</p>
<p dir="auto">$ cd src/db/libnxdb/<br />
$ make</p>
<p dir="auto">Then try a build from source root again.<br />
I then run into trouble when making nxpush, but that may be distribution specific (old debian).<br />
Anyway, I disabled nxpush (don't need it)</p>
<p dir="auto">$ &lt;your favorite editor&gt; src/agent/tools/Makefile</p>
<p dir="auto">change<br />
SUBDIRS = nxapush</p>
<p dir="auto">to<br />
SUBDIRS =</p>
<p dir="auto">Then a make from source root dir should work.</p>
<p dir="auto">Good luck!</p>
]]></description><link>https://forum.netxms.org/post/7662</link><guid isPermaLink="true">https://forum.netxms.org/post/7662</guid><dc:creator><![CDATA[KjellO]]></dc:creator><pubDate>Fri, 15 Jun 2012 20:11:18 GMT</pubDate></item><item><title><![CDATA[Reply to Unix static agent build fails on Wed, 13 Jun 2012 09:43:48 GMT]]></title><description><![CDATA[<p dir="auto">There was the same error for 1.2.0 version according to forum. It persists in 1.2.1.  <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>
]]></description><link>https://forum.netxms.org/post/7654</link><guid isPermaLink="true">https://forum.netxms.org/post/7654</guid><dc:creator><![CDATA[xatteg]]></dc:creator><pubDate>Wed, 13 Jun 2012 09:43:48 GMT</pubDate></item></channel></rss>