[postgis-users] Unable to make PostGIS in Cygwin

Mike Leahy mgleahy at fes.uwaterloo.ca
Tue May 27 12:30:26 PDT 2003


Hello all,

 

Although we have a complied version of PostGIS, I am trying to see if I
can compile it myself within Cygwin using the directions in the Windows
PostGIS Installation Guide available on the refractions.net
documentation page.  I seem to be nearly there.except for some kind of
error when I run 'make' for PostGIS (immediately after I run 'make' for
PostgreSQL).  You can see the error I'm getting at the end of the
process below.  Any suggestions some of you might have would be great.

 

Mike

 

===========================================================

 

Administrator at mgl-toshiba
/usr/src/postgresql-7.3.2-2/contrib/postgis-0.7.5

$ make

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I.
-I../../src/in

clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c
-o postg

is_debug.o postgis_debug.c

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I.
-I../../src/in

clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c
-o postg

is_ops.o postgis_ops.c

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I.
-I../../src/in

clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c
-o postg

is_fn.o postgis_fn.c

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I.
-I../../src/in

clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c
-o postg

is_inout.o postgis_inout.c

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I.
-I../../src/in

clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c
-o postg

is_proj.o postgis_proj.c

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I.
-I../../src/in

clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c
-o postg

is_chip.o postgis_chip.c

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I.
-I../../src/in

clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c
-o postg

is_transform.o postgis_transform.c

postgis_transform.c: In function `transform_geom':

postgis_transform.c:437: warning: control reaches end of non-void
function

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I.
-I../../src/in

clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c
-o postg

is_gist_72.o postgis_gist_72.c

gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -g -I.
-I../../src/in

clude  -DFRONTEND -DSYSCONFDIR='"/etc/postgresql"' -DUSE_VERSION=73  -c
-o postg

is_estimate.o postgis_estimate.c

dlltool --export-all --output-def postgis.def postgis_debug.o
postgis_ops.o post

gis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o
postgis_transform.o postg

is_gist_72.o postgis_estimate.o

dllwrap -o postgis.dll --dllname postgis.dll --def postgis.def
postgis_debug.o p

ostgis_ops.o postgis_fn.o postgis_inout.o postgis_proj.o postgis_chip.o
postgis_

transform.o postgis_gist_72.o postgis_estimate.o
../../src/utils/dllinit.o -L/us

r/local/lib -L/usr/local/lib -L../../src/backend -lpostgres

fu000001.o(.idata$3+0xc): undefined reference to `_libpostgres_a_iname'

nmth000000.o(.idata$4+0x0): undefined reference to
`__nm__cpu_index_tuple_cost'

Info: resolving _cpu_index_tuple_cost by linking to
__imp__cpu_index_tuple_cost

(auto-import)

collect2: ld returned 1 exit status

dllwrap: gcc exited with status 1

make: *** [libpostgis.a] Error 1

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20030527/162cc06d/attachment.html>


More information about the postgis-users mailing list