[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19991110: symbol referencing errors in gplt build



Chris, glad you found your problem.

I was going to add that the 
STATICSYSLIBS = #......
means that everything past the # is commented out.

Steve CHiswell
Unidata User Support


>From: "C. Vandersip" <address@hidden>
>Organization: .
>Keywords: 199911110014.RAA15462

>Steve,
>
>I found it.  I didn't have the SUNWspro/lib dir in my LD_LIBRARY_PATH in
>.cshrc.  All's well now.
>
>Regards,
>
>Chris
>
>        ###############################################################
>        #                      Chris Vandersip                        #
>        #        Computer Research Specialist/Dept. Sysadmin          #
>        #  Rm. 024, Dept. of Meteorology, Florida State University    #
>        #          address@hidden   (850)644-2522                     #
>        ###############################################################
>
>On Wed, 10 Nov 1999, C. Vandersip wrote:
>
>> Steve,
>> 
>> Thanks for the recent help. Here's a new issue:
>> 
>> I'm upgrading nawips on our LDM machine and have run into a problem on the
>> gplt build.  The system is Solaris 5.5, SC5.0 compilers and gempak_pl12.
>> Here is the relevant info from a make all within the gplt subdir:
>> 
>> /u3p/SUNWspro/bin/f77 -O -xildoff gplt.f /u3p/nawips-5.4/lib/sol/gplt.a
>> /u3p/nawips-5.4/lib/sol/gpltdev.a  /u3p/nawips-5.4/lib/sol/syslib.a
>> /u3p/nawips-5.4/lib/sol/gemlib.a -o gplt
>> gplt.f:
>>  MAIN gplt:
>> "GEMINC:GEMPRM.PRM", line 20: Warning: local variable "ermiss" never used
>> Undefined                       first referenced
>>  symbol                             in file
>> __s_rsFe_nv          /u3p/nawips-5.4/lib/sol/gemlib.a(ermmsg.o)
>> __do_f_out_nv                /u3p/nawips-5.4/lib/sol/gplt.a(mcnav.o)
>> __do_f_in_nv         /u3p/nawips-5.4/lib/sol/gplt.a(mcnav.o)
>> __s_wsle_nv          /u3p/nawips-5.4/lib/sol/gplt.a(gcspln.o)
>> __f_inqu_nv          /u3p/nawips-5.4/lib/sol/gemlib.a(flinqr.o)
>> __s_wsFi_nv          /u3p/nawips-5.4/lib/sol/gplt.a(mcnav.o)
>> __f_open_nv          /u3p/nawips-5.4/lib/sol/gemlib.a(fldopn.o)
>> __s_rsFi_nv          /u3p/nawips-5.4/lib/sol/gplt.a(mcnav.o)
>> __s_wsFe_nv          /u3p/nawips-5.4/lib/sol/gemlib.a(erwmsg.o)
>> __s_rdue_nv          /u3p/nawips-5.4/lib/sol/gemlib.a(flread.o)
>> ld: fatal: Symbol referencing errors. No output written to gplt
>> *** Error code 1
>> make: Fatal error: Command failed for target `gplt'
>> 
>> 
>> FOOTNOTE:  I also noticed this in Makeinc.sol (unmodified except to
>> point to right FC and CC) that caught my attention:
>> 
>> #
>>     88  # Special libraries for making statically linked binaries
>>     89  # Leave these commented out
>>     90  # Sun Solaris - Openwindows & Sun Motif
>>     91  #STATICSYSLIBS = -lF77 -lsocket -lgen -lnsl -lintl -lw
>>     92  # Sun OS4.x
>>     93  STATICSYSLIBS = #-lsocket -lnsl -Bdynamic -lICE -lXext -lSM -ldl
>> -Bstatic
>>     94  ##-------------------------------------------------------------
>> 
>> Notice how the second STATICSYSLIBS is *not* commented out.
>> 
>> Regards,
>> 
>> Chris
>>   
>>       ###############################################################
>>       #                      Chris Vandersip                        #
>>       #        Computer Research Specialist/Dept. Sysadmin          #
>>       #  Rm. 024, Dept. of Meteorology, Florida State University    #
>>       #          address@hidden   (850)644-2522                     #
>>       ###############################################################
>> 
>> 
>
>From address@hidden  Wed Nov 10 11:33:04 1999
>Received: from lightning.met.fsu.edu (lightning.met.fsu.edu [128.186.5.17])
>       by unidata.ucar.edu (8.8.8/8.8.8) with ESMTP id LAA03512
>       for <address@hidden>; Wed, 10 Nov 1999 11:33:04 -0700 
> (MST)
>Organization: .
>Keywords: 199911101833.LAA03512
>Received: from localhost by lightning.met.fsu.edu (8.9.2/8.9.2) with ESMTP id 
> NAA07848
>       for <address@hidden>; Wed, 10 Nov 1999 13:32:20 -0500 
> (EST)
>X-Authentication-Warning: lightning.met.fsu.edu: cvander owned process doing -
> bs
>Date: Wed, 10 Nov 1999 13:32:20 -0500 (EST)
>From: "C. Vandersip" <address@hidden>
>To: Steve Chiswell <address@hidden>
>Subject:  symbol referencing errors in gplt build
>Message-ID: <address@hidden>
>MIME-Version: 1.0
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>Steve,
>
>Thanks for the recent help. Here's a new issue:
>
>I'm upgrading nawips on our LDM machine and have run into a problem on the
>gplt build.  The system is Solaris 5.5, SC5.0 compilers and gempak_pl12.
>Here is the relevant info from a make all within the gplt subdir:
>
>/u3p/SUNWspro/bin/f77 -O -xildoff gplt.f /u3p/nawips-5.4/lib/sol/gplt.a
>/u3p/nawips-5.4/lib/sol/gpltdev.a  /u3p/nawips-5.4/lib/sol/syslib.a
>/u3p/nawips-5.4/lib/sol/gemlib.a -o gplt
>gplt.f:
> MAIN gplt:
>"GEMINC:GEMPRM.PRM", line 20: Warning: local variable "ermiss" never used
>Undefined                       first referenced
> symbol                             in file
>__s_rsFe_nv            /u3p/nawips-5.4/lib/sol/gemlib.a(ermmsg.o)
>__do_f_out_nv          /u3p/nawips-5.4/lib/sol/gplt.a(mcnav.o)
>__do_f_in_nv           /u3p/nawips-5.4/lib/sol/gplt.a(mcnav.o)
>__s_wsle_nv            /u3p/nawips-5.4/lib/sol/gplt.a(gcspln.o)
>__f_inqu_nv            /u3p/nawips-5.4/lib/sol/gemlib.a(flinqr.o)
>__s_wsFi_nv            /u3p/nawips-5.4/lib/sol/gplt.a(mcnav.o)
>__f_open_nv            /u3p/nawips-5.4/lib/sol/gemlib.a(fldopn.o)
>__s_rsFi_nv            /u3p/nawips-5.4/lib/sol/gplt.a(mcnav.o)
>__s_wsFe_nv            /u3p/nawips-5.4/lib/sol/gemlib.a(erwmsg.o)
>__s_rdue_nv            /u3p/nawips-5.4/lib/sol/gemlib.a(flread.o)
>ld: fatal: Symbol referencing errors. No output written to gplt
>*** Error code 1
>make: Fatal error: Command failed for target `gplt'
>
>
>FOOTNOTE:  I also noticed this in Makeinc.sol (unmodified except to
>point to right FC and CC) that caught my attention:
>
>#
>    88  # Special libraries for making statically linked binaries
>    89  # Leave these commented out
>    90  # Sun Solaris - Openwindows & Sun Motif
>    91  #STATICSYSLIBS = -lF77 -lsocket -lgen -lnsl -lintl -lw
>    92  # Sun OS4.x
>    93  STATICSYSLIBS = #-lsocket -lnsl -Bdynamic -lICE -lXext -lSM -ldl
>-Bstatic
>    94  ##-------------------------------------------------------------
>
>Notice how the second STATICSYSLIBS is *not* commented out.
>
>Regards,
>
>Chris
>  
>        ###############################################################
>        #                      Chris Vandersip                        #
>        #        Computer Research Specialist/Dept. Sysadmin          #
>        #  Rm. 024, Dept. of Meteorology, Florida State University    #
>        #          address@hidden   (850)644-2522                     #
>        ###############################################################
>