[GRASS5] PROJ_INFO and pj_get_kv() and r.in.gdal
neteler at itc.it
Thu Oct 11 06:16:28 EDT 2001
On Thu, Oct 11, 2001 at 12:08:54PM +0200, Markus Neteler wrote:
> On Thu, Oct 11, 2001 at 11:03:22AM +0100, Glynn Clements wrote:
> > Markus Neteler wrote:
> > > Perhaps it is a pointers task since gcc -Wall reports:
> > >
> > > main.c:373: warning: passing arg 2 of 'pj_get_kv' from incompatible pointer type
> > > main.c:373: warning: passing arg 3 of 'pj_get_kv' from incompatible pointer type
> > Yep; You're passing "struct Key_Value **" for the second and third
> > arguments, but it should be "struct Key_Value *".
> > Try removing the ampersands.
> Thanks for the hint!
> However, I tried already -> core dump...
Here a gdb output:
Program received signal SIGSEGV, Segmentation fault.
0x08053786 in G_find_key_value (key=0x8094c85 "meters", kv=0x0)
106 for (n = 0; n < kv->nitems; n++)
key_value1.c is in /src/libes/gis I think.
Shall I test more with gdb?
More information about the grass-dev