Error #3 Compiling Grass5.0beta

egm2 at jps.net egm2 at jps.net
Sat Jul 31 02:39:46 EDT 1999


(sorry if this is a repost)

Here's the make output:

gcc -g -O2   -I/usr/local/src/grass5.0beta/src/include  -c y.tab.c
pol.y: In function `yyparse':
pol.y:53: `storage' undeclared (first use in this function)
pol.y:53: (Each undeclared identifier is reported only once
pol.y:53: for each function it appears in.)
/usr/include/stdlib.h: At top level:
In file included from pol.y:73:
/usr/include/stdlib.h:484: warning: type mismatch with previous implicit
declaration
/usr/share/misc/bison.simple:753: warning: previous implicit declaration
of `free'
/usr/include/stdlib.h:484: warning: `free' was previously implicitly
declared to return `int'
In file included from pol.y:75:
local_proto.h:6: warning: type mismatch with previous implicit
declaration
pol.y:43: warning: previous implicit declaration of `mapname'
pol.y:89: `storage' used prior to declaration
make[2]: *** [OBJ.i686-pc-linux-gnu/y.tab.o] Error 1
make[2]: Leaving directory
`/usr/local/src/grass5.0beta/src/raster/r.mapcalc/polish'
make[1]: *** [all] Error 1
make[1]: Leaving directory
`/usr/local/src/grass5.0beta/src/raster/r.mapcalc'
GISGEN failure at STEP: src/raster/r.mapcalc
make: *** [do-install] Error 1

When I see "implicit declaration" I think, missing header include.  I
haven't found the fix for this one. There seems to be a problem with the
lex/yacc stuff.  Though I don't have a clue about these tools. So, here
I am stuck.

-- 

Eric G. Miller
Powered by the POTATO (http://www.debian.org)!



More information about the grass-user mailing list