|
From: Oleg U. <uv...@cs...> - 2002-02-04 16:56:34
|
Hello,
I have OSF1 V5.1 732 alpha with vis5d+ installed (v. 1.2.1, all default
dirs).
I have installed grib libraries as well (/usr/local/lib).
Now I am trying to build and use grib2v5d.
When I have VIS5D not set the configure script asks me to set it up
(although it is said in docs to unset it if there is correctly installed
vis5d+, another questions is what does it mean 'correctly installed', my
installation went smoothly and I am able to use vis5d+ as it described
in its docs).
I set up VSI5D in Configure.set.
Then the configure script seems to be working well (although there is
still scary 'f90: Severe: Failed while trying to link.' at the end):
bash-2.04# ./configure
Locating C compiler:
gcc
Locating Fortran compiler:
f77
Locating F90 compiler:
f90
Debug/optimisation otions: C -g Fortran -g F90 -g
Mixed language calling model found: 1
Machine is little endian
Vis5d source tree found in /usr/users/uvarov/install/vis5d+-1.2.1
Grib libraries found in /usr/local
Using linking option -g77libs
f90: Severe: Failed while trying to link.
Configuration successful!!!
bash-2.04#
Below is the output of make.
Please, what I do wrong? Any suggestions on what to do or what to read,
please?
bash-2.04# make
if [ -d picogrib ]; then cd picogrib; make USOHOME=..; fi
if [ -d grib_util ]; then cd grib_util; make USOHOME=.. FC=f77 F90=f90;
fi
cd src; make
f90 -c -g grib2v5d.f90
f77 -c -g eladata.f
f77 -c -g destagfault.f
gcc -c -traditional -g -DUNDERSCORE -DLITTLE -DSTDVIS5D
-I/usr/users/uvarov/install/vis5d+-1.2.1/src maketopo.c
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/unistd.h:617:
warning: "cuserid" redefined
In file included from
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/stdio.h:435,
from maketopo.c:27:
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/sys/types.h:167:
syntax error before "unsigned"
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/sys/types.h:168:
syntax error before "unsigned"
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/sys/types.h:169:
syntax error before "unsigned"
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/sys/types.h:170:
syntax error before "unsigned"
In file included from
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/stdio.h:435,
from maketopo.c:27:
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/sys/types.h:597:
parse error before "vu_char"
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/sys/types.h:598:
parse error before "vu_short"
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/sys/types.h:599:
parse error before "vu_int"
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/sys/types.h:600:
parse error before "vu_long"
In file included from maketopo.c:27:
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/stdio.h:474:
syntax error at '##' token
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/stdio.h:474: parse
error before "cuserid"
In file included from
/usr/users/uvarov/install/vis5d+-1.2.1/src/binio.h:42,
from maketopo.c:29:
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/unistd.h:229:
syntax error at '##' token
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/unistd.h:229:
parse error before "_Pgetlogin_r"
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/unistd.h:230:
syntax error at '##' token
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/unistd.h:230:
parse error before "_Pttyname_r"
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/unistd.h:621:
syntax error at '##' token
/usr/local/lib/gcc-lib/alpha-dec-osf5.1/3.0.1/include/unistd.h:621:
parse error before "_Ecuserid"
In file included from maketopo.c:29:
/usr/users/uvarov/install/vis5d+-1.2.1/src/binio.h:50: parse error
before "unsigned"
/usr/users/uvarov/install/vis5d+-1.2.1/src/binio.h:52: parse error
before "unsigned"
/usr/users/uvarov/install/vis5d+-1.2.1/src/binio.h:89: parse error
before "const"
/usr/users/uvarov/install/vis5d+-1.2.1/src/binio.h:91: parse error
before "const"
/usr/users/uvarov/install/vis5d+-1.2.1/src/binio.h:93: parse error
before "const"
/usr/users/uvarov/install/vis5d+-1.2.1/src/binio.h:97: parse error
before "const"
/usr/users/uvarov/install/vis5d+-1.2.1/src/binio.h:101: parse error
before "const"
/usr/users/uvarov/install/vis5d+-1.2.1/src/binio.h:103: parse error
before "const"
maketopo.c: In function `write_topo_':
maketopo.c:83: warning: cast to pointer from integer of different size
*** Exit 1
Stop.
*** Exit 1
Stop.
bash-2.04#
Thank you.
Respectfully,
Oleg Uvarov
|