Re: SOLARIS 7, compiling problem

From: Mary Haley (haley@XXXXXX)
Date: Wed Jan 10 2001 - 14:31:19 MST

  • Next message: South Wind: "Fujitsu f90 compiler VS ncarg."

    > I cannot compile NCAR Graphics on my SUN ultra60 with Solaris7.
    > Running the configuration script and the make everything cmd I abtain the
    > following errors using both f77 and f90 compilers (SUN Workshop pro)
    > Does anybody know why?
    >
    > Thanks
    > Simon

    Hi Simon,

    It looks like you need to add an additional system library to the NCAR
    Graphics Sun configuration file.

    Modify the file $NCARG/config/Sun4Solaris and change the line:

      #define ExtraSysLibraries -Bdynamic -lnsl -lintl -lsocket -ldl -lw

    to

      #define ExtraSysLibraries -Bdynamic -lnsl -lintl -lsocket -ldl -lw -lfsu

    Then, cd back to $NCARG and rerun:

        make Everything >&! make-output &

    Let me know if this doesn't work.

    --Mary
    haley@ucar.edu

    > F77 cofiguration:
    >
    > f77 -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/lib -L/usr/openwin/lib -L/usr/dt/lib -lF77 -lM77 -lnsl -lsunmath -lm
    > -Bdynamic -lnsl -lintl -lsocket -ldl -lw
    > Undefined first referenced
    > symbol in file
    > __f90_sfw_i4 cfaamn.o
    > __f90_ssfw cfaamn.o
    > .
    > .
    > .
    >



    This archive was generated by hypermail 2b29 : Wed Jan 10 2001 - 15:30:27 MST