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

undefined reference to `__ctype_b' : u

nicolab
Beginner
1,153 Views
Hi,
when I try to compile my fortran 90 code, the compilation takes place but then I get this:
/opt/intel/compiler70/ia32/lib/libIEPCF90.a(f90fioerr.o)(.text+0x4d3): In function `f_f77ioerr':
undefined reference to `__ctype_b'

I've read that there might be some incompatibility with recent versions of gcc, but I don't know if there is any workaround... That's frustrating!

Thanks for your help.

Info: gentoo distro
default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686
ifc 7.1.008
0 Kudos
1 Reply
TimP
Honored Contributor III
1,153 Views
As you are using a version of ifort so old that it doesn't support glibc-2.3.x , you would be better off upgrading.
0 Kudos
Reply