[GRASS5] grass5.7 compliation error in "line.c"... could de a little bug?

Luigi Pirelli l.pirelli at acsys.it
Wed Sep 17 06:25:12 EDT 2003


Hi, I'm Luigi...

I'm newbie about grass compilation... but I really need about new grass vector and postgis 
funcionality so I started with grass 5.1 and after 5.7

First time (5.1) I compiled without problem... today (17/09/2003) I downladed 5.7 (and 
updated all 5.3, 5.1 to be shure)...
I downloaded 5.7 (should similar to 5.1) because of v.convert funcion doesn't list new 
vector format (instead of g.list) (testisg postGIS funcionaliti of the 5.7 tutorial: 
http://grass.itc.it/grass51/tutorial/geom_storage.html)

5.1 and 5.7 has undefined symbol (ltype) in:

??/grass57_exp_2003_09_13/lib/vector/Vlib/line.c (line 726)

checking similar use of ltype I saw that line 724

     Vect_read_line (Map, NULL, cats, line );

missing of ltype assignement (I don't know if it's correct because of I don't read grass 
programmers guide)
so I defined "int ltype" and modified line 724 in:

     ltype = Vect_read_line (Map, NULL, cats, line );

and compilation terminated successfully... is a bug? could create problem during runtime?

thanks for your work, I hope to help someone :-)

BeSoS Luis




More information about the grass-dev mailing list