[postgis-users] postgis-cvs link error on mingw
strk at refractions.net
strk at refractions.net
Thu Apr 21 08:08:07 PDT 2005
Are you referring to the HEAD branch ?
If you do did you run ./configure ? [ yes, for HEAD tests that's the way! ]
The HEAD branch contains code trying to do w/out postgresql build
scripts, which are probably much smarter about cross-platform issues.
David can probably help more then me here as I don't have a win32 system
to check this out. It would be good checking command line differences
between 1.0 and HEAD branch on a win32 system.
--strk;
On Thu, Apr 21, 2005 at 11:46:54AM -0300, Adão Paulino wrote:
> Hi,
>
> I'm trying to build PostGIS 1.0.0 on PostGres 8.0.2, using Windows and MingW.
>
> I've used the instructions from TECHER Jean David and no errors has occured until I try to run 'Make' on '/home/src/postgres-8.0.2/contrib', after setting USE_PROJ and USE_GEOS to 1, PROJ_DIR = 1 and GEOS_DIR = 1 int the Makefile.Config.
>
> I've got the following after the make command:
>
> Administrador at HP6 /home/src/postgresql-8.0.2/contrib/postgis-1.0.0
> $ make
> make -C lwgeom
> make[1]: Entering directory `/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/lwgeom'
> sh ../geos_version.sh /c/postgres-8.0.2 > postgis_geos_version.h
> dlltool --export-all --output-def lwgeom.def measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o lwgeom_geos_wrapper.o wktunparse.o lwgparse.o wktparse.tab.o lex.yy.o vsprintf.o liblwgeom.o lwgeom_pg.o lwgeom_debug.o lwgeom_spheroid.o lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_geos.o lwgeom_inout.o lwgeom_estimate.o lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o stringBuffer.o lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o lwgeom_svg.o lwgeom_gml.o lwgeom_triggers.o lwgeom_dump.o
> dllwrap -o liblwgeom.dll --dllname liblwgeom.dll --def lwgeom.def measures.o box2d.o ptarray.o lwgeom_api.o lwgeom.o lwpoint.o lwline.o lwpoly.o lwmpoint.o lwmline.o lwmpoly.o lwcollection.o lwgeom_geos_wrapper.o wktunparse.o lwgparse.o wktparse.tab.o lex.yy.o vsprintf.o liblwgeom.o lwgeom_pg.o lwgeom_debug.o lwgeom_spheroid.o lwgeom_ogc.o lwgeom_functions_analytic.o lwgeom_geos.o lwgeom_inout.o lwgeom_estimate.o lwgeom_functions_basic.o lwgeom_gist.o lwgeom_btree.o lwgeom_transform.o stringBuffer.o lwgeom_box.o lwgeom_box3d.o lwgeom_box2dfloat4.o lwgeom_chip.o lwgeom_svg.o lwgeom_gml.o lwgeom_triggers.o lwgeom_dump.o -L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/port -L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/port -lstdc++ -L/c/postgres-8.0.2/lib -lgeos -L/c/postgres-8.0.2/lib -lproj -L/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/../../src/backend -lpostgres
> c:\MingW\bin\..\lib\gcc-lib\mingw32\3.2.3\..\..\..\..\mingw32\bin\ld.exe: cannot find -lpostgres
> c:\MingW\bin\dllwrap.exe: c:\MingW\bin\gcc exited with status 1
> make[1]: *** [liblwgeom.dll] Error 1
> make[1]: Leaving directory `/home/src/postgresql-8.0.2/contrib/postgis-1.0.0/lwgeom'
> make: *** [liblwgeom] Error 2
>
> Could someone help me?
>
> Thanks in advance.
>
> Adão Paulino.
> _______________________________________________
> 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