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

19990525: Help with nawips-5.4 build



Neil,

In order to for library routines to get resolved on different 
operating systems, you will find that libraries are listed
multiple times on the link line. Some 1 pass compilers require
this, and IRIX is just printing out messages about finding more
than 1 instance- this is normal and does not cause any problems. 

Let me know if you have any problems in running the distribution.

Steve Chiswell
Unidata User Support

>From: "Neil R. Smith" <address@hidden>
>Organization: Dept. Meteorology, TAMU
>Keywords: 199905262140.PAA16916

>Thanks Steve.  The DEVLIST was where my mistake was.
>But I'm not comfortable with the Warnings in that make.out file,
>since I continue to get them in the second try, and
>in other make directories.  Refering to my first email,
>
>First example:
>         f77 -g    gplt.f /unidata/nawips-5.4/lib/irix/gplt.a 
>/unidata/nawips-5.4/lib/irix/gpltdev.a 
>/unidata/nawips-5.4/lib/irix/syslib.a 
>/unidata/nawips-5.4/lib/irix/gemlib.a -o gplt
>ld: WARNING 15: multiply defined:(msgp) in
>/unidata/nawips-5.4/lib/irix/syslib.a(csend.o) and
>/unidata/nawips-5.4/lib/irix/syslib.a(crecv.o) (2nd definition ignored).
>ld: WARNING 85: definition of itime_ in
>/unidata/nawips-5.4/lib/irix/gplt.a(mcnav.o) preempts that definition in
>/usr/lib/libftn.so.
>
>Second example:
>         f77 -g   
>/unidata/nawips-5.4/gempak5.4/source/device/main/device.f \
>                /unidata/nawips-5.4/lib/irix/xw.a \
>                /unidata/nawips-5.4/lib/irix/gemlib.a 
>/unidata/nawips-5.4/lib/irix/device.a 
>/unidata/nawips-5.4/lib/irix/xw.a  /unidata/nawips-5.4/lib/irix/gn.a 
>/unidata/nawips-5.4/lib/irix/syslib.a 
>/unidata/nawips-5.4/lib/irix/cgemlib.a 
>/unidata/nawips-5.4/lib/irix/gemlib.a \
>                /unidata/nawips-5.4/lib/irix/gn.a \
>                 \
>                -lXt -lX11 -lPW  -o xw
>ld: WARNING 84: /unidata/nawips-5.4/lib/irix/xw.a is not used for
>resolving any symbol.
>ld: WARNING 15: multiply defined:(imftyp) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(icbank) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(idoffs) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(lendat) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ifxsiz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ifysiz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ifzsiz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(xpxres) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ypxres) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ixlef) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(iytop) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ixrit) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(iybot) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(xyiscl) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ibswap) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(nchnls) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ipresz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(idocsz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(icalsz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ilevsz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ivlcod) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(iradfl) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(minpv) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(maxpv) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(imsorc) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(imtype) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xrgini.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(imftyp) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(icbank) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(idoffs) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(lendat) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ifxsiz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ifysiz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ifzsiz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(xpxres) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ypxres) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ixlef) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(iytop) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ixrit) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(iybot) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(xyiscl) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ibswap) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(nchnls) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ipresz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(idocsz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(icalsz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ilevsz) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(ivlcod) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(iradfl) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: WARNING 15: multiply defined:(minpv) in
>/unidata/nawips-5.4/lib/irix/xw.a(xsatim.o) and
>/unidata/nawips-5.4/lib/irix/xw.a(xsicmn.o) (2nd definition ignored).
>ld: Giving up after printing 50 warnings.  Use -wall to print all
>warnings.
>        rm -f device.o
>
>What should I make if these?
>
>Thanks,
>-Neil
>
>==========================================================================
>Unidata Support wrote:
>> 
>> >From: "Neil R. Smith" <address@hidden>
>> >Organization: Dept. Meteorology, TAMU
>> >Keywords: 199905252349.RAA17329
>> 
>> >This is a multi-part message in MIME format.
>> >
>> >--------------4B7658E7A5F
>> >Content-Type: text/plain; charset=us-ascii
>> >Content-Transfer-Encoding: 7bit
>> >
>> >Can you please tell what is awry here:
>> >
>> >  uname -a = IRIX coriolis 6.2 03131015 IP22
>> >  no environment variables or flags set other than Gemenviron
>> >  Compilers are vers. 7.2
>> >
>> >Attached is the make.log file.
>> >
>> >Thanks,
>> >-Neil
>> >--
>> >Neil R. Smith, Sys. Admin.              address@hidden
>> >Dept. Meteorology, Texas A&M Univ.      409/845-6272 FAX:409/862-4466
>> >
> >ps1: Does not exist
>> >*** Error code 1 (bu21)
>> >*** Error code 1 (bu21)
>> >*** Error code 1 (bu21)
>> >*** Error code 1 (bu21)
>> >*** Error code 1 (bu21)
>> >
>> >--------------4B7658E7A5F--
>> >
>> 
>> Neil,
>> 
>> ps1 was a program back in gempak 5.2.1, but all functionality of
>> the separate postscript drivers from that release were combined into a
>> single "ps" driver for gempak 5.4.
>> 
>> The fact that your build is looking for a ps1 directory seems to
>> indicate that you have something old in your environment, or that
>> your NAWIPS variable is still pointing to your old 5.2.1 tree.
>> 
>> Since you are installing under the /unidata/nawips-5.4 tree,
>> verify that your NAWIPS environmental variable is pointing
>> to that directory. Its possible that your environment is automatically
>> setup to source the old 5.2.1 tree, or that you didn't "source Gemenviron"
>> after editing the Gemenviron file.
>> 
>> When building the devices, the DEVLIST variable in $NAWIPS/config/Makinc.com
> mon
>> is used to determine what devices are valid. In version 5.4, this should be:
>> DEVLIST =  xw ps nc vc vt gf hp
>> If you have not modified this definition, then it seems like the GEMPAKHOME
>> or NAWIPS variables are still pointing to 5.2.1. If you have modifies this
>> line, then remove the ps1 reference.
>> 
>> Let me know what you find.
>> 
>> Steve Chiswell
>> Unidata User Support
>> ****************************************************************************
>> Unidata User Support                                    UCAR Unidata Program
>> (303)497-8644                                                  P.O. Box 3000
>> address@hidden                                   Boulder, CO 80307
>> ----------------------------------------------------------------------------
>> Unidata WWW Service                        http://www.unidata.ucar.edu/     
>> ****************************************************************************
>
>-- 
>Neil R. Smith, Sys. Admin.              address@hidden
>Dept. Meteorology, Texas A&M Univ.      409/845-6272 FAX:409/862-4466
>