Re: compile errors

From: Mary Haley (haley@XXXXXX)
Date: Fri Apr 09 2004 - 15:45:10 MDT

  • Next message: Rick Grubin: "Re: compile errors"

    > Dear ncarg users
    > I try to compile the ncarg with HDF using the gcc/g77
    > compiler.(RH9 on a Dell inspiron 5150 notebook)
    > In my config/LINUX file I have the options -lg2c and -lm
    > and I encounter a lot of "undefined reference to main"
    > errors (ex on fontc and graphc files). After reading a few
    > suggestions in the list I decide to comment out the above
    > two options.Errors reduces to a few (it cant find
    > the hdf.h and says no such file) . OK . I changed Configure
    > to get the compile without HDF.A single error for gcc on
    > ictrans (undefinedreference to "s_copy', to "sqrt", to
    > "cos", to "sin" !) !
    > I tried "linux-intel" file with ifc compiler before with
    > no success.
    > However with gcc/g77 I can use idt on TER.PLT and only the
    > map frames come with some color vertical strips on the map
    > and the other fromes are OK.
    > Any idea what happens? Thanks.
    > Rumbode

    Dear Rumbode,

    I've seen this problem before. You mentioned you were running on
    RedHat 9, and I remember reading on the web somewhere that if you get
    the "undefined reference to main" error message, then your version of
    gcc/g77 may not be supported under RedHat 9. You may need to look
    into upgrading your compilers.

    --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 Apr 09 2004 - 15:50:36 MDT