Hello,
Here is a Compilation error of 5.1 under Mandrake 9.1:
(CVS of grass and grass51 from yeterday)Configure details:
CFLAGS="-g -Wall" ./configure --with-grass50=/home/yann/grass
--with-gdal --with-freetypefollowed by "make mix" and "make" giving this error.
OBJ.i686-pc-linux-gnu/expression.o(.text+0x540): In function `variable':
/home/yann/grass51/raster/r.mapcalc/expression.c:193: undefined
reference to `syntax_error'
OBJ.i686-pc-linux-gnu/expression.o(.text+0x5db): In function `mapname':
/home/yann/grass51/raster/r.mapcalc/expression.c:208: undefined
reference to `syntax_error'
OBJ.i686-pc-linux-gnu/expression.o(.text+0x77e): In function `operator':
/home/yann/grass51/raster/r.mapcalc/expression.c:248: undefined
reference to `syntax_error'
OBJ.i686-pc-linux-gnu/expression.o(.text+0x796):/home/yann/grass51/raster/r.mapc alc/expression.c:253: undefined reference to `syntax_error'
OBJ.i686-pc-linux-gnu/expression.o(.text+0x7ae):/home/yann/grass51/raster/r.mapc alc/expression.c:257: undefined reference to `syntax_error'
OBJ.i686-pc-linux-gnu/expression.o(.text+0x7c3):/home/yann/grass51/raster/r.mapc alc/expression.c:261: more undefined references to `syntax_error' follow
OBJ.i686-pc-linux-gnu/main.o(.text+0x203): In function `main':
/home/yann/grass51/raster/r.mapcalc/main.c:122: undefined reference to
`parse_string'
OBJ.i686-pc-linux-gnu/main.o(.text+0x219):/home/yann/grass51/raster/r.mapcalc/main.c:122: undefined reference to `parse_stream'
collect2: ld returned 1 exit status
make[2]: ***
[/home/yann/grass51/dist.i686-pc-linux-gnu/etc/bin/cmd/r.mapcalc] Error
1
make[2]: Leaving directory `/home/yann/grass51/raster/r.mapcalc'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/yann/grass51/raster'
make: *** [default] Error 1Thank you for any help,
Yann
Yann wrote:
> Here is a Compilation error of 5.1 under Mandrake 9.1:
> (CVS of grass and grass51 from yeterday)
>
> Configure details:
> CFLAGS="-g -Wall" ./configure --with-grass50=/home/yann/grass
> --with-gdal --with-freetype
>
> followed by "make mix" and "make" giving this error.
>
> OBJ.i686-pc-linux-gnu/expression.o(.text+0x540): In function `variable':
> /home/yann/grass51/raster/r.mapcalc/expression.c:193: undefined reference to `syntax_error'
syntax_error() is defined in in the yacc file mapcalc.y, from which
y.tab.c is generated.
Check whether any errors occurred when running yacc/bison.
--
Glynn Clements <glynn.clements@virgin.net>