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

undefined reference to `derf'

$
0
0

I compile others' codes ,I find it have a function below, I compile .......

Double Precision Function myderf(a)
Implicit None
Double Precision a
Double Precision derf
External derf
myderf=derf(a)

Return

End Function myderf

I got errors

ze_i386.o: In function `myderf_':
ze_i386.f90:(.text+0x1b): undefined reference to `derf'
ze_i386.o: In function `myderfc_':
ze_i386.f90:(.text+0x3b): undefined reference to `derfc'

why ?  need  I  link something ?


Viewing all articles
Browse latest Browse all 2583

Trending Articles



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