[GRASS5] Re: 5.1 compilation with gcc3.2.2: compilation error
Yann
st027364 at ait.ac.th
Sun May 4 09:27:20 EDT 2003
> 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-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'
> 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 1
>
>
> Thank you for any help,
> Yann
>
More information about the grass-dev
mailing list