- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I need to find some way of linking object files created using the v6.1 compiler with object files created using the v6.5 compiler. I use object files from a v6.5 project and modules created using the v6.1 compiler and when I try to link the v6.5 objects with a v6.1 object using the v6.1 linker I run into LNK2001 linker problems.
It nearly works but I get LNK2001 "unresolved external symbol" for just one intrinsic routine which is RANDOM_NUMBER. Hence it seems that the RANDOM_NUMBER calls in the object files created by v6.5 are not recognised by the v6.1 linker. Does anybody know how I can make the object files or intrinsic routines compatible between v6.1 and v6.5?
Many thanks in advance for any suggestions.
It nearly works but I get LNK2001 "unresolved external symbol" for just one intrinsic routine which is RANDOM_NUMBER. Hence it seems that the RANDOM_NUMBER calls in the object files created by v6.5 are not recognised by the v6.1 linker. Does anybody know how I can make the object files or intrinsic routines compatible between v6.1 and v6.5?
Many thanks in advance for any suggestions.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You're linking a 6.5 object with the 6.1 run-time library. Can't do that. You always have to link against the run-time library that is at least as new as the compiler you used. It's not the linker (which is pretty much the same), but the libraries.
Steve
Steve

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