[postgis-users] Undefined references

Steffen Koehler skoehler at buschjena.de
Wed Mar 26 00:55:34 PST 2003


At 24.03.2003 20:14, you wrote:
>I thought your problem sounded familiar. It looks like the cygwin compile 
>requires that the static pgsql libraries be referenced during the linking 
>phase of postgis. Anyhow, the end of the relevant thread is referenced here:
>
>http://postgis.refractions.net/pipermail/postgis-users/2003-February/002128.html
>
>Paul

I have installed and running cygwin and postgres 7.3.2.
I have do this and now I get another error. Can anyone help?

thanks Steffen

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/usr/local/lib -lproj 
../../src/backend/libpostgr
es.a
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 postgis-users mailing list