- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to compile a program with CVF version 6.5 and
I am getting the following linker error:
LNK2001: unresolved external symbol _LEQI@16
I have checked the code and their are no calls to external libraries. I cannot figure out what the
symbol _LEQI@16 is. Can anyone help?
I am getting the following linker error:
LNK2001: unresolved external symbol _LEQI@16
I have checked the code and their are no calls to external libraries. I cannot figure out what the
symbol _LEQI@16 is. Can anyone help?
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My first guess still would be that somewhere your source code generates a call to a function or subroutine named leqi (could be a typo, maybe an undeclared array). Either that function failed to compile, or it didn't come out with matching argument declarations. In many cases, the /debug option will give better diagnostics.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You have a call to a subroutine or function named LEQI - the full error message will tell you the name of the object file that contains the reference, which will match the name of a source file.
Compare the call of LEQI against the declaration of the routine by the same name (and if you don't have one, what is the call supposed to do?) Verify that the argument lists match in number of arguments and datatypes of arguments - be especially wary of a mismatch between character and non-character. The argument lists must match (unless you're using OPTIONAL arguments and then you need an explicit interface.)
Steve
Compare the call of LEQI against the declaration of the routine by the same name (and if you don't have one, what is the call supposed to do?) Verify that the argument lists match in number of arguments and datatypes of arguments - be especially wary of a mismatch between character and non-character. The argument lists must match (unless you're using OPTIONAL arguments and then you need an explicit interface.)
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Right on, there was a logical variable called leqi
but it is just used in a subroutine. Why it gives an
error is beyond me. I deleted the subroutine and
I received no linking errors.
Thank you very much
Jim
but it is just used in a subroutine. Why it gives an
error is beyond me. I deleted the subroutine and
I received no linking errors.
Thank you very much
Jim

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