- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am trying to port a mixed language program from IA-32 to Intel64 platform. I have changed the libraries and includes for the 64bit machnine, but when I link, I get 500 linker errors consistant with these:
Error 28 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 30 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 31 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 32 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 168 error LNK2001: unresolved external symbol _for_deallocate
Error 169 error LNK2001: unresolved external symbol _for_deallocate
Error 170 error LNK2001: unresolved external symbol _for_deallocate
Error 171 error LNK2001: unresolved external symbol _for_deallocate
Error 172 error LNK2001: unresolved external symbol _for_deallocate
Any suggestions, I haven't changed any source code.
.
Thanks,
Steve
Error 28 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 30 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 31 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 32 error LNK2001: unresolved external symbol _for_check_mult_overflow
Error 168 error LNK2001: unresolved external symbol _for_deallocate
Error 169 error LNK2001: unresolved external symbol _for_deallocate
Error 170 error LNK2001: unresolved external symbol _for_deallocate
Error 171 error LNK2001: unresolved external symbol _for_deallocate
Error 172 error LNK2001: unresolved external symbol _for_deallocate
Any suggestions, I haven't changed any source code.
.
Thanks,
Steve
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It looks as if you have some 32-bit code in there - without seeing the project I can't say exactly where. Is this a Visual Studio project? If so, have you changed the configuration to add the "x64" platform as described in the Fortran documentation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes and when I try to compile on the x64 platform it says it is not installed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What does it say is not installed?
In order to build for the x64 platform you need to have the "x64 Compiler and Tools" component of Visual Studio 2005 installed. This is not selected in a default install of VS2005 Professional and above, though it is default in VS2005 Standard (and the bundled VS2005 Premier Partner Edition.) If you don't have that, do a "modify" of VS2005 in Add/Remove Programs and add that feature (under Visual C++).
You also need the Intel Fortran Compiler for applications running on Intel 64. If you have not previously installed that, you can download it from the Intel Registration Center.
In order to build for the x64 platform you need to have the "x64 Compiler and Tools" component of Visual Studio 2005 installed. This is not selected in a default install of VS2005 Professional and above, though it is default in VS2005 Standard (and the bundled VS2005 Premier Partner Edition.) If you don't have that, do a "modify" of VS2005 in Add/Remove Programs and add that feature (under Visual C++).
You also need the Intel Fortran Compiler for applications running on Intel 64. If you have not previously installed that, you can download it from the Intel Registration Center.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok, this may have been the problem, but now the line INCLUDE 'link_fnl_shared.h' does not seem to work. Is this different for Intel64?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Actually, I was originally using INCLUDE 'link_fnl_shared_hpc.h'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, I fixed that part.

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