[Mapserver-users] Unable to compile in Cygwin

Mike Leahy mgleahy at fes.uwaterloo.ca
Wed May 28 15:33:27 EDT 2003


Hello all,
 
Sorry for making a post that is not exactly related to MapServer, but I
suspect there are a number of people on this list who may be familiar
with my problem.  I am trying to see if I can compile PostgreSQL &
PostGIS (which we intend to use as a data source for MapServer).  I'm
doing this within within Cygwin using the directions in the Windows
PostGIS Installation Guide available on the postgis.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

P.S., I've already tried the solution posted at
http://archives.postgresql.org/pgsql-ports/2003-03/msg00017.php, but
that seems to have had no impact (i.e., I get exactly the same errors).

 
===========================================================
 
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
 
 
 






More information about the mapserver-users mailing list