- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Environment: Intel Parallel Studio XE 2013 with VS2010
Note: Before the program can be successfully compiled to run under CompaqVisualFortran
Error message:
Linking...
1>test_srif.obj : error LNK2019: 无法解析的外部符号 _MODUL_SRIF_mp_SRIF_TIMEUPD1@8,该符号在函数 _TEST_SRIF 中被引用
1>DFOR.LIB(for_diags.obj) : error LNK2019: 无法解析的外部符号 __sys_nerr,该符号在函数 _for__gerror@8 中被引用
1>DFOR.LIB(for_init.obj) : error LNK2019: 无法解析的外部符号 ___argv,该符号在函数 _for_rtl_init_ 中被引用
1>DFOR.LIB(for_init.obj) : error LNK2019: 无法解析的外部符号 ___argc,该符号在函数 _for_rtl_init_ 中被引用
1>DFOR.LIB(for_init.obj) : error LNK2019: 无法解析的外部符号 __pctype,该符号在函数 _build_args_from_cmdline 中被引用
1>DFOR.LIB(for_io_util.obj) : error LNK2001: 无法解析的外部符号 __pctype
1>DFOR.LIB(for_init.obj) : error LNK2019: 无法解析的外部符号 ___mb_cur_max,该符号在函数 _build_args_from_cmdline 中被引用
1>DFOR.LIB(for_io_util.obj) : error LNK2001: 无法解析的外部符号 ___mb_cur_max
1>DFOR.LIB(for_init.obj) : error LNK2019: 无法解析的外部符号 __pxcptinfoptrs,该符号在函数 _GETEXCEPTIONPTRSQQ@0 中被引用
1>DFOR.LIB(for_m_qqs.obj) : error LNK2019: 无法解析的外部符号 _errno,该符号在函数 _flush_nonadv_buffers 中被引用
1>DFOR.LIB(for_portlib.obj) : error LNK2001: 无法解析的外部符号 _errno
1>DFOR.LIB(intrin.obj) : error LNK2001: 无法解析的外部符号 ___fastflag
what should i do to solove the problem?
thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are linking with CVF's DFOR.LIB, which will not work with Intel Fortran. Make sure that all your Fortran sources are recompiled with Intel Fortran and that you have removed all references to CVF libraries from your build options.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page