compile and link issue

From: Matthew J. Rosier (mjrosier@XXXXXX)
Date: Thu May 22 2003 - 10:54:29 MDT

  • Next message: philippe marguinaud: "About the use of NCAR graphics COMMON blocks"

    hey all,

    Perhaps someone can help me with the below problem? I am not sure what I am
    overlooking. I am trying to run NCARG on a laptop running Mandrake 9.1 and
    my .cshrc setting are exactly the same as those on my desktop running Redhat
    8 where NCARG works fine.

    Probably something silly I am missing...

    Thanks,
    Matt

    [arps@localhost ~]$ ncargex cpex08

    NCAR Graphics Fortran Example <cpex08>

      Copying cpex08.f

      Copying cpexcc.f

    Compiling and linking...
    g77 -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib
    -lncarg -lncarg_gks -lncarg_c -lXpm -lX11 -lXext
    /usr/bin/ld: cannot find -lXpm
    collect2: ld returned 1 exit status

    The compile and link failed

    _______________________________________________
    ncarg-talk mailing list
    ncarg-talk@ucar.edu
    http://mailman.ucar.edu/mailman/listinfo/ncarg-talk



    This archive was generated by hypermail 2b29 : Thu May 22 2003 - 14:07:53 MDT