[postgis-users] setenv problem
strk
strk at keybit.net
Thu Jan 8 08:50:21 PST 2004
Try CVS version, setenv has been replaced with putenv calls
(setenv is not available under SUN OS)
--strk;
M.Garvey wrote:
> Hello,
>
> I'm trying to build postgis with proj4 and geos support, but when it gets to
> making pgsql2shp, I'm getting the following:
>
> gcc -g -I.. -I. -I../../../src/interfaces/libpq -O2 -fno-strict-aliasing
> -Wall -Wmissing-prototypes -Wmissing-declarations -DFRONTEND
> -DSYSCONFDIR='"/apps/postgres/pgsql/etc"' -DUSE_VERSION=73 shpopen.o
> dbfopen.o getopt.o pgsql2shp.o -L../../../src/interfaces/libpq -lpq
> -L../../../src/port -lstdc++ -L/apps/postgres/readline/lib
> -R/apps/postgres/pgsql/lib -lz -lreadline -ltermcap -lrt -lresolv -lgen
> -lsocket -lnsl -ldl -lm -lpgport -o pgsql2shp
> Undefined first referenced
> symbol in file
> setenv pgsql2shp.o
> ld: fatal: Symbol referencing errors. No output written to pgsql2shp
> collect2: ld returned 1 exit status
> gmake: *** [pgsql2shp] Error 1
>
>
> I'm using gcc version 3.3.2 and GNU Make 3.80 running on a Sun Ultra - OS
> 5.8.
>
> Any pointers gratefully received.
>
> Mary
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list