Re: examples

From: Mary Haley (haley@XXXXXX)
Date: Fri Nov 21 2003 - 14:56:15 MST

  • Next message: prosperi@wicc.weizmann.ac.il: "(no subject)"

    >
    >
    > After updating g77 the second time I get different errors than what I
    > posted yesterday. Today I got:
    >
    > NCAR Graphics Fortran Fundamentals Example <fgke04>
    >
    >
    > This example was set up to demonstrate the X11
    > driver. It also generates a graphic file.
    >
    >
    > NOTE: This example is being run interactively and can only
    > be executed if you have X running and have your
    > DISPLAY environment variable set properly. It will
    > create an X11 window that you must click on with your
    > mouse to advance the frame(s).
    >
    > Copying fgke04.f
    >
    > Compiling and linking...
    > g77 -O2 -o fgke04 fgke04.f -L/sw/lib -L/sw/lib -L/usr/X11R6/lib -lncarg
    > -lncarg_gks -lncarg_c -lXpm -lX11 -lXext
    > /usr/bin/ld: warning prebinding disabled because of undefined symbols
    > /usr/bin/ld: Undefined symbols:
    > restFP
    > saveFP
    > collect2: ld returned 1 exit status
    >
    > The compile and link failed.
    >
    > Where are these routines supposed to be and how do I fix this?
    >
    > Kip Smith

    Try adding "-lcc_dynamic" to the "set libextra" line in the file
    $NCARG_ROOT/bin/ncargf77:

    set libextra = "-lcc_dynamic"

    The problem is due to NCAR Graphics having been compiled under an
    older compiler than what you have.

    --Mary

    -------------------------------------------------
    Mary Haley haley@ucar.edu
    NCAR/SCD/VETS 303-497-1254 (voice)
    1850 Table Mesa Dr 303-497-1804 (fax)
    Boulder, CO 80305
    -------------------------------------------------
    _______________________________________________
    ncarg-talk mailing list
    ncarg-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



    This archive was generated by hypermail 2b29 : Fri Nov 21 2003 - 14:57:48 MST