Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

why undefined reference to ??

$
0
0

I am now writing a makefile for a code not written by me. It uses 'MKL'. But the difficult part for me is that I do not know which 'lib' to include.

Now when I try to generate a executable file, errors  are:

undefined reference to XXX

I know I do not link the correct MKL lib to the code since I do not know subroutine is include in  which lib.

What should I do? I do not want to link all the 'lib' files in $(MKLROOT)/lib.

 

 

 

 


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>