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@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
How can I fix them?
Thank you,
Roberto
L’email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
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@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
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
"
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
make clean
or
make distclean
to get rid of the old attempt?
r.mapcalc is a very important module, GRASS won't work well without it.