Re: ncar graphic 4.3 in Redhat9.0

From: Mary Haley (haley@XXXXXX)
Date: Sun Dec 21 2003 - 13:08:52 MST

  • Next message: S. Daniel Jacob: "Problems with pgf90 on Redhat 7.3"

    >
    > Hi
    >
    > Has anyone successfully compiled 4.3 under Redhat9?
    > I got an error message on "undefined reference to 'main'.
    > Please read below for details. Please help if you know what happened.
    >
    >
    > Thanks,

    Dear Shulan Liu,

    We have not upgraded to RedHat 9 yet, so we are unable to do a test
    compile of NCAR Graphics 4.3.

    However, I did a google search on the error message that you received:

       ../sysdeps/i386/elf/start.S:77: undefined reference to `main'

    and found some references stating that perhaps your version of gcc/g77
    may not be supported under RedHat 9.

    Please check that you have the latest version of gcc/g77 for RedHat 9.

    --Mary

    >
    > --------- make.log----------
    >
    > g77 -O -o fontc cfaamn.o cfrdln.o cfwrit.o ffgttk.o ffinfo.o
    > ffphol.o
    > ffppkt.o ffprcf.o ffprsa.o fftbkd.o fftkin.o sffndc.o sfgtin.o
    > sfgtkw.o sfprcf.o sfskbk.o sftbkd.o -L../../.././common/src/libncarg_c
    > -lncarg_c -L/usr/local/ncarg/lib -L/usr/X11R6/lib -lg2c -lm
    > /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../crt1.o(.text+0x18): In
    > function `_start':
    > ../sysdeps/i386/elf/start.S:77: undefined reference to `main'
    > collect2: ld returned 1 exit status
    > make[4]: *** [fontc] Error 1
    > make[4]: Leaving directory `/usr/local/ncarg-4.3.1/common/src/fontcap'
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >
    > --
    > Shulan Liu, Ph.D
    >
    > ACES Scientific Application Programmer
    > 2215 Raggio Parkway
    > Desert Research Institute, NV 89512
    > Phone: (775) 673 7439
    >
    > _______________________________________________
    > 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 : Sun Dec 21 2003 - 13:41:47 MST