[GRASS-dev] GRASS 6.3.CVS on Cygwin

Benjamin Ducke benjamin.ducke at ufg.uni-kiel.de
Thu Jul 12 12:44:17 EDT 2007


Hi all,

I am trying to create an up-to-date GRASS version with Cygwin.
As usual, GDAL + GRASS is the biggest problem.
I have compiled and install GDAL 1.4.2 successfully and now am
trying to compile GRASS.

In /lib/vector/Vlib in the linking stage I get:

gcc -shared -o
/home/tmp/grass6/dist.i686-pc-cygwin/lib/libgrass_vect.6.3.cvs.dll
-L/home/tmp/grass6/dist.i686-pc-cygwin/lib -Wl,--export-dynamic
OBJ.i686-pc-cygwin/area.o OBJ.i686-pc-cygwin/array.o
OBJ.i686-pc-cygwin/box.o OBJ.i686-pc-cygwin/break_lines.o
OBJ.i686-pc-cygwin/break_polygons.o OBJ.i686-pc-cygwin/bridges.o
OBJ.i686-pc-cygwin/buffer.o OBJ.i686-pc-cygwin/build.o
OBJ.i686-pc-cygwin/build_nat.o OBJ.i686-pc-cygwin/build_ogr.o
OBJ.i686-pc-cygwin/cats.o OBJ.i686-pc-cygwin/cindex.o
OBJ.i686-pc-cygwin/clean_nodes.o OBJ.i686-pc-cygwin/close.o
OBJ.i686-pc-cygwin/close_nat.o OBJ.i686-pc-cygwin/close_ogr.o
OBJ.i686-pc-cygwin/constraint.o OBJ.i686-pc-cygwin/dangles.o
OBJ.i686-pc-cygwin/dbcolumns.o OBJ.i686-pc-cygwin/error.o
OBJ.i686-pc-cygwin/field.o OBJ.i686-pc-cygwin/find.o
OBJ.i686-pc-cygwin/graph.o OBJ.i686-pc-cygwin/header.o
OBJ.i686-pc-cygwin/hist.o OBJ.i686-pc-cygwin/init_head.o
OBJ.i686-pc-cygwin/intersect.o OBJ.i686-pc-cygwin/legal_vname.o
OBJ.i686-pc-cygwin/level.o OBJ.i686-pc-cygwin/level_two.o
OBJ.i686-pc-cygwin/line.o OBJ.i686-pc-cygwin/list.o
OBJ.i686-pc-cygwin/map.o OBJ.i686-pc-cygwin/net.o
OBJ.i686-pc-cygwin/open.o OBJ.i686-pc-cygwin/open_nat.o
OBJ.i686-pc-cygwin/open_ogr.o OBJ.i686-pc-cygwin/overlap.o
OBJ.i686-pc-cygwin/overlay.o OBJ.i686-pc-cygwin/poly.o
OBJ.i686-pc-cygwin/read.o OBJ.i686-pc-cygwin/read_nat.o
OBJ.i686-pc-cygwin/read_ogr.o OBJ.i686-pc-cygwin/remove_areas.o
OBJ.i686-pc-cygwin/remove_duplicates.o OBJ.i686-pc-cygwin/rewind.o
OBJ.i686-pc-cygwin/rewind_nat.o OBJ.i686-pc-cygwin/rewind_ogr.o
OBJ.i686-pc-cygwin/select.o OBJ.i686-pc-cygwin/sindex.o
OBJ.i686-pc-cygwin/snap.o OBJ.i686-pc-cygwin/tin.o
OBJ.i686-pc-cygwin/type.o OBJ.i686-pc-cygwin/window.o
OBJ.i686-pc-cygwin/write.o OBJ.i686-pc-cygwin/write_nat.o -lgrass_gis
-lgrass_datetime -lrpclib    -lz   -lintl  -lgrass_dig2 -lgrass_gis
-lgrass_datetime -lrpclib    -lz   -lintl  -lgrass_rtree  -lgrass_dgl
-lgrass_rtree -lgrass_linkm -lgrass_dbmiclient -lgrass_dbmibase
-lgrass_gis -lgrass_datetime -lrpclib    -lz   -lintl   -lgrass_gis
-lgrass_datetime -lrpclib    -lz   -lintl   -lgrass_dbmibase -lgrass_gis
-lgrass_datetime -lrpclib    -lz   -lintl    -L/usr/lib -lgdal && \
	(cd /home/tmp/grass6/dist.i686-pc-cygwin/lib; ln -f -s
libgrass_vect.6.3.cvs.dll
/home/tmp/grass6/dist.i686-pc-cygwin/lib/libgrass_vect.dll)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: BFD
2.17.50 20060817 assertion fail
/netrel/src/binutils-20060817-1/bfd/cofflink.c:2266
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
/usr/lib/libgdal.dll(d000691.o): illegal symbol index -200 in relocs
collect2: ld returned 1 exit status
make: ***
[/home/tmp/grass6/dist.i686-pc-cygwin/lib/libgrass_vect.6.3.cvs.dll] Error 1

---

The value '-200' is just a random number that seems to change every time
I start another compile attempt.
I checked GDAL-1.4.1. Same problem.

Does anyone have a clue what the problem is, this time?

Cheers,

Benjamin


-- 
Benjamin Ducke, M.A.
Archäoinformatik
(Archaeoinformation Science)
Institut für Ur- und Frühgeschichte
(Inst. of Prehistoric and Historic Archaeology)
Christian-Albrechts-Universität zu Kiel
Johanna-Mestorf-Straße 2-6
D 24098 Kiel
Germany

Tel.: ++49 (0)431 880-3378 / -3379
Fax : ++49 (0)431 880-7300
www.uni-kiel.de/ufg




More information about the grass-dev mailing list