Re: f90

From: Mary Haley (haley@XXXXXX)
Date: Mon Oct 20 2003 - 10:26:53 MDT

  • Next message: Susan Marshall: "installing ncl and ncarg on Mac OS X"

    >
    > Hello,
    >
    > I have a problem using the command ncarf90 : many unreferenced symbols are found when compiling. My f90 file is correct, I can run it with f90 without any graphic command. But as soon I insert some graphic commands, something goes wrong.
    > I didn't use it since july,12. Is there something new I should know ?
    > Thanks for your help.
    >
    > Antoiine

    Dear Antoiine,

    You may need to add some extra system libraries. Try modifying
    $NCARG_ROOT/bin/ncargf90 and changing the line:
     
       set libextra = ""

    to:

       set libextra = "-lF77 -lfsu"

    --Mary

    > PS this is my error message :
    >
    > f90 -O nitnh.f90 -L/contrib/ncarg-4.1-official/lib -L/usr/openwin/lib -L/usr/dt/lib -lncarg -lncarg_gks -lncarg_c -lX11 -lXext
    > Undefined first referenced
    > symbol in file
    > __e_rsfi_pv /contrib/ncarg-4.1-official/lib/libncarg_gks.a(gesc.o)
    > __s_stop /contrib/ncarg-4.1-official/lib/libncarg.a(seter.o)
    > __s_wsFi_pv /contrib/ncarg-4.1-official/lib/libncarg.a(pcfcls.o)
    > __e_wsfe_pv /contrib/ncarg-4.1-official/lib/libncarg.a(seter.o)
    > __s_wsfi_pv /contrib/ncarg-4.1-official/lib/libncarg.a(cpnumb.o)
    > __s_rsFi_pv /contrib/ncarg-4.1-official/lib/libncarg_gks.a(gesc.o)
    > __s_wsFe_pv /contrib/ncarg-4.1-official/lib/libncarg.a(seter.o)
    > __e_wsle_pv /contrib/ncarg-4.1-official/lib/libncarg.a(pcffgd.o)
    > __s_wsfe_pv /contrib/ncarg-4.1-official/lib/libncarg_gks.a(gerlog.o)
    > __s_cat /contrib/ncarg-4.1-official/lib/libncarg.a(icfell.o)
    > __do_f_out_pv /contrib/ncarg-4.1-official/lib/libncarg.a(seter.o)
    > __do_f_in_pv /contrib/ncarg-4.1-official/lib/libncarg_gks.a(gesc.o)
    > __s_wsle_pv /contrib/ncarg-4.1-official/lib/libncarg.a(pcffgd.o)
    > __s_copy /contrib/ncarg-4.1-official/lib/libncarg.a(seter.o)
    > __i_conv_c /contrib/ncarg-4.1-official/lib/libncarg.a(cpinrc.o)
    > __c_conv_i /contrib/ncarg-4.1-official/lib/libncarg.a(cpnumb.o)
    > __e_wsfi_pv /contrib/ncarg-4.1-official/lib/libncarg.a(cpnumb.o)
    > __do_l_out_pv /contrib/ncarg-4.1-official/lib/libncarg.a(pcffgd.o)
    > ld: fatal: Symbol referencing errors. No output written to a.out
    >
    > _______________________________________________
    > ncarg-talk mailing list
    > ncarg-talk@ucar.edu
    > http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
    >

    -- 
    -------------------------------------------------
    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 : Mon Oct 20 2003 - 10:53:36 MDT