[GRASS-user] Grass-6.3.0 errors during make

roberto caselli roberto.caselli at yahoo.it
Wed Feb 13 06:59:10 EST 2008


Than you, I solved 3 errors out of 4 using flex 2.5.33 .
The last problem is :

Started compilation: mer feb 13 12:31:54 CET 2008
--
Errors in:
/home/roberto/grass-6.3.0RC4/raster/r.mapcalc
--
I cd to /home/roberto/grass-6.3.0RC4/raster/r.mapcalc and the make failed with this message: 

"OBJ.i686-pc-linux-gnu/y.tab.o: In function `yyparse':
/home/roberto/grass-6.3.0RC4/raster/r.mapcalc/y.tab.c:1440: undefined reference to `yylex'
OBJ.i686-pc-linux-gnu/y.tab.o: In function `parse_stream':
/home/roberto/grass-6.3.0RC4/raster/r.mapcalc/mapcalc.y:277: undefined reference to `initialize_scanner_stream'
OBJ.i686-pc-linux-gnu/y.tab.o: In function `parse_string':
/home/roberto/grass-6.3.0RC4/raster/r.mapcalc/mapcalc.y:269: undefined reference to `initialize_scanner_string'
collect2: ld returned 1 exit status
make: *** [/home/roberto/grass-6.3.0RC4/dist.i686-pc-linux-gnu/bin/r.mapcalc] Error 1
"


Martin Landa <landa.martin at gmail.com> ha scritto: Hi,

2008/2/13, roberto caselli :

> I'm installing Grass6.3.0 on my linux xubuntu 7.10 environment. At the end
> of the make process i received this output:
>
> Started compilation: mer feb 13 00:20:17 CET 2008
> --
> Errors in:
> /home/roberto/grass-6.3.0RC4/lib/db/sqlp
> /home/roberto/grass-6.3.0RC4/db/drivers/dbf
> /home/roberto/grass-6.3.0RC4/db/drivers/ogr
> /home/roberto/grass-6.3.0RC4/raster/r.mapcalc
> --
> In case of errors please change into the directory with error and run
> 'make'.
> If you get multiple errors, you need to deal with them in the order they
> appear in the error log. If you get an error building a library, you will
> also get errors from anything which uses the library.
> --
> Finished compilation: mer feb 13 01:45:01 CET 2008
> make: *** [default] Error 1
> roberto at ubuntu:~/grass-6.3.0RC4$
>
> So I cd /home/roberto/grass-6.3.0RC4/lib/db/sqlp and a type make with this
> output:
> flex lex.l
> lex.l:35: bad character: %
> lex.l:35: unknown error processing section 1
> lex.l:35: unknown error processing section 1
> lex.l:35: bad character: 1
> lex.l:35: bad character: 2
> lex.l:35: bad character: 0
> lex.l:35: bad character: 0
> make: *** [lex.yy.c] Error 1
>
> The version of Flex is 2.5.34.
>
> The remaining directories /home/roberto/grass-6.3.0RC4/db/drivers/dbf,
> /home/roberto/grass-6.3.0RC4/db/drivers/ogr, failon the make with this
> output:
>
> /usr/bin/ld: cannot find -lgrass_sqlp
> collect2: ld returned 1 exit status
> make: ***
> [/home/roberto/grass-6.3.0RC4/dist.i686-pc-linux-gnu/driver/db/dbf]
> Error 1

yes, this is known issue

http://trac.osgeo.org/grass/ticket/2

Use flex 2.5.33 for now.

Martin

-- 
Martin Landa  * http://gama.fsv.cvut.cz/~landa *


       
---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/grass-user/attachments/20080213/f81e62d9/attachment.html


More information about the grass-user mailing list