<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, Richa --&nbsp;<div>There is a bug in gagx.c -- the&nbsp;subroutine newdbfld() needs to be bracketed by&nbsp;<div><div>#ifdef USESHP==1&nbsp;</div><div>#endif</div><div>--Jennifer</div><div><br></div><div><div>On Nov 17, 2010, at 8:04 AM, Richa Sharma wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear all,<br><br>Please tell me why i am getting error during make command<br><br>Error is as follows:<br><br>[root@test grads-2.0.a9]# make<br>Making all in src<br>make[1]: Entering directory `/usr/local/grads-2.0.a9/src'<br>make &nbsp;all-am<br>make[2]: Entering directory `/usr/local/grads-2.0.a9/src'<br>gcc -DHAVE_CONFIG_H -I. &nbsp;-I/usr/include &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-I/usr/X11R6/include &nbsp;-<br>I/usr/include &nbsp;&nbsp;&nbsp;&nbsp;-g -O2 -rdynamic -c gagx.c<br>gagx.c:3882: error: syntax error before "DBFFieldType"<br>gagx.c: In function `newdbfld':<br>gagx.c:3889: error: invalid application of `sizeof' to incomplete type<br>`dbfld'<br>gagx.c:3891: error: dereferencing pointer to incomplete type<br>gagx.c:3891: error: `fldname' undeclared (first use in this function)<br>gagx.c:3891: error: (Each undeclared identifier is reported only once<br>gagx.c:3891: error: for each function it appears in.)<br>gagx.c:3892: error: dereferencing pointer to incomplete type<br>gagx.c:3892: error: `dbtype' undeclared (first use in this function)<br>gagx.c:3893: error: dereferencing pointer to incomplete type<br>gagx.c:3893: error: `len' undeclared (first use in this function)<br>gagx.c:3894: error: dereferencing pointer to incomplete type<br>gagx.c:3894: error: `prec' undeclared (first use in this function)<br>gagx.c:3895: error: dereferencing pointer to incomplete type<br>gagx.c:3895: error: `flag' undeclared (first use in this function)<br>gagx.c:3904: error: `val' undeclared (first use in this function)<br>gagx.c:3905: error: dereferencing pointer to incomplete type<br>gagx.c:3908: error: dereferencing pointer to incomplete type<br>gagx.c:3910: error: dereferencing pointer to incomplete type<br>make[2]: *** [gagx.o] Error 1<br>make[2]: Leaving directory `/usr/local/grads-2.0.a9/src'<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/usr/local/grads-2.0.a9/src'<br>make: *** [all-recursive] Error 1<br><br>Thanks and Regards<br>Richa Sharma<br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></div></body></html>