[ncl-install] Undefined reference to ggkwdr_ after building 6.2.1 for the PGI compilers

Mr. Darwin G. Adams (Contractor) adamsdg.ctr at afrl.hpc.mil
Wed Dec 10 13:16:26 MST 2014


Hi Mary,
I am attaching my current make.log file you requested.

I added the link to the freetpye2 directory and resolved the 
PGC-F010206-cant find include file freetype.config/ftheader.h error 
messages.

I still have probable issues with the GKS library. You suggested the 
snipped below, but no change obsevred in the make.log file.

  cd $NCARG/ncarg2d/src/libncarg_gks
  rm awi/ggkwdr_stub.o
  make all install

Also in the make.log file I have these:

pgcc -c -DLINUX64  -tp k8-64 -O -Msignextend -Mreentrant -fPIC 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -O  -I../../../.././include -I/usr/include 
-I/usr/include/X11 -I/opt/cray/hdf5/1.8.13/PGI/141/include 
-I/opt/cray/netcdf/4.3.2/PGI/141/include 
-I/app/ncar/szip/2.1-pgi/include -I/app/ncar/udunits/2.2.17-pgi/include 
-I/usr/include/freetype2 -I/app/ncar/hdf/hdf-4.2.10-1-1/include  -DLinux 
-DMAJOR=3 -DUSE_NETCDF4    -DBuildHDF5   -DNIO_LIB_ONLY   -DSYSV 
-D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto  NclHDF.c
PGC-F-0206-Can't find include file mfhdf.h (NclHDF.c: 32)
PGC/x86-64 Linux 14.2-0: compilation aborted
make[5]: *** [NclHDF.o] Error 2


gcc -tp k8-64 -O -Msignextend -Mreentrant -fPIC -D_FILE_OFFSET_BITS=64 
-D_LARGEFILE_SOURCE -mp  -O  -I../../../.././include -I/usr/include 
-I/usr/include/X11 -I/opt/cray/hdf5/1.8.13/PGI/141/include 
-I/opt/cray/netcdf/4.3.2/PGI/141/include 
-I/app/ncar/szip/2.1-pgi/include -I/app/ncar/udunits/2.2.17-pgi/include 
-I/usr/include/freetype2 -I/app/ncar/hdf/hdf-4.2.10-1-1/include  -DLinux 
    -DCTXT -DX11 -DPS -DPDF -DPIX  -DSYSV -D_POSIX_SOURCE 
-D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto    -c -o cro_device.o 
cro_device.c
PGC-S-0040-Illegal use of symbol, FT_Face 
(/usr/include/cairo/cairo-ft.h: 60)
PGC-W-0156-Type not specified, 'int' assumed 
(/usr/include/cairo/cairo-ft.h: 60)
PGC-S-0040-Illegal use of symbol, FT_Face 
(/usr/include/cairo/cairo-ft.h: 64)
PGC-W-0156-Type not specified, 'int' assumed 
(/usr/include/cairo/cairo-ft.h: 64)
PGC/x86-64 Linux 14.2-0: compilation completed with severe errors
make[5]: *** [cro_device.o] Error 2



The cario 1.8.8 libraries (at least the header files) appear to be 
installed.

/usr/include/cairo
include/cairo> ls -l
total 136
-rw-r--r-- 1 root root  9452 May  9  2010 cairo-deprecated.h
-rw-r--r-- 1 root root   571 May  9  2010 cairo-features.h
-rw-r--r-- 1 root root  2491 May  9  2010 cairo-ft.h
-rw-r--r-- 1 root root 79860 May  9  2010 cairo.h
-rw-r--r-- 1 root root  2305 May  9  2010 cairo-pdf.h
-rw-r--r-- 1 root root  3586 May  9  2010 cairo-ps.h
-rw-r--r-- 1 root root  2777 May  9  2010 cairo-svg.h
-rw-r--r-- 1 root root   147 May  9  2010 cairo-version.h
-rw-r--r-- 1 root root  2350 May  9  2010 cairo-xcb.h
-rw-r--r-- 1 root root  2174 May  9  2010 cairo-xcb-xrender.h
-rw-r--r-- 1 root root  3053 May  9  2010 cairo-xlib.h
-rw-r--r-- 1 root root  2432 May  9  2010 cairo-xlib-xrender.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: text/x-log
Size: 2508505 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-install/attachments/20141210/4ac7b2b7/attachment-0001.bin 


More information about the ncl-install mailing list