<?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[v.1.2.2 Static Agent Build with ODBC fails]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">I've got a problem compiling Static Agent when enabling ODBC subagent.<br />
Configure string:<br />
./configure --with-static-agent --disable-encryption --with-static-subagents=ODBCQuery --without-sqlite --with-all-static</p>
<p dir="auto">Error:<br />
make[4]: Entering directory `/distr/netxms-1.2.2/src/agent/core'<br />
  CXXLD  nxagentd<br />
static_subagents.o: In function `InitStaticSubagents()':<br />
/distr/netxms-1.2.2/src/agent/core/static_subagents.cpp:13: undefined reference to `NxSubAgentRegister_ODBCQUERY'<br />
collect2: ld returned 1 exit status<br />
make[4]: *** [nxagentd] Error 1<br />
make[4]: Leaving directory `/distr/netxms-1.2.2/src/agent/core'<br />
make[3]: *** [all-recursive] Error 1<br />
make[3]: Leaving directory `/distr/netxms-1.2.2/src/agent'<br />
make[2]: *** [all-recursive] Error 1<br />
make[2]: Leaving directory `/distr/netxms-1.2.2/src'<br />
make[1]: *** [all-recursive] Error 1<br />
make[1]: Leaving directory `/distr/netxms-1.2.2'<br />
make: *** [all] Error 2<br />
[root@netxms netxms-1.2.2]#</p>
<p dir="auto">Static agent without ODBC subagent compiles fine and Not static agent with ODBC subagent also compiles fine.</p>
]]></description><link>https://forum.netxms.org/topic/1839/v.1.2.2-static-agent-build-with-odbc-fails</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:00:03 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1839.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Jul 2012 08:13:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to v.1.2.2 Static Agent Build with ODBC fails on Tue, 31 Jul 2012 08:44:58 GMT]]></title><description><![CDATA[<p dir="auto">Hello Victor,</p>
<p dir="auto">It is working now! It compiled in both cases with and without --with-all-static (I'm using without). The thing is it was trying to copy <a href="http://odbc.so" rel="nofollow ugc">odbc.so</a> to &lt;netxms-install-dir&gt;/odbc.ddr when I issued "make install". So I had to go to "src/agent" subdir and issue "make install" there, and everything installed fine.</p>
]]></description><link>https://forum.netxms.org/post/8060</link><guid isPermaLink="true">https://forum.netxms.org/post/8060</guid><dc:creator><![CDATA[xatteg]]></dc:creator><pubDate>Tue, 31 Jul 2012 08:44:58 GMT</pubDate></item><item><title><![CDATA[Reply to v.1.2.2 Static Agent Build with ODBC fails on Mon, 30 Jul 2012 14:21:58 GMT]]></title><description><![CDATA[<p dir="auto">I have fixed this error. Agent compiles both with and without all-static flag. I'm not sure if it will work correctly with ODBC and all-static, because ODBC uses dynamic linking internally to load drivers, but you can check. Agent compiled without all-static should work without problem, but it will depend on system shared libraries - only NetXMS libraries and subagents will be included into nxagentd binary. Updated source package can be downloaded from here: <a href="https://netxms.org/download/patches/014/netxms-1.2.2.tar.gz" rel="nofollow ugc">https://netxms.org/download/patches/014/netxms-1.2.2.tar.gz</a>.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/8051</link><guid isPermaLink="true">https://forum.netxms.org/post/8051</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 30 Jul 2012 14:21:58 GMT</pubDate></item><item><title><![CDATA[Reply to v.1.2.2 Static Agent Build with ODBC fails on Mon, 30 Jul 2012 11:47:26 GMT]]></title><description><![CDATA[<p dir="auto">This does not help, same error appears.</p>
]]></description><link>https://forum.netxms.org/post/8049</link><guid isPermaLink="true">https://forum.netxms.org/post/8049</guid><dc:creator><![CDATA[xatteg]]></dc:creator><pubDate>Mon, 30 Jul 2012 11:47:26 GMT</pubDate></item><item><title><![CDATA[Reply to v.1.2.2 Static Agent Build with ODBC fails on Wed, 25 Jul 2012 13:33:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Try to use</p>
<p dir="auto">--with-static-subagents=odbcquery</p>
<p dir="auto">(with all small letters).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/7974</link><guid isPermaLink="true">https://forum.netxms.org/post/7974</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 25 Jul 2012 13:33:22 GMT</pubDate></item></channel></rss>