Re: problems with compiling

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed, 21 Mar 2007 23:37:50 -0600 (MDT)

Audrius,

I think that you may just need some additional libraies on your
compile line. It looks like you are using a PGI compiler to link
against NCAR Graphics libraries that were built with gcc and g77.

If you include "-lg2c" or "-lg2c -lgcc" at the end of your compile
line, does this fix the problem?

--Mary

On Tue, 20 Mar 2007, Rick Grubin wrote:

> Hi Audrius
>
>> I have successfuly installed NCAR Graphics Version 4.4.1 in Fedora Core 4
>> system.
>
> Did you install NCAR Graphics from source code (building it) or from a
> pre-compiled binary?
>
>> I need it in MM5 model. but when I try to compile, I am getting the error
>>
>> pgf90 -o terrain.exe ia.o anal2.o bint.o bndry.o crlnd.o crter.o dfclrs.o
>> [...] write_fieldrec.o -L/usr/local/ncarg/lib -L/usr/X11R6/lib -lncarg
>> -lncarg_gks -lncarg_c -lX11 -L/opt/pgi/linux86/lib -L/usr/lib -lpgc
>> /usr/local/ncarg/lib/libncarg.a(cpcldm.o)(.text+0x517): In
>> function`cpcldm_': cpcldm.f: undefined reference to `s_cat'
>> /usr/local/ncarg/lib/libncarg.a(cpcldm.o)(.text+0xaa9):cpcldm.f: undefined
>> reference to `s_copy'
>> /usr/local/ncarg/lib/libncarg.a(cpcldm.o)(.text+0x165f): In
>> function`cpcldm_': cpcldm.f: undefined reference to `s_cmp'
>
> These errors indicate that libraries libncarg.a, libncarg_c.a and
> libncarg_gks.a may not have been built properly. If
> you installed from source code, you may consult the output of the build
> process for errors (please feel free to sent it
> along if you would like).
>
> If you installed from precompiled binaries, please contact me directly.
>
> -Rick.
> ---- Rick Grubin NCAR/CISL/VETS
> Visualization + Enabling Technologies
> grubin_at_ucar.edu 303.497.1832
>
>
> _______________________________________________
> 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 Wed Mar 21 2007 - 23:37:50 MDT

This archive was generated by hypermail 2.2.0 : Sun Apr 01 2007 - 17:29:32 MDT