- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a Fortran DLL for Microsoft Windows that I have build using the IFORT Compiler Classic. It is called from a C# Microsoft.NET application. Seeing the note that IFORT is deprecated and to be discontinued, I have tried to change it to use IFX and build a 64-bit version of the DLL. While it compiles without any issues under IFORT, I get several undefined symbol errors when I try to build an x64 or AnyCPU option for the DLL:
Error error: undefined symbol: _seh_filter_dll lld-link
Error error: undefined symbol: _configure_narrow_argv lld-link
Error error: undefined symbol: _execute_onexit_table lld-link
Error error: undefined symbol: _cexit lld-link
Error error: undefined symbol: _initterm lld-link
Error error: undefined symbol: _initialize_onexit_table lld-link
Error error: undefined symbol: _register_onexit_function lld-link
Error error: undefined symbol: terminate lld-link
Error error: undefined symbol: _crt_at_quick_exit lld-link
Error error: undefined symbol: _initterm_e lld-link
Error error: undefined symbol: _initialize_narrow_environment lld-link
Error error: undefined symbol: _crt_atexit lld-link
I cannot find any discussion or guidance on how to resolve these undefined symbol errors. These are not routines I see anywhere in my code or clearly discussed online, but if I search for the individual symbol names, they do come up in MSDN documentation. But there is not clear guidance on how to recognize them in a project other than several different *.h files. For the short term, I am going back to the IFORT compiler.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The sample of C#/Fortran works just fine with ifx. The samples can be downloaded from here.
Can you share your Fortran code as a reproducer?
What version of ifx are you using?
Please share your compiler options for both ifx and ifort.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page