Re: ggkwdr error

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 21 Apr 2009 07:10:59 -0600

Thanks Samrat, and yes, this is a likely source of the problem.
Usually if "ggkwdr" is undefined,
it's because the files containing this function didn't get built, and
this usually happens because
other files in the the same directory didn't get built for some
reason, and this is likely due
to the wchar_t problem.

--Mary

On Apr 21, 2009, at 3:06 AM, Samrat Rao wrote:

>
> 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.
>
> 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.
>
> _______________________________________________
> 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

_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Tue Apr 21 2009 - 07:10:59 MDT

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