[GRASSLIST:7222] Re: Compile Errors continue in 6.0.0
Glynn Clements
glynn at gclements.plus.com
Sat Jun 18 04:11:35 EDT 2005
Thomas Colson wrote:
> cd gmath
> make
> gcc -I/grass/grass-6.0.0/include
> -I/grass/grass-6.0.0/dist.x86_64-unknown-linux-gnu/include/grass -g -O2
> -Wall -Wconversion -Wno-implicit-int -fPIC -DPACKAGE=\""grasslibs"\"
> -DPACKAGE=\""grasslibs"\" -I/grass/grass-6.0.0/include
> -I/grass/grass-6.0.0/dist.x86_64-unknown-linux-gnu/include/grass \
> -o OBJ.x86_64-unknown-linux-gnu/del2g.o -c del2g.c
> In file included from del2g.c:23:
> numerical.h:47: error: array type has incomplete element type
Odd.
Try removing the following lines from lib/gmath/numeric.h:
/* jacobi.c */
#define MC 50
extern char outputfile[50];
extern char groupname[50], subgroup[50], signame[50];
These declarations don't appear to be used anywhere. They probably
relate to having extracted the code in jacobi.c from elsewhere.
> I'm assuming that the failed build of gmath is creating all the other
> errors?
Probably.
> What could be causing this?
The above error regarding line 47 of numerical.h. line 47 appears
empty, but the jacobi.c section is the closest match,
> Is there anywork around to getting these libraries to build somehow?
Eliminate the numerical.h error.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-user
mailing list