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.

[gembud] make targets failing (solved)

Saw a reference to netCDF when I Googled one of the error messages. Had it
installed, but to be safe, I grabbed any package remotely related to netCDF
and installed them. Recompiled from the beginning and now gempak is
running. Boo-yah.


----
Shoot for the moon--at least if you miss, you'll end up among the stars.
And there you'll remain. A frozen corpse floating in space for eternity.

On Sat, May 14, 2016 at 4:35 PM, Kevin Lux <stormpilgrim@xxxxxxxxx> wrote:

> I'm getting closer to a successful build. I figured out that Ubuntu's
> library locations are different than those referenced by gempak's
> makefiles. Fixed that, I think, but after running make install and getting
> no object files again, I had to pore through the output. I kept coming
> across the same error for each program:
>
>
> make[5]: Warning: Archive '/home/gempak/GEMPAK7/os/linux64/lib/sfmod.a' seems 
> to have been created in deterministic mode.
> 'sfcopt.o' will always be updated. Please consider passing the U flag to ar 
> to avoid the problem.
> gfortran -fno-second-underscore -fno-range-check -fd-lines-as-comments 
> -I/home/gempak/GEMPAK7/gempak/include
> -I/home/gempak/GEMPAK7/os/linux64/include -I/usr/include/python2.7 -g   
> sfmod.f
> /home/gempak/GEMPAK7/os/linux64/lib/sfmod.a 
> /home/gempak/GEMPAK7/os/linux64/lib/gemlib.a
> /home/gempak/GEMPAK7/os/linux64/lib/appl.a 
> /home/gempak/GEMPAK7/os/linux64/lib/syslib.a
> /home/gempak/GEMPAK7/os/linux64/lib/cgemlib.a 
> /home/gempak/GEMPAK7/os/linux64/lib/gemlib.a
> /home/gempak/GEMPAK7/os/linux64/lib/libjasper.a 
> /home/gempak/GEMPAK7/os/linux64/lib/libpng.a
> /home/gempak/GEMPAK7/os/linux64/lib/textlib.a 
> /home/gempak/GEMPAK7/os/linux64/lib/libxml2.a
> /home/gempak/GEMPAK7/os/linux64/lib/libxslt.a 
> /home/gempak/GEMPAK7/os/linux64/lib/libz.a
>  /home/gempak/GEMPAK7/os/linux64/lib/cgemlib.a -L/usr/lib64 -lpython2.7 
> -lpthread -ldl -lutil -o sfmod
> /home/gempak/GEMPAK7/os/linux64/lib/gemlib.a(dmrdtr.o): In function 
> `dm_rdtr_':
> /home/stormpilgrim/NAWIPS/gempak/source/gemlib/dm/dmrdtr.f:58: undefined 
> reference to `da_rdtrgd_'
> /home/stormpilgrim/NAWIPS/gempak/source/gemlib/dm/dmrdtr.f:61: undefined 
> reference to `da_rdtr_'
> /home/gempak/GEMPAK7/os/linux64/lib/gemlib.a(dmopen.o): In function 
> `dm_open_':
> /home/stormpilgrim/NAWIPS/gempak/source/gemlib/dm/dmopen.f:84: undefined 
> reference to `da_open_'
> /home/stormpilgrim/NAWIPS/gempak/source/gemlib/dm/dmopen.f:107: undefined 
> reference to `da_info_'
> collect2: error: ld returned 1 exit status
> Makefile:39: recipe for target 'sfmod' failed
> make[5]: *** [sfmod] Error 1
> I'm stumped. Is there another library I've neglected to install somewhere?
>
> Kevin
> ----
> Shoot for the moon--at least if you miss, you'll end up among the stars.
> And there you'll remain. A frozen corpse floating in space for eternity.
>
  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: