Re: ggkwdr error

From: Samrat Rao <samrat.rao_at_nyahnyahspammersnyahnyah>
Date: Tue, 21 Apr 2009 14:36:05 +0530

Hi,
   In the troubleshooting section there is an unrelated solution like this:

3. [*Versions 5.0.0 and higher*] If you are seeing errors in your
compilation that mention "conflicting types for wchar_t", then add:

 -D__UNIXOS2__

(those are two double underscores on the front and the end) to the
"StdDefines" line in your configuration file in $NCARG/config (most likely
the LINUX or one of the Darwin files in that directory), and rerun "make
Everything".

Maybe you could try this and recompile. I am not sure whether this is the
right solution though.

   1.

On Tue, Apr 21, 2009 at 2:07 PM, Avel O <avel.o_at_hotmail.com> wrote:

> Hello,
>
> I built NCARG-5.1.0 (only) from source but when I run the exemple with the
> command ncargex cpex08 I get this log:
>
> Compiling and linking...
> gfortran -fPIC -fno-second-underscore -fno-range-check -O -o cpex08
> cpexcc.f cpex08.f -L/home/avel/project/graphics/lib -L/usr/X11R6/bin -lncarg
> -lncarg_gks -lncarg_c -lX11 -lXext -lpng -lz
> /home/avel/project/graphics/lib/libncarg_gks.a(gziqwk.o): In function
> `gziqwk_':
> gziqwk.f:(.text+0x19b): undefined reference to `ggkwdr_'
> /home/avel/project/graphics/lib/libncarg_gks.a(gztowk.o): In function
> `gztowk_':
> gztowk.f:(.text+0x298): undefined reference to `ggkwdr_'
> gztowk.f:(.text+0x6d6): undefined reference to `ggkwdr_'
> gztowk.f:(.text+0xa53): undefined reference to `ggkwdr_'
> collect2: ld returned 1 exit status
>
> I noticed a similar problem in the known problem section (problem no3) so I
> did
> cd ncarg2d/src/libncarg_gks
> rm awi/ggkwdr_stub.o
> make all install
> Then I did ncargex cpex08 again but I still get the same error log. Any
> thoughts or suggestion?
>
> Avel
>
> ------------------------------
> Rediscover HotmailŪ: Get e-mail storage that grows with you. Check it out.<http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage2_042009>
>
> _______________________________________________
> ncarg-talk mailing list
> ncarg-talk_at_ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
>
>

-- 
Samrat Rao

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue Apr 21 2009 - 03:06:05 MDT

This archive was generated by hypermail 2.2.0 : Fri Apr 24 2009 - 15:34:18 MDT