[osgeo4w-dev] cygwin and osgeo4w

Martin Landa landa.martin at gmail.com
Sun Feb 22 12:02:32 PST 2015


Hi all,

I am trying to build GRASS for OSGeo4W using Cygwin environment. I
have ended up with

configure:5397: gcc -o conftest.exe -g -O2    -I/usr/include
-I/cygdrive/c/OSGeo4W64/include
-I/cygdrive/c/OSGeo4W64/apps/msys/include
-Wl,--export-dynamic,--enable-runtime-pseudo-reloc  -L/usr/lib
-L/cygdrive/c/OSGeo4W64/lib -L/cygdrive/c/OSGeo4W64/apps/msys/lib
-L/cygdrive/c/OSGeo4W64/usr/src/grass700/mswindows/osgeo4w/lib
conftest.c -lproj   1>&5
/bin/ld: warning: --export-dynamic is not supported for PE+ targets,
did you mean --export-all-symbols?
Warning: corrupt .drectve at end of def file
Warning: corrupt .drectve at end of def file
/cygdrive/c/OSGeo4W64/lib/proj.lib(pj_pr_list.obj):(.text+0x9a):
undefined reference to `__imp___iob_func'

It's not apparently a good idea to mix cygwin and osgeo4w libs, right?
Any idea? Thanks in advance for any tip! Martin

-- 
Martin Landa
http://geo.fsv.cvut.cz/gwiki/Landa
http://gismentors.cz/mentors/landa


More information about the osgeo4w-dev mailing list