[postgis-users] Re: C question, PG_RETURN_POINTER: GPC integration

Hisaji ONO hi-ono at mn.xdsl.ne.jp
Tue Apr 30 08:27:45 PDT 2002


Hi, Mr. Ribot.

----- Original Message -----
From: "Nicolas Ribot" <nicolas.ribot at scot.cnes.fr>
To: <postgis-users at postgis.refractions.net>
Sent: Tuesday, April 30, 2002 11:40 PM
Subject: Re: [postgis-users] Re: C question, PG_RETURN_POINTER: GPC
integration


> Oooooopss !!
> I made a mistake with attachements !

I've tried to make your code. I've got following error messages. Could you
show me any improvement.

 Thanks.

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g  -I. -I../../s
rc/i
nclude -I/usr/local/include -DFRONTEND -DSYSCONFDIR='"/usr/local/pgsql/etc"'
  -c
 -o scot_gpc.o scot_gpc.c
scot_gpc.c: In function `add_geometry':
scot_gpc.c:610: `tmp_obj_size' undeclared (first use in this function)
scot_gpc.c:610: (Each undeclared identifier is reported only once
scot_gpc.c:610: for each function it appears in.)
scot_gpc.c:611: `tmp_obj' undeclared (first use in this function)
scot_gpc.c:614: `SRID' undeclared (first use in this function)
scot_gpc.c:608: warning: unused variable `the_bbox'
scot_gpc.c:619: warning: control reaches end of non-void function
make: *** [scot_gpc.o] Error 1





More information about the postgis-users mailing list