[netcdfgroup] problem whit installing netcdf

Dear All

When i want to intall netcdf-3.6.0 i get this error
Can anyone help me with this please ?

Thanks in advance
Hossein
------------------------

make[1]: Entering directory `/home/mechanic/netcdf-3.6.0/src'

Making `all' in directory /home/mechanic/netcdf-3.6.0/src/libsrc

make[2]: Entering directory `/home/mechanic/netcdf-3.6.0/src/libsrc'
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   attr.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   dim.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   error.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   -DVERSION=`cat 
../VERSION` libvers.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   nc.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   ncio.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   ncx.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   putget.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   string.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   v1hpg.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   v2i.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I.   var.c
ar cru libnetcdf.a attr.o dim.o error.o libvers.o nc.o ncio.o ncx.o putget.o 
string.o v1hpg.o v2i.o var.o
ranlib libnetcdf.a
make[2]: Leaving directory `/home/mechanic/netcdf-3.6.0/src/libsrc'

Returning to directory /home/mechanic/netcdf-3.6.0/src

make[1]: Leaving directory `/home/mechanic/netcdf-3.6.0/src'
make[1]: Entering directory `/home/mechanic/netcdf-3.6.0/src'

Making `all' in directory /home/mechanic/netcdf-3.6.0/src/ncdump

make[2]: Entering directory `/home/mechanic/netcdf-3.6.0/src/ncdump'
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc   ncdump.c
ncdump.c(394): warning #181: argument is incompatible with corresponding format 
string conversion
            "UNLIMITED", dims[dimid].size);
                         ^

ncdump.c(396): warning #181: argument is incompatible with corresponding format 
string conversion
        Printf ("\t%s = %u ;\n", dims[dimid].name, dims[dimid].size);
                                                   ^

icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc   vardata.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc   dumplib.c
icc -o ncdump -O3 -xHost -ip -no-prec-div -static-intel  ncdump.o vardata.o 
dumplib.o ../libsrc/libnetcdf.a  
icc: warning #10237: -lcilkrts linked in dynamically, static library not 
available
make[2]: Leaving directory `/home/mechanic/netcdf-3.6.0/src/ncdump'

Returning to directory /home/mechanic/netcdf-3.6.0/src

make[1]: Leaving directory `/home/mechanic/netcdf-3.6.0/src'
make[1]: Entering directory `/home/mechanic/netcdf-3.6.0/src'

Making `all' in directory /home/mechanic/netcdf-3.6.0/src/ncgen

make[2]: Entering directory `/home/mechanic/netcdf-3.6.0/src/ncgen'
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc -I.   main.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc -I.   load.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc -I.   ncgentab.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc -I.   escapes.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc -I.   getfill.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc -I.   init.c
icc -c -O3 -xHost -ip -no-prec-div -static-intel -I../libsrc -I.   genlib.c
icc -o ncgen -O3 -xHost -ip -no-prec-div -static-intel  main.o load.o 
ncgentab.o escapes.o getfill.o init.o genlib.o ../libsrc/libnetcdf.a  
icc: warning #10237: -lcilkrts linked in dynamically, static library not 
available
make[2]: Leaving directory `/home/mechanic/netcdf-3.6.0/src/ncgen'

Returning to directory /home/mechanic/netcdf-3.6.0/src

make[1]: Leaving directory `/home/mechanic/netcdf-3.6.0/src'
make[1]: Entering directory `/home/mechanic/netcdf-3.6.0/src'

Making `all' in directory /home/mechanic/netcdf-3.6.0/src/cxx

make[2]: Entering directory `/home/mechanic/netcdf-3.6.0/src/cxx'
icpc -c -O3 -xHost -ip -no-prec-div  -static-intel -I../libsrc -I.   netcdf.cpp
icpc -c -O3 -xHost -ip -no-prec-div  -static-intel -I../libsrc -I.   
ncvalues.cpp
ncvalues.cpp(236): error: identifier "strncpy" is undefined
      strncpy(s, (const char*)the_values + n, (int)the_number);
      ^

ncvalues.cpp(244): error: identifier "strncpy" is undefined
      strncpy(s, (const char*)the_values + n, (int)the_number);
      ^

compilation aborted for ncvalues.cpp (code 2)
make[2]: *** [ncvalues.o] Error 2
make[2]: Leaving directory `/home/mechanic/netcdf-3.6.0/src/cxx'
make[1]: *** [subdir_target] Error 1
make[1]: Leaving directory `/home/mechanic/netcdf-3.6.0/src'
make: *** [cxx/all] Error 2
  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: