Run time library?

From: Atmapuri (janez.makovsek_at_usa.net)
Date: 04/26/04


Date: Mon, 26 Apr 2004 15:59:06 +0200

Hi!

I want to build a custom dll from Intel MKL dll's with Intel's
Fortran compiler. The fortran compiler
should not have anything to do with it, but run time
libraries probably.

I have added: libguide.lib, mkl_ia32.lib, mkl_lapack.lib, mkl_s.lib

And the following .def file:

 EXPORTS
 daxpy = _DAXPY@24

This linked fine under CVF, but using Intel F7.1 with VS6.0
I am getting:

--------------------Configuration: dlltest1 - Win32
Release--------------------
Linking...
LINK : warning LNK4001: no object files specified; libraries used
LINK : warning LNK4001: no object files specified; libraries used
   Creating library Release/dlltest1.lib and object Release/dlltest1.exp
LINK : error LNK2001: unresolved external symbol __DllMainCRTStartup@12
mkl_ia32.lib(mkl_cpuid.obj) : error LNK2001: unresolved external symbol
_strcpy
mkl_ia32.lib(mkl_cpuid.obj) : error LNK2001: unresolved external symbol
_strlen
mkl_ia32.lib(mkl_cpuid.obj) : error LNK2001: unresolved external symbol
_atoi
Release/dlltest1.dll : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.

dlltest1.dll - 5 error(s), 2 warning(s)

How can I fix that?
Thanks!
Atmapuri.



Relevant Pages

  • Re: [opensuse] where is libg2c.so in SuSE 10.3 ?
    ... That sounds like things generated by a FORTRAN compiler like g77. ... these are provided in libraries libF77.a and libI77.a, ... Try installing it and have another go. ...
    (SuSE)
  • Link problem with Compaq Visual Fortran
    ... yet one of the source codes is a Fortran program. ... to compile the Fortran and C into a library. ... I first got some message saying some libraries are missing (ex: ... dfor.lib: error LNK2001: unresolved external symbol ...
    (comp.lang.fortran)
  • Missing Lib Files
    ... involve missing libraries. ... unresolved external symbol DisableThreadLibraryCalls referenced in function ... Can I copy the libraries to the paths they are missing from ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Missing Lib Files
    ... involve missing libraries. ... unresolved external symbol DisableThreadLibraryCalls referenced in function ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Missing Lib Files
    ... I've found that strange errors tend to go away after a clean sysgen. ... Consider using a build window (if you're in Visual Studio right click your ... libraries and header files. ... unresolved external symbol DisableThreadLibraryCalls referenced in function ...
    (microsoft.public.windowsce.platbuilder)