Thanks John, you hit this one on the head. I forgot I had set all this in my login script. I took it out and it worked like a charm.
> -DANSI -I/usr/local/VNI/imsl/cnl600/linux64/include
indicate to me you have some non-standard stuff in your build
environment ... try and remove the CFLAGS that are causing the "visual
numerics" include flags to set.