Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Linking problem with ifort 8.0.039

harango
Beginner
363 Views
Dear Fellows,
I having the following error when I link my application with ifort 8.0.039:
ifort -pc80 -tpp7 -xW -ip -O2 -Vaxlib -o oceanS libocean.a -L/opt/intel/compiler70/ia32/lib -lnetcdf

libocean.a(ocean.o)(.text+0xa): In function `MAIN__':
: undefined reference to `__intel_proc_init'

/opt/intel/compiler80/lib/libifcoremt.a(cvt_cvtas_x.o)(.text+0xb9c): In function `cvt_ieee_x_to_text_ex':
: undefined reference to `a_mulq'

/opt/intel/compiler80/lib/libifcoremt.a(cvt_cvtas_x.o)(.text+0x1296): In function `cvt_ieee_x_to_text_ex':
: undefined reference to `a_divq'

make: *** [../oceanS] Error 1
Notice that I am using a library compiled with ifc 7.0. This
for the IO NetCDF library.
I appreciate any help to resolve the undifined references.
Thank you, Hernan
0 Kudos
1 Reply
Steven_L_Intel1
Employee
363 Views
You must recompile all Fortran code with 8.0 - you can't mix 7.x libraries with it.
0 Kudos
Reply