[postgis-users] Building cvs on cygwin

Chris Faulkner chrisf at oramap.com
Sat Oct 18 01:12:38 PDT 2003


Hello

This one stumped me for a while, iN cost.h ,
/usr/src/postgresql-7.3.4/src/include/optimizer, replace the following

//extern double cpu_index_tuple_cost;
extern DLLIMPORT double cpu_index_tuple_cost;

Now could you tell me how you build GEOS on cygwin ?

Thanks


Chris

> -----Original Message-----
> From: postgis-users-bounces at postgis.refractions.net
> [mailto:postgis-users-bounces at postgis.refractions.net]On Behalf Of Tyler
> Mitchell
> Sent: 17 October 2003 20:22
> To: postgis-users at postgis.refractions.net
> Subject: [postgis-users] Building cvs on cygwin
>
>
>
>
>
>
> I'm trying to build postgis on cygwin from postgres source 7.3.4-2 and the
> latest postgis and geos from cvs.
> Geos make installed fine but the errors I'm getting making postgis are
> beyond my cryptographic capabilities to understand :)
>
> ----------
> $ make
> 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 postgis_geos.o postgis_geos_wrapper.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 postgis_geos.o
> postgis_geos_wra
> pper.o ../../src/utils/dllinit.o -L/usr/local/lib -L/usr/local/lib
> -lstdc++ -L/
> usr/local/lib -lgeos -L/usr/local/lib -lproj -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
>
>
> _______________________________________________
> 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