[postgis-users] Undefined references

Steffen Koehler skoehler at buschjena.de
Wed Mar 26 08:03:43 PST 2003


At 26.03.2003 11:53, you wrote:
>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

Thanks, this works fine.
Steffen


>Norman
>
>
>_______________________________________________
>postgis-users mailing list
>postgis-users at postgis.refractions.net
>http://postgis.refractions.net/mailman/listinfo/postgis-users




More information about the postgis-users mailing list