- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
this was not the first time i used the imsl libraries with the visual fortran.
the compilation was performed properly but the linker gave the following errors
error LNK2001: unresolved external symbol _RNSET@4
shufflecross.obj : error LNK2001: unresolved external symbol _RNNOA@8
Debug/crossshuffled.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
can anybody give me any suggestions?
the compilation was performed properly but the linker gave the following errors
error LNK2001: unresolved external symbol _RNSET@4
shufflecross.obj : error LNK2001: unresolved external symbol _RNNOA@8
Debug/crossshuffled.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
can anybody give me any suggestions?
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Since you have been successful at using IMSL with VF in the past, is it thensafe to assumethe obvious? Namely,
1.a 'use IMSL' or equivalent statement has been used in the appropriate position of the code and
2.the individual library routines RNSET, etc.,have not been declared with the'external' attribute?
If these are OK, then do you have an example of another program with IMSL routines that does compile and link successfully using VF?
Regards,
Richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes i did include
USE NUMERICAL_LIBRARIES at the start of the program as well as i also delared the used rotuines as external attributes.i also have other programs taht work fine by doing the same thing.
do you think there could be any other reason for it show that kind of an error?
USE NUMERICAL_LIBRARIES at the start of the program as well as i also delared the used rotuines as external attributes.i also have other programs taht work fine by doing the same thing.
do you think there could be any other reason for it show that kind of an error?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi there,
i also did get the following error when i used the IMSL the way i always use it.
Error: The attributes of this name conflict with those made accessible by a USE statement. [RNNOA]
EXTERNAL RNNOA, RNSET
-------------------------^
please advice
i also did get the following error when i used the IMSL the way i always use it.
Error: The attributes of this name conflict with those made accessible by a USE statement. [RNNOA]
EXTERNAL RNNOA, RNSET
-------------------------^
please advice
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're not doing it the way you always have in the past - you added the USE. If you do that, remove the EXTERNALs.

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