<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: linker errors in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/linker-errors/m-p/936278#M15950</link>
    <description>If by "ells" you mean the .DLL files, you don't "link against DLLs" and don't put DLLs in the project or link libs options.  When a DLL is created, the MS linker also creates a .LIB file called an "export library".  THIS is what you need to link against.&lt;BR /&gt;&lt;BR /&gt;If you don't have one, then use the &lt;A href="ftp://ftp.compaq.com/pub/products/fortran/vf/makilib"&gt;MAKILIB tool&lt;/A&gt; to create one from the DLL.&lt;BR /&gt;&lt;BR /&gt;I still think you have a problem with a mixture of debug and non-debug C libraries. &lt;BR /&gt;&lt;BR /&gt;Steve</description>
    <pubDate>Sat, 27 Jan 2001 05:11:01 GMT</pubDate>
    <dc:creator>Steven_L_Intel1</dc:creator>
    <dc:date>2001-01-27T05:11:01Z</dc:date>
    <item>
      <title>linker errors</title>
      <link>https://community.intel.com/t5/Software-Archive/linker-errors/m-p/936275#M15947</link>
      <description>I'm trying to link a VF app with Tcl: when I link the following code with my application I get the subsequent link error.  The required static libraries have been included in the settings, and I don't think name decoration is the problem.  Any ideas.  (the Tcl .libs also require dlls at runtime - calling problem here?)   &lt;BR /&gt; &lt;BR /&gt;Thanks &lt;BR /&gt; &lt;BR /&gt;&lt;FONT size="+1"&gt;&lt;BR /&gt;&lt;PRE&gt;
/* 
 tclint.c, a simple Tcl interpreter. 
*/ 
 
#include &lt;STDIO.H&gt; 
#include &lt;STDLIB.H&gt; 
#include &lt;TCL.H&gt; 
     
 
Tcl_Interp* interp; 
 
int TclEvalFile() 
 
