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

Markus Neteler neteler at itc.it
Wed Sep 17 15:42:06 EDT 2003


Hi Luigi,

On Wed, Sep 17, 2003 at 12:25:12PM +0200, Luigi Pirelli wrote:
> 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) 

[we have simply renamed 5.1 to 5.7]

> 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)

What do you miss in v.convert? This is not yet clear to me.

> 5.1 and 5.7 has undefined symbol (ltype) in:
> 
> ??/grass57_exp_2003_09_13/lib/vector/Vlib/line.c (line 726)

mea culpa. fixed in CVS now.

> 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 :-)

Yes, thanks for the hint. Usually I recompile before submitting,
somehow I missed that. Sorry for the inconvenice,

 Markus




More information about the grass-dev mailing list