- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a program with several modules. I can compile all the modules and main program fine, but when I attempt to run the program I get the following message:
linking...
fminln.obj : error LNK2001: unresolved external symbol _FUNCV@8
newt.obj : error LNK2001: unresolved external symbol _FDJAC@12
newt.obj : error LNK2001: unresolved external symbol _LUDCMP@12
newt.obj : error LNK2001: unresolved external symbol _LUBKSB@12
newt.obj : error LNK2001: unresolved external symbol _LNSRCH@36
Debug/Cross.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.
I haven't been able to find out what the problem is, or what these errors are telling me. Can anyone point me in the right direction? Thanks.
linking...
fminln.obj : error LNK2001: unresolved external symbol _FUNCV@8
newt.obj : error LNK2001: unresolved external symbol _FDJAC@12
newt.obj : error LNK2001: unresolved external symbol _LUDCMP@12
newt.obj : error LNK2001: unresolved external symbol _LUBKSB@12
newt.obj : error LNK2001: unresolved external symbol _LNSRCH@36
Debug/Cross.exe : fatal error LNK1120: 5 unresolved externals
Error executing link.exe.
I haven't been able to find out what the problem is, or what these errors are telling me. Can anyone point me in the right direction? Thanks.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
fminln.obj : error LNK2001: unresolved external symbol _FUNCV@8
Means that in fminln.f90 - or its equivalent, there is a missing or wrong call to subroutine or function FUNCV.
I was confused by this a t first as the call looked correct and the subroutine was present, but then I found that the type of parameters was wrong - i.e. the call had integer*2 but the subroutine was defined with integer*4
Hope this is correct as I am by no means an expert.
David
Means that in fminln.f90 - or its equivalent, there is a missing or wrong call to subroutine or function FUNCV.
I was confused by this a t first as the call looked correct and the subroutine was present, but then I found that the type of parameters was wrong - i.e. the call had integer*2 but the subroutine was defined with integer*4
Hope this is correct as I am by no means an expert.
David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the help guys. I found I had many problems with mismatched variable types in the function calls. After a bit of work I've got the program running.
-Dave
-Dave

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