[postgis-users] compiling postgis with postgres 7.3 and cygwin

Klaus Benndorf benndorf at mail.bt-gis.de
Wed Jan 1 03:04:33 PST 2003


Hello,

I tried to install postgis under Windows XP, following the "NON-UNIX
User's Guide". Everything worked fine and I had no problems with
configure and make of Postgres. But now make of postgis shows a lot of
undefined references. In the mailing list I found the hint, that
libpostgres.a might be not found, but it exists and I copied it to
different directories, that are definded in Makefile.

Any idea what to do?

Thanks, Klaus



postgis_gist_72.o(.text+0xc23):/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/p
ostgis_gist_72.c:487: undefined reference to `_pfree'
postgis_gist_72.o(.text+0xc5c):/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/p
ostgis_gist_72.c:470: more undefined references to `_pfree' follow
postgis_gist_72.o(.text+0xcb8): In function `gbox_picksplit':
/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/postgis_gist_72.c:450:
undefined
 reference to `_rt_box_inter'
postgis_gist_72.o(.text+0xccb):/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/p
ostgis_gist_72.c:450: undefined reference to `_DirectFunctionCall2'
postgis_gist_72.o(.text+0xcd7):/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/p
ostgis_gist_72.c:453: undefined reference to `_rt_box_inter'
postgis_gist_72.o(.text+0xce4):/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/p
ostgis_gist_72.c:453: undefined reference to `_DirectFunctionCall2'
postgis_gist_72.o(.text+0x1370): In function `gbox_same':
/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/postgis_gist_72.c:516:
undefined
 reference to `_box_same'
postgis_gist_72.o(.text+0x137d):/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/
postgis_gist_72.c:516: undefined reference to `_DirectFunctionCall2'
postgis_gist_72.o(.text+0x13da): In function `size_box':
/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/postgis_gist_72.c:535:
undefined
 reference to `_rt_box_size'
postgis_gist_72.o(.text+0x13e3):/usr/src/postgresql-7.3-1/contrib/postgis-0.7.3/
postgis_gist_72.c:535: undefined reference to `_DirectFunctionCall2'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make: *** [postgis.dll] Error 1	





More information about the postgis-users mailing list