<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:MingLiU;
        panose-1:2 2 5 9 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@MS Gothic";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"\@MingLiU";
        panose-1:2 1 6 9 0 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">What does your makefile for g2clib look like? <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">-- <span style="color:black"><br>
Jennifer Miletta Adams<br>
ADNET Systems, Inc.<br>
NASA/GSFC, Code 610.2</span><o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black">Building 32, Room S159<br>
(301) 614-6070<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">gradsusr <gradsusr-bounces@gradsusr.org> on behalf of
</span><span style="font-size:12.0pt;font-family:"MS Gothic";color:black">王佳</span><span style="font-size:12.0pt;font-family:MingLiU;color:black">钰</span><span style="font-size:12.0pt;color:black"> <wjy_jenifer@mail.dlut.edu.cn><br>
<b>Reply-To: </b>GrADS Users Forum <gradsusr@gradsusr.org><br>
<b>Date: </b>Sunday, October 6, 2019 at 8:58 PM<br>
<b>To: </b>"gradsusr@gradsusr.org" <gradsusr@gradsusr.org><br>
<b>Subject: </b>[EXTERNAL] [gradsusr] Error reported in the grads installation<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p>Dear all,<br>
I have installed g2clib successfully. But when I finished installing all the libraries and finally installed the grads, an error occurred as below:<br>
<br>
gcc   -fPIC -rdynamic  -L/public/home/jwchen/wjy/Build_WRF/grads/supplibs/lib  -o grads grads.o gxsubs.o gxmeta.o gxchpl.o gxcntr.o gxstrm.o gxdb.o gxwmap.o gxshad.o gxshad2.o gaexpr.o gafunc.o gautil.o gagx.o gscrpt.o gamach.o gatxt.o galloc.o gaddes.o gacfg.o
 gaio.o gauser.o gasdf.o bufrstn.o gabufr.o gabufrtbl.o   -L/public/home/jwchen/wjy/Build_WRF/grads/supplibs/lib     -lreadline -lncurses -lgrib2c -ljasper -lpng15 -lz -lmfhdf -ldf -ljpeg -lz -ludunits   -ltiff -lgeotiff -lshp   -ldl  -lm 
<br>
/public/home/jwchen/wjy/Build_WRF/grads/supplibs/lib/libgrib2c.a(jpcunpack.o): In function `jpcunpack':<br>
/public/home/jwchen/wjy/Build_WRF/grads/supplibs/src/g2clib-1.6.0/jpcunpack.c:61: undefined reference to `dec_jpeg2000'<br>
collect2: ld returned 1 exit status<br>
make[1]: *** [grads] Error 1<br>
make[1]: Leaving directory `/public/home/jwchen/wjy/Build_WRF/grads-2.2.1/src'<br>
make: *** [install-recursive] Error 1 <o:p></o:p></p>
<p>Does anyone know how to solve this problem?<br>
Thank you so much!<br>
Jiayu <o:p></o:p></p>
</div>
</body>
</html>