<?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[NetXMS 0.2.20 compilation]]></title><description><![CDATA[<p dir="auto">Hello, Victor!<br />
I am trying to compile netxms 0.2.20 witch odbc support. during compilation the system says:<br />
odbc.cpp: In function 'void* DrvSelect(ODBCDRV_CONN*, WCHAR*, DWORD*)':<br />
odbc.cpp:250: error: cannot convert 'const WCHAR*' to 'const wchar_t*' for argument '1' to 'wchar_t* wcsdup(const wchar_t*)'<br />
odbc.cpp: In function 'LONG DrvGetFieldLength(ODBCDRV_QUERY_RESULT*, int, int)':<br />
odbc.cpp:284: error: cannot convert 'WCHAR*' to 'const wchar_t*' for argument '1' to 'size_t wcslen(const wchar_t*)'<br />
odbc.cpp: In function 'WCHAR* DrvGetField(ODBCDRV_QUERY_RESULT*, int, int, WCHAR*, int)':<br />
odbc.cpp:304: error: cannot convert 'WCHAR*' to 'wchar_t*' for argument '1' to 'wchar_t* wcsncpy(wchar_t*, const wchar_t*, size_t)'<br />
make[5]: *** [odbc.lo] Error 1<br />
What can be the cause of this?</p>
<p dir="auto">Interesting that netxms 0.2.19 compiles without problems.</p>
]]></description><link>https://forum.netxms.org/topic/286/netxms-0.2.20-compilation</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:21:37 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/286.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Apr 2008 10:22:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to NetXMS 0.2.20 compilation on Thu, 10 Apr 2008 12:29:02 GMT]]></title><description><![CDATA[<p dir="auto">Main problem is to find Linux ODBC driver for MS SQL. Second is to configure unixODBC.  There are some useful links from unixODBC site:<br />
<a href="http://www.unixodbc.org/odbcinst.html" rel="nofollow ugc">http://www.unixodbc.org/odbcinst.html</a><br />
<a href="http://www.unixodbc.org/config.html" rel="nofollow ugc">http://www.unixodbc.org/config.html</a></p>
<p dir="auto">Please note that FreeTDS mosy likely will not work because it doesn't support UNICODE ODBC interface.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/1428</link><guid isPermaLink="true">https://forum.netxms.org/post/1428</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 10 Apr 2008 12:29:02 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS 0.2.20 compilation on Thu, 10 Apr 2008 10:33:50 GMT]]></title><description><![CDATA[<p dir="auto">Here is config.log</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000089-config.log">config.log</a></p>
]]></description><link>https://forum.netxms.org/post/1422</link><guid isPermaLink="true">https://forum.netxms.org/post/1422</guid><dc:creator><![CDATA[xoJIog]]></dc:creator><pubDate>Thu, 10 Apr 2008 10:33:50 GMT</pubDate></item><item><title><![CDATA[Reply to NetXMS 0.2.20 compilation on Thu, 10 Apr 2008 10:26:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">We have changed UNICODE support in 0.2.20 - this should be the cause. I'll take a look at this today. Could you please post config.log here or send it to <a href="mailto:dump@netxms.org" rel="nofollow ugc">dump@netxms.org</a>?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/1421</link><guid isPermaLink="true">https://forum.netxms.org/post/1421</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 10 Apr 2008 10:26:11 GMT</pubDate></item></channel></rss>