Re: Re: Problem with X11 (Suse 10.1)

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 12 Feb 2007 07:59:13 -0700 (MST)

On Sun, 11 Feb 2007, Dimitra Barkouta wrote:

> Hi again!
> I reconfingured and then I set the environment as you indicated but I
> still take the same error:
> NCAR Graphics Fortran Example <cpex08>
>
> Copying cpex08.f
>
> Copying cpexcc.f
>
> Compiling and linking...
> pgf90 -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/lib -L/usr/X11R6/lib
> -lncarg -lncarg_gks -lncarg_c -lX11
> cpexcc.f:
> cpex08.f:
> /usr/local/lib/libncarg_gks.a(gziqwk.o): In function `gziqwk_':
> gziqwk.f:(.text+0x17f): undefined reference to `ggkwdr_'
> /usr/local/lib/libncarg_gks.a(gztowk.o): In function `gztowk_':
> gztowk.f:(.text+0x27c): undefined reference to `ggkwdr_'
> gztowk.f:(.text+0x646): undefined reference to `ggkwdr_'
> gztowk.f:(.text+0x95e): undefined reference to `ggkwdr_'
>
> The compile and link failed.
> Could you imagine what else might have gone wrong?
>
> Thank you in advance
>
> Dimitra
>
>
>>

Dear Dimitra,

Is this a version of NCAR Graphics that you built from scratch, or
precompiled binaries that you downloded from the web?

If you built the libraries from scratch, it looks like perhaps your
GKS library didn't build correctly or is incomplete somehow. You
should look at your "make-output" file and look for the compilation of
"fort_c.c" and check that it got compiled and archived into the
"libncarg_gks.a" library. This file is the one that contains the
"ggkwdr" symbol.

If you downloaded precompiled binaries, then please let me know
which ones you downloaded, and I'll check that the libraries
aren't incomplete somehow.

--Mary

>> I installed NCAR graphics and at the installation test I receive the error:
>>
>>
>> _________________________________________________________
>> vaio local/ncarg-4.4.1# ncargex cpex08
>>
>> NCAR Graphics Fortran Example <cpex08>
>>
>> Copying cpex08.f
>>
>> Copying cpexcc.f
>>
>> Compiling and linking...
>> pgf90 -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/lib -L/usr/X11R6/lib
>> -lncarg -lncarg_gks -lncarg_c -lX11
>> cpexcc.f:
>> cpex08.f:
>> /usr/bin/ld: cannot find -lX11
>>
>> The compile and link failed.
>> ---------------------------------------------------------------
>>
>> I run Suse 10.1 with PGI Fortran 6.2. The path /usr/X11R6/lib exists
>> and the file ld exists as well.
>> Could you help solve the problem?
>> Thank you in advance,
>> Dimitra
>>
> _______________________________________________
> 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 Mon Feb 12 2007 - 07:59:13 MST

This archive was generated by hypermail 2.2.0 : Mon Feb 12 2007 - 08:40:25 MST