[gradsusr] Floating Point Exception during gards-2.0.a9 installation

Jennifer Adams jma at cola.iges.org
Wed Nov 17 08:25:28 EST 2010


Hi, Richa --
There is a bug in gagx.c -- the subroutine newdbfld() needs to be  
bracketed by
#ifdef USESHP==1
#endif
--Jennifer

On Nov 17, 2010, at 8:04 AM, Richa Sharma wrote:

> Dear all,
>
> Please tell me why i am getting error during make command
>
> Error is as follows:
>
> [root at test grads-2.0.a9]# make
> Making all in src
> make[1]: Entering directory `/usr/local/grads-2.0.a9/src'
> make  all-am
> make[2]: Entering directory `/usr/local/grads-2.0.a9/src'
> gcc -DHAVE_CONFIG_H -I.  -I/usr/include         -I/usr/X11R6/ 
> include  -
> I/usr/include     -g -O2 -rdynamic -c 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
> `dbfld'
> gagx.c:3891: error: dereferencing pointer to incomplete type
> gagx.c:3891: error: `fldname' undeclared (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 in.)
> gagx.c:3892: error: dereferencing pointer to incomplete type
> gagx.c:3892: error: `dbtype' undeclared (first use in this function)
> gagx.c:3893: error: dereferencing pointer to incomplete type
> gagx.c:3893: error: `len' undeclared (first use in this function)
> gagx.c:3894: error: dereferencing pointer to incomplete type
> gagx.c:3894: error: `prec' undeclared (first use in this function)
> gagx.c:3895: error: dereferencing pointer to incomplete type
> gagx.c:3895: error: `flag' undeclared (first use in this function)
> gagx.c:3904: error: `val' undeclared (first use in this function)
> gagx.c:3905: error: dereferencing pointer to incomplete type
> gagx.c:3908: error: dereferencing pointer to incomplete type
> gagx.c:3910: error: dereferencing pointer to incomplete type
> make[2]: *** [gagx.o] Error 1
> make[2]: Leaving directory `/usr/local/grads-2.0.a9/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr/local/grads-2.0.a9/src'
> make: *** [all-recursive] Error 1
>
> Thanks and Regards
> Richa Sharma
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



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


More information about the gradsusr mailing list