- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used intel visual fortran 9 for windows port CVF 6 project in VC.net 2003. I got the following link error.
libhsprsg.lib(cntl.obj) : error LNK2019: unresolved external symbol _BEEPQQ@8 referenced in function _CNTL_CLEANUP
libhsprsg.lib(envget.obj) : error LNK2019: unresolved external symbol _GETENVQQ@16 referenced in function _ENVGET
libhsprsg.lib(readlibs.obj) : error LNK2019: unresolved external symbol _GETENV@16 referenced in function _READLIBS
libhsprsg.lib(iob_readin.obj) : error LNK2019: unresolved external symbol _GETENV@16 referenced in function _IOB_READIN
libhsprsg.lib(envget.obj) : error LNK2019: unresolved external symbol _GETENVQQ@16 referenced in function _ENVGET
libhsprsg.lib(readlibs.obj) : error LNK2019: unresolved external symbol _GETENV@16 referenced in function _READLIBS
libhsprsg.lib(iob_readin.obj) : error LNK2019: unresolved external symbol _GETENV@16 referenced in function _IOB_READIN
my project setting is:
call conversion: CVF
use portable library: yes.
call conversion: CVF
use portable library: yes.
If we set "call conversion" to "Default", The link error are ok. but I wish to using "CVF" (because it will have much errors when using "Default"). How do I do to clean such link error?
Best Regards!
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Make sure you have
USE IFPORT
(or USE DFPORT)
in your source file.
That MOD file will make sure the correct external names are generated for these portability functions.
- Lorri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Lorri, I will try it. Our project is porting from VC6.0 + CVF6 to VC.net 2003 + IVF9. I remembered we used the "USE DFPORT" in CVF6, when porting to IVF9, I removed it, so get the link error. I will try it. Thanks!
Best Regards!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Lorri!
David

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