NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


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

[GEMPAK #EUC-251074]: Problem builing the 5.10.4 distribution



Greg,

Your make.out shows:

/usr/bin/ld: unrecognized option '--hash-style=both'

The gcc environment with FC7  upgraded to a new loader hash ,
and this is for backward compatibility of binaries. Your environment is
older and doesn't understand this parameter so you can:
1) comment out the LDFLAGS line in $CONFIGDIR/Makeinc.linux_gfortran:
#LDFLAGS = -Wl,--hash-style=both

2) ensure that the $NAWIPS/Gemenviron line:
       # setenv LDFLAGS '-Wl,--hash-style=both'
above is commented out (eg that your environment does not have LDFLAGS defined 
in your shell)

Steve CHiswell
Unidata User Support




> Steve,
> I tried using the g77 compiler as you suggest and saw a lot of
> errors. Instead we installed gfortran and I tried the install again. I'm
> attaching the make.out file which still showed errors in the build. Can
> you please advise?
> 
> Thanks,
> Greg
> 
> Unidata GEMPAK Support wrote:
> >> Greg,
> >>
> >> This means you do not have the gfortran compiler, so it did not build.
> >> Instead, you'll have to use the g77 compiler. Edit the Gemenviron
> >> settings for USE_GCC and comment out the USE_GFORTRAN setting.
> >>
> >> Note that this probably means you are falling behind in your gcc version
> >> and/or your linux release. Most newer Linux distributions are not coming 
> >> with g77, so
> >> I made the default compiler choice gfortran. This was noted in the 5.10.3 
> >> what's new
> >> web page.
> >>
> >> Steve Chiswell
> >> Unidata User Support
> >>
> >>
> >>> Steve,
> >>> I see a bunch of errors in my make.out file that read:
> >>> make[4]: gfortran: Command not found
> >>> make[4]: ***
> >>> [/home/gempak/GEMPAK5.10.4/os/linux/lib/gemlib.a(gdglevw.o)] Error 127
> >>>
> >>> I'm attaching my make.out file. Can you take a look and tell me if this
> >>> is a good install or if I need to rebuild the distribution?
> >>>
> >>> Thanks,
> >>> Greg
> >>> --
> 
> >
> > Ticket Details
> > ===================
> > Ticket ID: EUC-251074
> > Department: Support GEMPAK
> > Priority: Normal
> > Status: Closed
> >
> 
> 
> --
> 
> ~~N~A~T~I~O~N~A~L~~C~E~N~T~E~R~~F~O~R~~A~T~M~O~S~.~~R~E~S~E~A~R~C~H
> Greg Stossmeister                      e-mail: address@hidden
> NCAR/EOL                               phone: (303)497-8692
> P.O. Box 3000                          web: http://www.eol.ucar.edu
> Boulder, CO 80307-3000
> ~~~~~~~~E~A~R~T~H~~~O~B~S~E~R~V~I~N~G~~~L~A~B~O~R~A~T~O~R~Y~~~~~~~~
> 
> 


Ticket Details
===================
Ticket ID: EUC-251074
Department: Support GEMPAK
Priority: Normal
Status: Closed