[GRASS-dev] Re: compiling in osgeo4w - configure: error: ***
Unable to locate zlib
hamish_b at yahoo.com
Mon Feb 14 02:52:15 EST 2011
> any idea for http://lists.osgeo.org/pipermail/grass-dev/2011-February/053445.html
> c:/OSGeo4W/lib/libmsvcrt.a(dsjhs00723.o):(.text+0x0): multiple definition of `strncmp'
> c:/OSGeo4W/lib/libiberty.a(strncmp.o):strncmp.c:(.text+0x0): first defined here
"#include <string.h>" is in g.region's main.c so maybe it is only in glibc
and G_strncmp() is needed? or a linking problem?
the man page for strncmp() says: CONFORMING TO SVr4, 4.3BSD, C89, C99.
But lib/gis/rd_cellhd.c uses it, and we wouldn't get very far if that
WRT g.region's use of proj4-dev's projects.h, I'm responsible for adding
that to the code so I'll comment within the ticket and on the osgeo4w bug
for that which I wasn't previously aware of (or had forgotten about if
that be the case).
More information about the grass-dev