<?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[Compilation Error - Windows Environment]]></title><description><![CDATA[<p dir="auto">Hi all,<br />
   Am trying to compile Netxms-0.2.22 on window environment using VC2005 professional edition.</p>
<p dir="auto">I am facing the following errors and warnings during Linking process...</p>
<p dir="auto">Linking...<br />
.\Debug\graph.obj : warning LNK4042: object specified more than once; extras ignored<br />
main1.obj : warning LNK4006: _DllMain@12 already defined in main.obj; second definition ignored<br />
.\Debug\MainFrm.obj : warning LNK4042: object specified more than once; extras ignored<br />
nxevent.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxget.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxhttpd.obj : warning LNK4006: "char const * * g_szStatusText" (?g_szStatusText@@3PAPBDA) already defined in events.obj; second definition ignored<br />
nxhttpd.obj : warning LNK4006: "char const * * g_szStatusTextSmall" (?g_szStatusTextSmall@@3PAPBDA) already defined in events.obj; second definition ignored<br />
nxhttpd.obj : warning LNK4006: "void __cdecl Main(void)" (?Main@@YAXXZ) already defined in nxagentd.obj; second definition ignored<br />
nxhttpd.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxlexer.obj : warning LNK4006: _DllMain@12 already defined in main.obj; second definition ignored<br />
nxmc.obj : warning LNK4006: "void * g_hSession" (?g_hSession@@3PAXA) already defined in globals.obj; second definition ignored<br />
nxmc.obj : warning LNK4006: _WinMain@16 already defined in nxcstart.obj; second definition ignored<br />
nxmibc.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxpush.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxscript.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxsms.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxsnmpget.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxsnmpset.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxsnmpwalk.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
nxupload.obj : warning LNK4006: _main already defined in nxdbmgr.obj; second definition ignored<br />
parser.tab1.obj : warning LNK4006: "int yydebug" (?yydebug@@3HA) already defined in nxmp_parser.tab.obj; second definition ignored<br />
ping.obj : warning LNK4006: _NxSubAgentRegister already defined in logscan.obj; second definition ignored<br />
ping.obj : warning LNK4006: _DllMain@12 already defined in main.obj; second definition ignored</p>
<p dir="auto">Creating library Debug\netxms-2.20.lib and object Debug\netxms-2.20.exp<br />
CVTRES : fatal error CVT1100: duplicate resource.  type:ICON, name:1, language:0x0409<br />
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt</p>
<p dir="auto">Am not sure what the problem is and it would be rely helpful if someone tells me how to solve.</p>
<p dir="auto">Thanks,<br />
Shobha</p>
]]></description><link>https://forum.netxms.org/topic/535/compilation-error-windows-environment</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:48:25 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/535.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 26 Nov 2008 11:47:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Compilation Error - Windows Environment on Mon, 01 Dec 2008 11:43:10 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for your reply  victor, that was very helpful...<br />
Am trying to compile Netxms project using VC6 Express Edition.</p>
<p dir="auto">And these are the errors am facing....</p>
<p dir="auto">netxms-0.2.22\src\console\nxuilib\inplaceedit.h(70) : <strong>error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</strong><br />
netxms-0.2.22\src\console\nxuilib\inplacecombo.h(65) : <strong>error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</strong></p>
<p dir="auto">netxms-0.2.22\src\console\win32\nxcon.h(16) : <strong>fatal error C1189: #error :  Building NetXMS console without UNICODE support is deprecated</strong></p>
<p dir="auto">Compiling netxms-0.2.22\src\libnxsl\parser.y<br />
Compiling netxms-0.2.22\src\libnxsl\parser.l<br />
------ Build started: Project: libnxsrv, Configuration: Debug Win32 ------<br />
Running Message Compiler on netxms-0.2.22\src\server\libnxsrv\messages.mc<br />
flex: unknown flag '-'.  For usage, try<br />
 flex --help<br />
<strong>Project : error PRJ0019: A tool returned an error code from "Compiling  netxms-0.2.22\src\libnxsl\parser.l"</strong></p>
<p dir="auto">same error is in <strong>"netxms-0.2.22\src\server\core\nxmp_parser.l"</strong> file</p>
<p dir="auto"><strong>The most important error is <strong>"error LNK2019: unresolved external symbol "  - 1758 errors</strong></strong></p>
<p dir="auto">8&gt;   Creating library .\Debug/libnxmc.lib and object .\Debug/libnxmc.exp<br />
8&gt;wxPieCtrl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ) referenced in function "public: void * __thiscall wxString::`vector deleting destructor'(unsigned int)" (??_EwxString@@QAEPAXI@Z)<br />
8&gt;tools.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)<br />
8&gt;userSelectionDialog.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)<br />
8&gt;view.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)<br />
8&gt;viewtracker.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)<br />
8&gt;image.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)<br />
8&gt;main.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)<br />
8&gt;nxview.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)<br />
8&gt;objseldlg.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)<br />
8&gt;alarms.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)<br />
8&gt;events.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall wxString::~wxString(void)" (__imp_??1wxString@@QAE@XZ)</p>
<p dir="auto">I have no idea about these errors and it would be rely nice if someone helps me....</p>
<p dir="auto">Thanks,<br />
Shobha</p>
]]></description><link>https://forum.netxms.org/post/2665</link><guid isPermaLink="true">https://forum.netxms.org/post/2665</guid><dc:creator><![CDATA[shobha]]></dc:creator><pubDate>Mon, 01 Dec 2008 11:43:10 GMT</pubDate></item><item><title><![CDATA[Reply to Compilation Error - Windows Environment on Fri, 28 Nov 2008 11:52:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I highly recommend you to try to convert existing VC6 projects (as far as I know, Visual Studio 2005 has built-in conversion functionality for VC6 projects). Currently, there are 59 separate projects in VC6 workspace, each compiling in separate executable or DLL. They are not intended to be compiled into a single executable. The only exception is that it is possible to build monolithic agent with all subagents compiled into it, like static agent on UNIX platforms, but it will require some additional efforts.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/2659</link><guid isPermaLink="true">https://forum.netxms.org/post/2659</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 28 Nov 2008 11:52:03 GMT</pubDate></item><item><title><![CDATA[Reply to Compilation Error - Windows Environment on Fri, 28 Nov 2008 07:05:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi victor,<br />
            I have excluded all the subagents other than ping, and portchecking during compilation.</p>
<p dir="auto">During compilation i am not trying to port the VC6 workspace to VS2005 workspace.</p>
<p dir="auto">I am just compiling the whole project modules altogether to bring it as a single executable.I am doing</p>
<p dir="auto">the work as an windows project in VC++2005.I am in need of your help and suggestions to overcome</p>
<p dir="auto">the linker errors.Thanks in advance.</p>
<p dir="auto">Regards,</p>
<p dir="auto">Shobha.</p>
]]></description><link>https://forum.netxms.org/post/2658</link><guid isPermaLink="true">https://forum.netxms.org/post/2658</guid><dc:creator><![CDATA[shobha]]></dc:creator><pubDate>Fri, 28 Nov 2008 07:05:10 GMT</pubDate></item><item><title><![CDATA[Reply to Compilation Error - Windows Environment on Wed, 26 Nov 2008 16:48:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Looks like you mix files from different projects into one and trying to compile them as one executable. How do you create VC2005 workspace - by hand or by converting existing VC6 workspace?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/2654</link><guid isPermaLink="true">https://forum.netxms.org/post/2654</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 26 Nov 2008 16:48:58 GMT</pubDate></item></channel></rss>