Solaris 8 Compile error

From: Patrick O'Reilly (patrick.oreilly AT unknown)
Date: Tue Feb 05 2002 - 10:18:02 MST

  • Next message: D Allured: "Re: problem with ctrans?"

    Hello,

    I am building from source now, the binary install didn't work, and have run into yet another error. I am using g77/gcc. Things go fine, seemingly, for about 10 minutes then the error. Below is the output and the error.

    gcc: file path prefix `dynamic' never used
    Making ./ncarview/src/bin/ictrans
    gcc -O -I../../../.././include -I/usr/local/include -I/usr/openwin/include -I/usr/dt/include -DSYSV -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__ -DNeedFuncProto -c main.c
    gcc -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 -Bstatic -L/usr/local/ncarg/lib -L/usr/local/lib -L/usr/openwin/lib -L/usr/dt/lib -lX11 -lXext -L/usr/local/lib -lnsl -lm -Bdynamic -lnsl -lintl -lsocket -ldl -lw
    Undefined first referenced
     symbol in file
    s_copy ../../../.././ncarview/src/lib/libictrans/libictrans.o
    ld: fatal: Symbol referencing errors. No output written to ictrans
    collect2: ld returned 1 exit status
    gcc: file path prefix `dynamic' never used
    *** Error code 1
    make: Fatal error: Command failed for target `ictrans'
    Current working directory /usr/local/ncarg/ncarg-4.2.3/ncarview/src/bin/ictrans
    *** Error code 1
    make: Fatal error: Command failed for target `makesubdirs'
    Current working directory /usr/local/ncarg/ncarg-4.2.3/ncarview/src/bin
    *** Error code 1
    make: Fatal error: Command failed for target `makesubdirs'
    Current working directory /usr/local/ncarg/ncarg-4.2.3/ncarview/src
    *** Error code 1
    make: Fatal error: Command failed for target `makesubdirs'
    Current working directory /usr/local/ncarg/ncarg-4.2.3/ncarview
    *** Error code 1
    make: Fatal error: Command failed for target `makesubdirs'
    Current working directory /usr/local/ncarg/ncarg-4.2.3
    *** Error code 1
    make: Fatal error: Command failed for target `Everything'

    I looked afterword and do not see $NCARG/ncarview/src/lib/libictrans/libictrans.o file. I do see a file called ictrans.o. Is this library file not being created at an earlier point, or there a problem that it isn't being found? Or is this inreference to the first line, where the file path `dynamic' never used? I thought I removed the 'Bdynamic' string from my Sun4Solaris config file, but it is there again. Any help would be appreciated.

    Patrick

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Patrick O'Reilly Support Scientist
    The STORM Project patrick.oreilly AT unknown
    208 Latham Hall ph: 319-273-3789
    University of Northern Iowa
    Cedar Falls, IA 50614
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



    This archive was generated by hypermail 2b29 : Wed Feb 06 2002 - 09:24:51 MST