{  
	int         status; 
	char* string; 
	string = "hello.tcl"; 
        status = TCL_OK; 
        status = Tcl_EvalFile(interp, string); 
 
        /* Print result string. */ 
        if (interp-&amp;gt;result != NULL) { 
 
            printf("TCL: [%s]
", interp-&amp;gt;result); 
        } 
  return status; 
} 
 
int TclCreateInterp() 
 
{  
 
    interp = Tcl_CreateInterp(); 
    return 0; 
} 
 
int TclDeleteInterp() 
 
{ 
 
   /* Free memory for interpreter. */ 
    Tcl_DeleteInterp(interp); 
    return 0; 
} 
 
LINK : warning LNK4098: defaultlib "LIBCD" conflicts with use of other libs; use /NODEFAULTLIB:library 
saratcl.obj : error LNK2001: unresolved external symbol __imp__Tcl_EvalFile@8 
saratcl.obj : error LNK2001: unresolved external symbol __imp__Tcl_CreateInterp@0 
saratcl.obj : error LNK2001: unresolved external symbol __imp__Tcl_DeleteInterp@4 
../sara3d.exe : fatal error LNK1120: 3 unresolved externals 
Error executing link.exe. 
 
sara3d.exe - 4 error(s), 1 warning(s)
&lt;/TCL.H&gt;&lt;/STDLIB.H&gt;&lt;/STDIO.H&gt;&lt;/PRE&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 26 Jan 2001 00:38:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/linker-errors/m-p/936275#M15947</guid>
      <dc:creator>katoba88</dc:creator>
      <dc:date>2001-01-26T00:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: linker errors</title>
      <link>https://community.intel.com/t5/Software-Archive/linker-errors/m-p/936276#M15948</link>
      <description>First, it would appear you are building a debug configuration.  Please go to Project..Settings..Fortran..Libraries and check the box that says "Use debug C libraries".&lt;BR /&gt;&lt;BR /&gt;Next, the unresolved references appear to be caused by your not including the TCL DLL's import library in your list of libraries to be searched - or just add it to the project.&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Fri, 26 Jan 2001 00:48:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/linker-errors/m-p/936276#M15948</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-01-26T00:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: linker errors</title>
      <link>https://community.intel.com/t5/Software-Archive/linker-errors/m-p/936277#M15949</link>
      <description>Steve: I did as suggested and got same error.  If I include the ells explicitly in the link,libs settings I get: &lt;BR /&gt; &lt;BR /&gt;Linking... &lt;BR /&gt;Start Pass1 &lt;BR /&gt;libs	cl80.dll : fatal error LNK1136: invalid or corrupt file &lt;BR /&gt;Error executing link.exe. &lt;BR /&gt; &lt;BR /&gt;sara3d.exe - 1 error(I), 0 warning(I) &lt;BR /&gt; &lt;BR /&gt;If I just include the ells in the project I still get: &lt;BR /&gt; &lt;BR /&gt;    Searching .libs	k80.lib: &lt;BR /&gt;    Searching .libssend_file. lib: &lt;BR /&gt;    Searching .libs	cl80.lib: &lt;BR /&gt;    Searching .libssee32.lib: &lt;BR /&gt;Done Searching Libraries &lt;BR /&gt;LINK : warning LNK4098: default lib "libc.lib" conflicts with use of other libs; use /NODEFAULTLIB:library &lt;BR /&gt;End Pass1 &lt;BR /&gt;xpression.obj : error LNK2001: unresolved external symbol __imp__Tcl_EvalFile@8 &lt;BR /&gt;xpression.obj : error LNK2001: unresolved external symbol __imp__Tcl_CreateInterp@0 &lt;BR /&gt;xpression.obj : error LNK2001: unresolved external symbol __imp__Tcl_DeleteInterp@4 &lt;BR /&gt;DEBUG/sara3d.exe : fatal error LNK1120: 3 unresolved externals &lt;BR /&gt;Error executing link.exe. &lt;BR /&gt; &lt;BR /&gt;(Note the tcl/tk libs are being searched for unresolved names but not dlls) &lt;BR /&gt; &lt;BR /&gt;I have used the same tcl/tk libs &amp;amp; dlls in a small C program with same code and it works fine.  (BTW: I don't include the dlls in the project; just make sure there are available at execution time).  I also used dumpbin to look at the tcl dlls and can find missing names. &lt;BR /&gt; &lt;BR /&gt;Any help would be appreciated - I'm probably missing a setting someplace. &lt;BR /&gt; &lt;BR /&gt;Thanks  &lt;BR /&gt; &lt;BR /&gt;Denny Moore</description>
      <pubDate>Fri, 26 Jan 2001 22:15:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/linker-errors/m-p/936277#M15949</guid>
      <dc:creator>katoba88</dc:creator>
      <dc:date>2001-01-26T22:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: linker errors</title>
      <link>https://community.intel.com/t5/Software-Archive/linker-errors/m-p/936278#M15950</link>
      <description>If by "ells" you mean the .DLL files, you don't "link against DLLs" and don't put DLLs in the project or link libs options.  When a DLL is created, the MS linker also creates a .LIB file called an "export library".  THIS is what you need to link against.&lt;BR /&gt;&lt;BR /&gt;If you don't have one, then use the &lt;A href="ftp://ftp.compaq.com/pub/products/fortran/vf/makilib"&gt;MAKILIB tool&lt;/A&gt; to create one from the DLL.&lt;BR /&gt;&lt;BR /&gt;I still think you have a problem with a mixture of debug and non-debug C libraries. &lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Sat, 27 Jan 2001 05:11:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/linker-errors/m-p/936278#M15950</guid>
      <dc:creator>Steven_L_Intel1</dc:creator>
      <dc:date>2001-01-27T05:11:01Z</dc:date>
    </item>
  </channel>
</rss>

