[gradsusr] grads 2 .0 a9

Huddleston, John Huddleston at cira.colostate.edu
Fri Sep 3 14:31:14 EDT 2010


I do not believe that it is a compiler version error.

You need to have the shapefil.h in your include path.

Something like -I/usr/local/include/shapelib or whereever you have installed the Frank Warmerdam's library.

John Huddleston, PhD
________________________________
From: gradsusr-bounces at gradsusr.org [gradsusr-bounces at gradsusr.org] On Behalf Of jl sa [esjluis at yahoo.com.mx]
Sent: Friday, September 03, 2010 12:24 PM
To: gradsusr at gradsusr.org
Subject: [gradsusr] grads 2 .0 a9

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)

y cuando hago el make me marca :
[root at nemesis grads209]# make
Making all in src
make[1]: Entering directory `/usr/local/lib/grads209/src'
make  all-am
make[2]: Entering directory `/usr/local/lib/grads209/src'
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
gagx.c:3882: error: syntax error before ‘DBFFieldType’
gagx.c: En la función ‘newdbfld’:
gagx.c:3889: error: aplicación inválida de ‘sizeof’ a un tipo de dato incompleto ‘struct dbfld’
gagx.c:3891: error: puntero deferenciado a tipo de dato incompleto
gagx.c:3891: error: ‘fldname’ no se declaró aquí (primer uso en esta función)
gagx.c:3891: error: (Cada identificador no declarado solamente se reporta una vez
gagx.c:3891: error: para cada funcion en la que aparece.)
gagx.c:3892: error: puntero deferenciado a tipo de dato incompleto
gagx.c:3892: error: ‘dbtype’ no se declaró aquí (primer uso en esta función)
gagx.c:3893: error: puntero deferenciado a tipo de dato incompleto
gagx.c:3893: error: ‘len’ no se declaró aquí (primer uso en esta función)
gagx.c:3894: error: puntero deferenciado a tipo de dato incompleto
gagx.c:3894: error: ‘prec’ no se declaró aquí (primer uso en esta función)
gagx.c:3895: error: puntero deferenciado a tipo de dato incompleto
gagx.c:3895: error: ‘flag’ no se declaró aquí (primer uso en esta función)
gagx.c:3904: error: ‘val’ no se declaró aquí (primer uso en esta función)
gagx.c:3905: error: puntero deferenciado a tipo de dato incompleto
gagx.c:3908: error: puntero deferenciado a tipo de dato incompleto
gagx.c:3910: error: puntero deferenciado a tipo de dato incompleto
make[2]: *** [gagx.o] Error 1
make[2]: Leaving directory `/usr/local/lib/grads209/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/lib/grads209/src'
make: *** [all-recursive] Error 1
[root at nemesis grads209]#
 que puedo hacer?
de antemano gracias y disculpen la traduccion
---¡¡¡¡
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 version 4.1.1 20070105 (Red Hat 4.1.1-52)

they make me do the brand:
[Root @ nemesis grads209] # make
Making all in src
make [1]: Entering directory `/ usr/local/lib/grads209/src '
make all-am
make [2]: Entering directory `/ usr/local/lib/grads209/src '
gcc-DHAVE_CONFIG_H-I. -I/usr/include/hdf -I/usr/include -I/usr/include -I/usr/X11R6/include-G-O2-c-rdynamic gagx.c
gagx.c: 3882: error: syntax error before 'DBFFieldType'
gagx.c: In function 'newdbfld':
gagx.c: 3889: error: invalid application of 'sizeof' to incomplete type 'struct dbfld'
gagx.c: 3891: error: pointer dereference to incomplete type
gagx.c: 3891: error: 'fldname' undeclared here (first use in this function)
gagx.c: 3891: error: (Each undeclared identifier is reported only once
gagx.c: 3891: error: for each function it appears.)
gagx.c: 3892: Error: dereference pointer to incomplete type
gagx.c: 3892: error: 'dbtype' undeclared here (first use in this function)
gagx.c: 3893: error: pointer dereference to incomplete type
gagx.c: 3893: error: 'len' undeclared here (first use in this function)
gagx.c: 3894: error: pointer dereference to incomplete type
gagx.c: 3894: error: 'prec' undeclared here (first use in this function)
gagx.c: 3895: error: pointer dereference to incomplete type
gagx.c: 3895: error: 'flag' undeclared here (first use in this function)
gagx.c: 3904: error: 'val' undeclared here (first use in this function)
gagx.c: 3905: error: pointer dereference to incomplete type
gagx.c: 3908: error: pointer dereference to incomplete type
gagx.c: 3910: error: pointer dereference to incomplete type
make [2]: *** [gagx.o] Error 1
make [2]: Leaving directory `/ usr/local/lib/grads209/src '
make [1]: *** [all] Error 2
make [1]: Leaving directory `/ usr/local/lib/grads209/src '
make: *** [all-recursive] Error 1
[Root @ nemesis grads209] #
 I can do?
thanks in advance and sorry for the translation



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100903/c7f67f24/attachment-0003.html 


More information about the gradsusr mailing list