- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a Fortran function that uses ** operation, the linker gives the following error
ld: Undefined symbols:
___powr8i8, referenced from:
_pow_ in pow.o
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The libraries specified to the linker are -lifcore -limf -lintlc -lirc -lsvml apart from others.
I am using OneAPI 2023 The clang linker is use since, I have link against other c libraries. Is there a way to fix this linker error ?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Check your paths - powr8i8 is in libimf, which you are correctly trying to link in with -limf
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