Re: ng4ex

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Aug 23 2010 - 11:08:15 MDT

Liu,

It looks like there is a mismatch between the version of the compilers that you are using to compile cn01f.f, and the version that the HLU and NCAR Graphics libraries were built with.

Do you actually have HLU code that you need to compile? If not, I wouldn't worry about this particular example not working. If "ncl" is working:

   ng4ex cn01n

and that's all you plan to use, then you should be okay.

--Mary

On Aug 22, 2010, at 8:06 PM, dxlds wrote:

> Hi,
> I'm newer using NCL, allow me to ask some naive question. Thanks.
> I'm following the document about the ng4ex. I can use ng4ex cn03c. But while typing ng4ex cn03f, appeared this:
>
> NCAR Graphics High Level Utility Fortran Example <cn01f>
>
> Copying cn01f.f
> Copying cn01.res
>
> Compiling and linking...
> gfortran -fPIC -fno-second-underscore -fno-range-check -O0 -o cn01f cn01f.f -L/usr/local/ncl/lib -I/usr/local/ncl/include -lhlu -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lgfortran -lm
> /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/crt1.o: In function `_start':
> /build/buildd/glibc-2.9/csu/../sysdeps/i386/elf/start.S:115: undefined reference to `main'
> collect2: ld 返回 1
> Executing <cn01f>...
>
> ./cn01f: Command not found.
>
> Finished executing <cn01f>...
>
> Can anybody tell me what the problem is?
>
>
> Regards,
> Liu.
>
>
> 您想拥有和网易免费邮箱一样强大的软件吗? _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Aug 23 11:08:20 2010

This archive was generated by hypermail 2.1.8 : Wed Aug 25 2010 - 11:50:26 MDT