0 Replies Latest reply on Feb 29, 2008 8:56 AM by AshleyMills

    Statically linking ACML under Visual C++ 2005 on Windows

    AshleyMills
      Statically linking ACML under Visual C++ 2005 on Windows

      I am trying to statically link ifort32 ACML with an executable under Visual C++ 2005, but I get the following unresolved symbol errors:

      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _fio_src_info
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _fio_fmtw_init
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _fio_fmt_write
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _fio_sc_fmt_write
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _fio_fmtw_end
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _ftn_stop
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _ftn_strcmp
      libacml.lib(ilaenvkernel.obj) : error LNK2001: unresolved external symbol _ftn_strcmp
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _fio_fmtr_intern_init
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _fio_fmt_read
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _fio_fmtr_end
      libacml.lib(xerbla.obj) : error LNK2001: unresolved external symbol _fio_fmtw_intern_init
      libacml.lib(dtrtri.obj) : error LNK2001: unresolved external symbol _ftn_str_copy
      libacml.lib(ztrtri.obj) : error LNK2001: unresolved external symbol _ftn_str_copy
      libacml.lib(ilaenvkernel.obj) : error LNK2001: unresolved external symbol _ftn_str_copy
      libacml.lib(ztrmv.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(ztrmmwrap.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(zgeru.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(dtrsmwrap.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(ztrsmwrap.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(dtrmv.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(dtrmmwrap.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(dgemv.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(dgemm.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(zgemv.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(zgemm.obj) : error LNK2001: unresolved external symbol ___builtin_stinit
      libacml.lib(dgemv.obj) : error LNK2001: unresolved external symbol _ftn_str_index
      libacml.lib(zgemv.obj) : error LNK2001: unresolved external symbol _ftn_str_index
      libacml.lib(dgeblkmat.obj) : error LNK2001: unresolved external symbol _ftn_str_index
      libacml.lib(zgeblk2mat.obj) : error LNK2001: unresolved external symbol _ftn_str_index
      libacml.lib(ilaenvkernel.obj) : error LNK2001: unresolved external symbol _ftn_str_cpy1
      libacml.lib(ztrti2.obj) : error LNK2001: unresolved external symbol ___mth_i_cddiv
      libacml.lib(zgetrf7t.obj) : error LNK2001: unresolved external symbol ___mth_i_cddiv
      libacml.lib(ztrsmUkernf.obj) : error LNK2001: unresolved external symbol ___mth_i_cddiv
      libacml.lib(ztrsmLkernf.obj) : error LNK2001: unresolved external symbol ___mth_i_cddiv

      Can you tell me why?

      Thanks

      Ashley Mills