[ncl-install] failed to compile ncl
ELAD SHILO
shilo.1 at osu.edu
Wed Jan 16 07:50:12 MST 2008
Hello,
I am trying to install NCL on linux red hat enterprise 4.
While doing so, ncl does not compile due to the following errors:
pgcc -c -DLINUX -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O -I../../.././include -I/usr/X11R6/include -DLinux -DMAJOR=2 -DBuildHDFEOS -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto NclHDF.c
NOTE: your evaluation license will expire in 14 days, 20.7 hours.
For a permanent license, please read the order acknowledgement
that you received. Connect to https://www.pgroup.com/License with
the username and password in the order acknowledgement.
Name: jhf
User: sqsd
Email: nsx2 at xs
Hostid: PGI=000FB0E0C8AFCC0F08B150
PGC-S-0091-Integer constant expression required (NclHDF.c: 66)
PGC-S-0091-Integer constant expression required (NclHDF.c: 311)
PGC-S-0039-Use of undeclared variable MAX_NC_NAME (NclHDF.c: 313)
PGC-S-0091-Integer constant expression required (NclHDF.c: 66)
PGC-S-0091-Integer constant expression required (NclHDF.c: 311)
PGC-S-0039-Use of undeclared variable MAX_NC_NAME (NclHDF.c: 313)
PGC-S-0091-Integer constant expression required (NclHDF.c: 463)
PGC-S-0091-Integer constant expression required (NclHDF.c: 465)
PGC-S-0091-Integer constant expression required (NclHDF.c: 650)
PGC-S-0091-Integer constant expression required (NclHDF.c: 651)
PGC-S-0091-Integer constant expression required (NclHDF.c: 1250)
PGC-S-0091-Integer constant expression required (NclHDF.c: 1470)
PGC-S-0091-Integer constant expression required (NclHDF.c: 1953)
PGC/x86 Linux/x86 6.0-5: compilation completed with severe errors
make[4]: *** [NclHDF.o] Error 2
and it is look like this is the causitive also to:
: undefined reference to `DoTotal'
wrapit.o(.text+0x4f70): In function `yyparse':
: undefined reference to `DoTotal'
wrapit.o(.text+0x4f70): In function `yyparse':
: undefined reference to `DoDimsizes'
wrapit.o(.text+0x4fce): In function `yyparse':
: undefined reference to `DoDimsizes'
wrapit.o(.text+0x51ca): In function `yyparse':
: undefined reference to `current'
wrapit.o(.text+0x527f): In function `yyparse':
: undefined reference to `current'
wrapit.o(.text+0x547b): In function `yyparse':
: undefined reference to `current'
make[4]: *** [wrapit77] Error 2
make[4]: Leaving directory `/usr/local/ncl_ncarg-5.0.0/ni/src/mkwrap'
Making install in ./ni/src/db
make[4]: Entering directory
....Ncar graphics compiled without any problem.
Is it some compiler flags problem?
I am currently using test version of pgf90.
Similar errors appeared when using gcc.
Any help will be great.
Thank's
Elad shilo
More information about the ncl-install
mailing list