Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29306 Discussions

ifc8.0 compilation problem - undefined reference to `g05dza_9d_mp_g05cbf_9d_'

rln_sarma
Beginner
920 Views
Hi:

I am using ifc8.0 to run a NAG package program. The command I am issuing is:

ifort -I/opt/NAG/fnlux04dcl/nag_mod_dir/ nag_rand_contin_ex02.f90

I get the following error messages:

/tmp/ifortmJzj4P.o(.text+0x5c0): In function `MAIN__':
: undefined reference to `g05dza_9d_mp_g05cbf_9d_'
/tmp/ifortmJzj4P.o(.text+0x674): In function `MAIN__':
: undefined reference to `g05eaf_9d_'
/tmp/ifortmJzj4P.o(.text+0x79c): In function `MAIN__':
: undefined reference to `g05eaf_9d_'
/tmp/ifortmJzj4P.o(.text+0x8c9): In function `MAIN__':
: undefined reference to `x04cgf_9d_'

I DON'T get these errors if I use "-c" option in the "ifort" command above. Please let me know what I should do.

Thank you
Sarma
0 Kudos
1 Reply
Steven_L_Intel1
Employee
920 Views
You don't get the errors with -c because these are errors from ld. It looks as if you are missing some objects or libraries - in particular, the object that was created by compiling module g05dza_9d. I am not familar with NAG so I can't advise you as to how to link these in.
0 Kudos
Reply