[postgis-users] Our problems executing postgis.sql

strk strk at keybit.net
Tue Jan 13 12:33:31 PST 2004


dblasby wrote:
> inna kobiak wrote:
> >  We have trayed this but did not helped.
> >     Also replaced  all "$libdir" in the postgis.sql script with your absolute path "/usr/lib/postgresql"
> >     but we have the exact same errors , and we have checked make´s output and have seen this error:
> >         gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions   -I. -DFRONTEND -DSYSCONFDIR='"/usr/etc/postgresql"'  -DUSE_VERSION=74 -DUSE_STATS -fpic -I../../src/include -D_GNU_SOURCE   -c -o postgis_debug.o postgis_debug.c
> >         postgis_debug.c: at function `lockcheck':
> >         postgis_debug.c:310: warning: end of a non void function reached 
> >         gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes -Wmissing-declarations -g -fexceptions   -I. -DFR
> 
> 
> 
> This is the compiler complaining for no reason.
> 
> Just add a "PG_RETURN_NULL();" to the last line in the lockcheck() function.
> 
> dave
> ps. strk - please commit this change to CVS.

committed.
--strk;

ps. inna - your problem is about geometry_columns already existing.
	the error message you have to look at is the output of psql,
	not of make...



More information about the postgis-users mailing list