[netcdfgroup] problem when building netcdf

Dear All

I want to install netcdf-3.6.0 with intel 2011 compilers and i set environment 
variables:

$ export CC=icc
$ export CXX=icpc
$ export CFLAGS='-O3 -xT -ip -no-prec-div -static'
$ export CXXFLAGS='-O3 -xT -ip -no-prec-div -static'

$ export F77=ifort
$ export FC=ifort
$ export F90=ifort
$ export FFLAGS='-O3 -xT -ip -no-prec-div -static'

$ export CPP='icc -E'
$ export CXXCPP='icpc -E'

then, i write "./configure", then "make" and I get the following

Can anyone helping me fixing this please?
Thanks in advance

Hossein

 .
 .
 .
icc: command line remark #10279: option '-xT' is deprecated and will be removed 
in a future release. See '-help deprecated'
depbase=`echo ncgentab.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
    if icc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I.. -I../libsrc 
-I../libsrc   -O3 -xT -ip -no-prec-div -static -MT ncgentab.o -MD -MP -MF 
"$depbase.Tpo" -c -o ncgentab.o ncgentab.c; \
    then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; 
fi
icc: command line remark #10279: option '-xT' is deprecated and will be removed 
in a future release. See '-help deprecated'
depbase=`echo escapes.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
    if icc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I.. -I../libsrc 
-I../libsrc   -O3 -xT -ip -no-prec-div -static -MT escapes.o -MD -MP -MF 
"$depbase.Tpo" -c -o escapes.o escapes.c; \
    then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; 
fi
icc: command line remark #10279: option '-xT' is deprecated and will be removed 
in a future release. See '-help deprecated'
depbase=`echo getfill.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
    if icc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I.. -I../libsrc 
-I../libsrc   -O3 -xT -ip -no-prec-div -static -MT getfill.o -MD -MP -MF 
"$depbase.Tpo" -c -o getfill.o getfill.c; \
    then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; 
fi
icc: command line remark #10279: option '-xT' is deprecated and will be removed 
in a future release. See '-help deprecated'
depbase=`echo init.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
    if icc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I.. -I../libsrc 
-I../libsrc   -O3 -xT -ip -no-prec-div -static -MT init.o -MD -MP -MF 
"$depbase.Tpo" -c -o init.o init.c; \
    then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; 
fi
icc: command line remark #10279: option '-xT' is deprecated and will be removed 
in a future release. See '-help deprecated'
depbase=`echo genlib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
    if icc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran  -I.. -I../libsrc 
-I../libsrc   -O3 -xT -ip -no-prec-div -static -MT genlib.o -MD -MP -MF 
"$depbase.Tpo" -c -o genlib.o genlib.c; \
    then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; exit 1; 
fi
icc: command line remark #10279: option '-xT' is deprecated and will be removed 
in a future release. See '-help deprecated'
/bin/bash ../libtool --tag=CC --mode=link icc  -O3 -xT -ip -no-prec-div 
-static   -o ncgen  main.o load.o ncgentab.o escapes.o getfill.o init.o 
genlib.o ../libsrc/libnetcdf.la 
libtool: link: icc -O3 -xT -ip -no-prec-div -o ncgen main.o load.o ncgentab.o 
escapes.o getfill.o init.o genlib.o  ../libsrc/.libs/libnetcdf.a
icc: command line remark #10279: option '-xT' is deprecated and will be removed 
in a future release. See '-help deprecated'
ld: cannot find -lstdc++
make[2]: *** [ncgen] Error 1
make[2]: Leaving directory `/home/h/netcdf-3.6.2/ncgen'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/h/netcdf-3.6.2'
make: *** [all] Error 2

  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: