[ncl-install] Error while while running ncargf90: "undefined reference to `ggkwdr_'"

Mary Haley haley at ucar.edu
Wed Jun 4 08:35:56 MDT 2014


Hi Dani,

Your GKS library didn’t get fully built for some reason, and I will need to see the build output from this in order to determine the problem.

Also, what version of NCL are you trying to build? If it is version 6.1.0 or later, then you are required to build the cairo, pixman-1, and freetype libraries, as the GKS library depends on them.  The GKS library build will fail if it can’t find the appropriate include files for this software.

—Mary

On Jun 3, 2014, at 6:56 PM, Danielle Manalaysay <danimanalaysay at gmail.com> wrote:

> Hi 
> 
> I encountered the ff problem while running ncargf90 (for hycom, i need ncargf90 to to plot)
> 
> /usr/local/ncarg/lib/libncarg_gks.a(gziqwk.o): In function `gziqwk_':
> gziqwk.f:(.text+0x123): undefined reference to `ggkwdr_'
> /usr/local/ncarg/lib/libncarg_gks.a(gztowk.o): In function `gztowk_':
> gztowk.f:(.text+0x2ce): undefined reference to `ggkwdr_'
> gztowk.f:(.text+0x5a2): undefined reference to `ggkwdr_'
> gztowk.f:(.text+0x984): undefined reference to `ggkwdr_'
> make: *** [hycomproc] Error 1
> 
> I have already done: 
>    cd $NCARG/ncarg2d/src/libncarg_gks
>    rm awi/ggkwdr_stub.o
>    make all install
> as suggested on http://www.ncl.ucar.edu/Download/build_from_src.shtml but when i rerun I still encountered the same result.
> 
> I also tried the unrelated solution for "conflicting types for wchar_t", but still to no avail (actually additional error was encountered: skipping incompatible /usr/lib/libm.so when searching for -lm
> ld: skipping incompatible /usr/lib/libpthread.so when searching for -lpthread
> ld: skipping incompatible /usr/lib/libc.so when searching for -lc
> ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
> ld: skipping incompatible /usr/lib/libc.so when searching for -lc)
> 
> I used ifort and icc to build. 
> 
> Looking forward to your reponse.
> 
> Regards,
> Dani
> -- 
> Danielle L. Manalaysay
> Research Associate
> 
> The Marine Science Institute
> University of the Philippines 
> Diliman, Quezon City 
> 1101 Philippines
> Phone No: +639223957
> 
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20140604/67e4104e/attachment.html 


More information about the ncl-install mailing list