Re: NCARG Compile errors, RH 8, RH 9 & Fedora 1 ?

From: Rick Grubin (grubin@XXXXXX)
Date: Mon Apr 05 2004 - 17:52:19 MDT

  • Next message: M.Oskouian: "compile errors"

    Hi Robert

    > I have been compiling NCARG 4.3.1 with HDF on 3 Linux systems and get
    > the same 13 errors. The first error is below, but a number of them
    > refer to the same main undefined reference. Any suggestions?
    > ============

    > Making ./common/src/fontcap make[4]: Entering directory `/opt/NCARG/ncarg-4.3.1/common/src/fontcap'

    > g77 -O -c cfaamn.f
    [...]

    > g77 -O -o fontc cfaamn.o cfrdln.o cfwrit.o ffgttk.o ffinfo.o
    [...]
    > -L/opt/NCARG/v431/lib -L/usr/X11R6/lib -L/opt/NCARG/ncarg-4.3.1/hdf/lib -lg2c -lm
    > /usr/lib/gcc-lib/i386-redhat-linux/3.3.2/../../../crt1.o(.text+0x18): In
    >
    > function `_start':
    > : undefined reference to `main'

    Could you let me know what version of the GNU dev tools you're using?
    Something like the output from: gcc -v or g77 -v would help.
    This will help me determine more about your environment.

    The error suggests that your C RunTime library stubs are not up to date or
    are of an incorrect type.

    Sometimes this error is the result of a version of the GNU dev tools that
    isn't compatible with your version of Red Hat. If able, I suggest an
    upgrade to your GNU dev tools.

    I am able to successfully compile NCARG v4.3.1 with HDF on a Red Hat v9
    system; my GNU dev tools version is: version 3.2.2 (Red Hat Linux 3.2.2-5)

    I'm currently unable to test on a Red Hat v8 or Fedora Core 1 system.

    -Rick.

    --
    Rick Grubin                     Visualization + Enabling Technologies
    Scientific Computing Division   National Center for Atmospheric Research   
    grubin@ucar.edu                 303.497.1832
    

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



    This archive was generated by hypermail 2b29 : Tue Apr 06 2004 - 07:21:15 MDT