[postgis-users] Undefined references
Norman Vine
nhv at cape.com
Wed Mar 26 02:53:57 PST 2003
Steffen Koehler writes:
I have installed and running cygwin and postgres 7.3.2.
I have do this and now I get another error. Can anyone help?
[ ]
../../src/backend/libpostgres.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
I had to make the following change in
postgresql-7.3-1/src/include/optimizer/cost.h
extern DLLIMPORT double cpu_index_tuple_cost;
//extern double cpu_index_tuple_cost;
when I compliled PostGIS against 7-3.1 which you can grab here
http://www.vso.cape.com/~nhv/files/postgres/cygPostGIS_731.tgz
YMMV but I think that this will work fine with 7-3.2
Norman
More information about the postgis-users
mailing list