<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="GENERATOR" content="MSHTML 8.00.7600.16625">
<style id="owaTempEditStyle"></style><style title="owaParaStyle"><!--P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
--></style>
</head>
<body ocsi="x">
<div style="FONT-FAMILY: Tahoma; DIRECTION: ltr; COLOR: #000000; FONT-SIZE: 13px">
<div></div>
<div dir="ltr"><font color="#000000" size="2" face="Tahoma">I do not believe that it is a compiler version error.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">You need to have the shapefil.h<a></a> in your include path.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">Something like -I/usr<a></a>/local/include/shapelib<a></a> or whereever<a></a> you have installed the Frank Warmerdam's<a></a> library.</font></div>
<div dir="ltr"><font size="2" face="tahoma"></font> </div>
<div dir="ltr"><font size="2" face="tahoma">John Huddleston, PhD</font></div>
<div style="DIRECTION: ltr" id="divRpF433248">
<hr tabindex="-1">
<font color="#000000" size="2" face="Tahoma"><b>From:</b> gradsusr-bounces@gradsusr.org [gradsusr-bounces@gradsusr.org] On Behalf Of jl sa [esjluis@yahoo.com.mx]<br>
<b>Sent:</b> Friday, September 03, 2010 12:24 PM<br>
<b>To:</b> gradsusr@gradsusr.org<br>
<b>Subject:</b> [gradsusr] grads 2 .0 a9<br>
</font><br>
</div>
<div></div>
<div>
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top">cuales son los requerimientos minimos para compilar grads 2.0a9, tengo fedora 4 y red hat 5 enterprice y me marca error en fedora 4 tengo gcc : gcc versión 4.0.0 20050519 (Red Hat 4.0.0-8) y en RH tengo : gcc versión 4.1.1 20070105 (Red Hat
4.1.1-52)<br>
<br>
y cuando hago el make me marca :<br>
[root@nemesis grads209]# make<br>
Making all in src<br>
make[1]: Entering directory `/usr/local/lib/grads209/src'<br>
make all-am<br>
make[2]: Entering directory `/usr/local/lib/grads209/src'<br>
gcc -DHAVE_CONFIG_H -I. -I/usr/include -I/usr/X11R6/include -I/usr/include -I/usr/include/hdf -g -O2 -rdynamic -c gagx.c<br>
gagx.c:3882: error: syntax error before ‘DBFFieldType’<br>
gagx.c: En la función ‘newdbfld’:<br>
gagx.c:3889: error: aplicación inválida de ‘sizeof’ a un tipo de dato incompleto ‘struct dbfld’<br>
gagx.c:3891: error: puntero deferenciado a tipo de dato incompleto<br>
gagx.c:3891: error: ‘fldname’ no se declaró aquí (primer uso en esta función)<br>
gagx.c:3891: error: (Cada identificador no declarado solamente se reporta una vez<br>
gagx.c:3891: error: para cada funcion en la que aparece.)<br>
gagx.c:3892: error: puntero deferenciado a tipo de dato incompleto<br>
gagx.c:3892: error: ‘dbtype’ no se declaró aquí (primer uso en esta función)<br>
gagx.c:3893: error: puntero deferenciado a tipo de dato incompleto<br>
gagx.c:3893: error: ‘len’ no se declaró aquí (primer uso en esta función)<br>
gagx.c:3894: error: puntero deferenciado a tipo de dato incompleto<br>
gagx.c:3894: error: ‘prec’ no se declaró aquí (primer uso en esta función)<br>
gagx.c:3895: error: puntero deferenciado a tipo de dato incompleto<br>
gagx.c:3895: error: ‘flag’ no se declaró aquí (primer uso en esta función)<br>
gagx.c:3904: error: ‘val’ no se declaró aquí (primer uso en esta función)<br>
gagx.c:3905: error: puntero deferenciado a tipo de dato incompleto<br>
gagx.c:3908: error: puntero deferenciado a tipo de dato incompleto<br>
gagx.c:3910: error: puntero deferenciado a tipo de dato incompleto<br>
make[2]: *** [gagx.o] Error 1<br>
make[2]: Leaving directory `/usr/local/lib/grads209/src'<br>
make[1]: *** [all] Error 2<br>
make[1]: Leaving directory `/usr/local/lib/grads209/src'<br>
make: *** [all-recursive] Error 1<br>
[root@nemesis grads209]#<br>
que puedo hacer?<br>
de antemano gracias y disculpen la traduccion<br>
---¡¡¡¡<br>
<span id="result_box" class="long_text"><span title="">which are the minimum requirements for compiling 2.0a9 grads, I have Red Hat Fedora 4 and 5 enterprice and I mark error in fedora 4 I have gcc: gcc version 4.0.0 20050519 (Red Hat 4.0.0-8) and I have RH:
gcc </span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">version 4.1.1 20070105 (Red Hat 4.1.1-52)<br>
<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">they make me do the brand:<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">[Root @ nemesis grads209] # make<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">Making all in src<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">make [1]: Entering directory `/ usr/local/lib/grads209/src '<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">make all-am<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">make [2]: Entering directory `/ usr/local/lib/grads209/src '<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gcc-DHAVE_CONFIG_H-I.
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">-I/usr/include/hdf -I/usr/include -I/usr/include -I/usr/X11R6/include-G-O2-c-rdynamic gagx.c<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3882: error: syntax error before 'DBFFieldType'<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: In function 'newdbfld':<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3889: error: invalid application of 'sizeof' to incomplete type 'struct dbfld'<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3891: error: pointer dereference to incomplete type<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3891: error: 'fldname' undeclared here (first use in this function)<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3891: error: (Each undeclared identifier is reported only once<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3891: error: for each function it appears.)<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3892: Error: dereference pointer to incomplete type<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3892: error: 'dbtype' undeclared here (first use in this function)<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3893: error: pointer dereference to incomplete type<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3893: error: 'len' undeclared here (first use in this function)<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3894: error: pointer dereference to incomplete type<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3894: error: 'prec' undeclared here (first use in this function)<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3895: error: pointer dereference to incomplete type<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3895: error: 'flag' undeclared here (first use in this function)<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3904: error: 'val' undeclared here (first use in this function)<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3905: error: pointer dereference to incomplete type<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3908: error: pointer dereference to incomplete type<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">gagx.c: 3910: error: pointer dereference to incomplete type<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">make [2]: *** [gagx.o] Error 1<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">make [2]: Leaving directory `/ usr/local/lib/grads209/src '<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">make [1]: *** [all] Error 2<br>
</span><span style="BACKGROUND-COLOR: rgb(255,255,255)" title="">make [1]: Leaving directory `/ usr/local/lib/grads209/src '<br>
</span><span title="">make: *** [all-recursive] Error 1<br>
</span><span title="">[Root @ nemesis grads209] #<br>
</span><span title="">I can do?<br>
</span><span title="">thanks in advance and sorry for the translation</span></span><br>
</td>
</tr>
</tbody>
</table>
<br>
</div>
</div>
</body>
</html>