Compiling error of ictrans for ncarg 4.3.1

From: flylywalk AT yahoo.com
Date: Tue Nov 30 2004 - 12:12:20 MST

  • Next message: Mail System Internal Data: "DON'T DELETE THIS MESSAGE -- FOLDER INTERNAL DATA"

    ncarg-talk
    >
    >Hello, everyone. I hope you can give me an idea.
    >
    >I am using Redhat Enterprise 3 and Lahey-Fujitsu 95
    >pro 6 to build the source code fo ncarg4.3.1. I
    >already tried with gun_f77 compiler. In both cases,
    >the ictrans error showed. And the font also has error.
    >Here are the details:
    >
    >(1)
    >make[4]: Entering directory
    >`/home/larry/ncar/ncarg-4.3.1/ncarview/src/bin'
    >Making ./ncarview/src/bin/ctrans
    >make[5]: Entering directory
    >`/home/larry/ncar/ncarg-4.3.1/ncarview/src/bin/ctrans'
    >gcc -ansi -O -I../../../.././include
    >-I/usr/X11R6/include -I/usr/include
    >-I/usr/local/include -DSYSV -D_POSIX_SOURCE
    >-D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c -o
    >main.o main.c
    >gcc -ansi -O -o ctrans main.o
    >.../../../.././ncarview/src/lib/libctrans/libctrans.o
    >-L../../../.././ncarview/src/lib/libcgm -lcgm
    >-L../../../.././ncarview/src/lib/libncarg_ras
    >-lncarg_ras -L../../../.././common/src/libncarg_c
    >-lncarg_c -L/usr/local/ncarg/lib -L/usr/X11R6/lib
    >-L/usr/lib -L/usr/local/lib -lXpm -lX11 -lXext
    >-lmfhdf -ldf -ljpeg -lz -lm
    >main.o(.text+0x94): In function `open_log':
    >: the use of `mktemp' is dangerous, better use
    >`mkstemp'
    >make[5]: Leaving directory
    >`/home/larry/ncar/ncarg-4.3.1/ncarview/src/bin/ctrans'
    >Making ./ncarview/src/bin/ictrans
    >make[5]: Entering directory
    >`/home/larry/ncar/ncarg-4.3.1/ncarview/src/bin/ictrans'
    >gcc -ansi -O -I../../../.././include
    >-I/usr/X11R6/include -I/usr/include
    >-I/usr/local/include -DSYSV -D_POSIX_SOURCE
    >-D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c -o
    >main.o main.c
    >gcc -ansi -O -o ictrans main.o
    >.../../../.././ncarview/src/lib/libictrans/libictrans.o
    >.../../../.././ncarview/src/lib/libctrans/libctrans.o
    >-L../../../.././ncarview/src/lib/libcgm -lcgm
    >-L../../../.././ncarview/src/lib/libncarg_ras
    >-lncarg_ras -L../../../.././common/src/libncarg_c
    >-lncarg_c -L/usr/local/ncarg/lib -L/usr/X11R6/lib
    >-L/usr/lib -L/usr/local/lib -lXpm -lX11 -lXext
    >-lmfhdf -ldf -ljpeg -lz
    >-L/lib/ssa/gcc-lib/1-redhat-1-gnu/3.5-tree-ssa/libg2c.a
    >-lm
    >.../../../.././ncarview/src/lib/libcgm/libcgm.a(meta_edit.o)(.text+0x10e8):
    >In function `CGM_initMetaEdit':
    >: the use of `mktemp' is dangerous, better use
    >`mkstemp'
    >.../../../.././ncarview/src/lib/libictrans/libictrans.o(.text+0x519e):
    >In function `giargs_':
    >: undefined reference to `f_scmov'
    >collect2: ld returned 1 exit status
    >
    >make[5]: *** [ictrans] Error 1
    >
    >make[5]: Leaving directory
    >`/home/larry/ncar/ncarg-4.3.1/ncarview/src/bin/ictrans'
    >Making ./ncarview/src/bin/filter
    >make[5]: Entering directory
    >`/home/larry/ncar/ncarg-4.3.1/ncarview/src/bin/filter'
    >gcc -ansi -O -I../../include -I../../../.././include
    >-I/usr/X11R6/include -I/usr/include
    >-I/usr/local/include -DSYSV -D_POSIX_SOURCE
    >-D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c -o
    >cgm2ncgm.o cgm2ncgm.c
    >gcc -ansi -O -o cgm2ncgm cgm2ncgm.o
    >-L../../../.././ncarview/src/lib/libcgm -lcgm
    >-L../../../.././common/src/libncarg_c -lncarg_c
    >-L/usr/local/ncarg/lib -L/usr/X11R6/lib -L/usr/lib
    >-L/usr/local/lib
    >gcc -ansi -O -I../../include -I../../../.././include
    >-I/usr/X11R6/include -I/usr/include
    >-I/usr/local/include -DSYSV -D_POSIX_SOURCE
    >-D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c -o
    >ncgm2cgm.o ncgm2cgm.c
    >gcc -ansi -O -o ncgm2cgm ncgm2cgm.o
    >-L../../../.././ncarview/src/lib/libcgm -lcgm
    >-L../../../.././common/src/libncarg_c -lncarg_c
    >-L/usr/local/ncarg/lib -L/usr/X11R6/lib -L/usr/lib
    >-L/usr/local/lib
    >make[5]: Leaving directory
    >`/home/larry/ncar/ncarg-4.3.1/ncarview/src/bin/filter'
    >Making ./ncarview/src/bin/med
    >
    >(2)
    >Installing fontc
    > Processing fontcap font22
    >jwe0019i-u The program was terminated abnormally with
    >signal number SIGSEGV.
    >
    > Error occurs at or near line 77 of cfrdln_
    > Called from or near line 42 of ffprcf_
    > Called from or near line 97 of ffprsa_
    > Called from or near line 98 of sfprcf_
    > Called from or near line 263 of MAIN__
    >error summary (Fortran)
    >error number error level error count
    > jwe0019i u 1
    >total error count = 1
    >make[4]: *** [font22] Error 240
    >make[4]: Leaving directory
    >`/home/larry/ncar/ncarg-4.3.1/common/src/fontcap'
    >Making install in ./common/src/graphcap
    >make[4]: Entering directory
    >`/home/larry/ncar/ncarg-4.3.1/common/src/graphcap'
    >Installing graphc
    >Installing adm5
    >Installing aed.a
    >
    >Before I build the code, I already set (unlimit -s
    >unlimited ) for the Lahey-fujitsu compiler. But for
    >gnu_f77, no font error.
    >More, no library error.
    >
    >So what is wrong with my ncar? If anyone has the
    >experience like this or has an idea to solve it,
    >please reply ASAP. Thanks a lot.
    >
    >Larry

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



    This archive was generated by hypermail 2b29 : Wed Dec 01 2004 - 10:35:28 MST