<?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[Troubles Compiling 2.1RC1 on CentOS7]]></title><description><![CDATA[<p dir="auto">Hello all-</p>
<p dir="auto">I was able to compile netxms-2.0.8 on centos7 without difficulty after installing the proper libraries.  I decided that I would take a look at the 2.1RC1 candidate and following the same build process during the make process it through the following error</p>
<pre><code>Making all in nxminfo
make[5]: Entering directory `/root/src/netxms-2.1-RC1/src/server/tools/nxminfo'
  CXXLD    nxminfo
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SNMP_Variable::getValueAsString(wchar_t*, unsigned long) const'
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SNMP_Variable::getRawValue(unsigned char*, unsigned long) const'
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SNMP_Variable::getValueAsObjectId() const'
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SnmpWalk(SNMP_Transport*, wchar_t const*, unsigned int (*)(SNMP_Variable*, SNMP_Transport*, void*), void*, bool)'
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SNMP_Variable::getValueAsInt() const'
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SNMP_Variable::getValueAsUInt() const'
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SNMPConvertOIDToText(unsigned long, unsigned int const*, wchar_t*, unsigned long)'
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SnmpGetEx(SNMP_Transport*, wchar_t const*, unsigned int const*, unsigned long, void*, unsigned long, unsigned int, unsigned int*)'
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SnmpGet(int, SNMP_Transport*, wchar_t const*, unsigned int const*, unsigned long, void*, unsigned long, unsigned int)'
../../libnxsrv/.libs/libnxsrv.so: undefined reference to `SNMP_Variable::SNMP_Variable(unsigned int const*, unsigned long)'
collect2: error: ld returned 1 exit status
make[5]: *** [nxminfo] Error 1
make[5]: Leaving directory `/root/src/netxms-2.1-RC1/src/server/tools/nxminfo'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/src/netxms-2.1-RC1/src/server/tools'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/src/netxms-2.1-RC1/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/src/netxms-2.1-RC1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/netxms-2.1-RC1'
make: *** [all] Error 2
</code></pre>
<p dir="auto">I created my make file by ./configure --with-server --with-mysql --with-agent  and it completed without error.</p>
<p dir="auto">Looking for any solutions.. I am kinda thinking that I need to uninstall 2.0.8 thinking that it might somehow be pulling a library from the other build, but thought I would see if anyone else has run into this during their build.</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>https://forum.netxms.org/topic/5074/troubles-compiling-2.1rc1-on-centos7</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 18:12:22 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/5074.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 22 May 2017 23:54:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Troubles Compiling 2.1RC1 on CentOS7 on Wed, 31 May 2017 00:10:56 GMT]]></title><description><![CDATA[<p dir="auto">Thank you Victor!</p>
<p dir="auto">I renamed that lib directory and it did in fact compile, it through a few errors compiling but was able to compile and install.</p>
<p dir="auto">The DB upgrade did not go so smooth, but looking into that one.</p>
]]></description><link>https://forum.netxms.org/post/22438</link><guid isPermaLink="true">https://forum.netxms.org/post/22438</guid><dc:creator><![CDATA[rgimbel]]></dc:creator><pubDate>Wed, 31 May 2017 00:10:56 GMT</pubDate></item><item><title><![CDATA[Reply to Troubles Compiling 2.1RC1 on CentOS7 on Mon, 29 May 2017 15:38:02 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">this could be caused by older version of libraries already installed. Try to remove old NetXMS libraries (probably under /usr/local/lib).</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/22431</link><guid isPermaLink="true">https://forum.netxms.org/post/22431</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Mon, 29 May 2017 15:38:02 GMT</pubDate></item></channel></rss>