[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #SGF-465277]: Gempak Install
- Subject: [GEMPAK #SGF-465277]: Gempak Install
- Date: Tue, 07 Aug 2007 16:03:53 -0600
David,
Your make.out shows undefined references. Possibly you have to run:
ranlib $GEMLIB/cgemlib.a
to update the symbol table in your cgemlib.a library if your archive
file did not get updated. After that, try:
cd $GEMPAK/source/cgemlib/cap
make clean
make all
if that shows an error, then the undefined cap_ references are related to that.
Otherwise, if that completes, you can then run:
cd $NAWIPS
make clean
make all install programs_nc programs_gf
You can however, see my response to your pgf90 link errors otherwise.
Steve Chiswell
Unidata User Support
> Hello,
>
> This question may be related to GEMPAK #PQB-907490.
>
> I'm having difficulting compiling code that uses some GEMPAK Libraries (see
> below message). A collegue thought that my problem was the gempak I was using
> was compiled using a different compiler than what I was using for the
> program. So what I needed to do was recompile gempak, and then compile my
> program.
>
> So I downloaded the GEMPAK 5.10.2 and tried to install, but got the following
> "undefined reference" errors, as attached in the make.out file. Any reason
> why GEMPAK will not compile? Is it related to my original problem?
>
> Thanks very much in advance,
> Dave
>
> Hello,
>
> I am trying to compile code that uses gempak libraries (gemlib.a and
> cgemlib.a). I using GEMPAK 8.3. The compiling command I was given is:
> pgf90 -o main.exe main.f $GEMLIB/gemlib.a $GEMLIB/cgemlib.a
>
> The errors I get are appended below - but as you see lots of "undefined
> reference to". None of these functions appear in the code (main.f), which is
> also attached.
>
> So my basic question is, what do these "undefined reference" statements mean,
> and do I need new (or perhaps older) libaries?
>
> Thanks,
> Dave
>
> : undefined reference to `f_clos'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(dmclop.o)(.text+0x83): In function
> `dm_clop_':
> : undefined reference to `f_open'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flbksp.o)(.text+0x16): In function
> `fl_bksp_':
> : undefined reference to `f_back'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flpath.o)(.text+0x26): In function
> `fl_path_':
> : undefined reference to `s_copy'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flpath.o)(.text+0x33): In function
> `fl_path_':
> : undefined reference to `s_copy'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flpath.o)(.text+0x71): In function
> `fl_path_':
> : undefined reference to `s_cmp'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flpath.o)(.text+0x91): In function
> `fl_path_':
> : undefined reference to `s_copy'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flpath.o)(.text+0xa5): In function
> `fl_path_':
> : undefined reference to `s_copy'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flpath.o)(.text+0xea): In function
> `fl_path_':
> : undefined reference to `s_cmp'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flpath.o)(.text+0x107): In
> function `fl_path_':
> : undefined reference to `s_copy'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flpath.o)(.text+0x13c): In
> function `fl_path_':
> : undefined reference to `s_copy'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(flsopn.o)(.text+0x90): In function
> `fl_sopn_':
> : undefined reference to `f_open'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(stitoc.o)(.text+0x36): In function
> `st_itoc_':
> : undefined reference to `s_wsfi'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(stitoc.o)(.text+0x56): In function
> `st_itoc_':
> : undefined reference to `do_fio'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(stitoc.o)(.text+0x64): In function
> `st_itoc_':
> : undefined reference to `e_wsfi'
> /usr/local/GEMPAK5.8.3a/lib/linux/gemlib.a(stitoc.o)(.text+0x7f): In function
> `st_itoc_':
> : undefined reference to `s_copy'
>
>
>
>
>
Ticket Details
===================
Ticket ID: SGF-465277
Department: Support GEMPAK
Priority: High
Status: Closed