Building Geos 3.0.2 with MinGW/msys fails on CLocalizer
make[2]: Entering directory `/sources/Geos/geos-3.0.2/source/io'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT CLocalizer.lo -MD -MP -MF ".deps/CLocalizer.Tpo" -c -o CLocalizer.lo CLocalizer.cpp; \
then mv -f ".deps/CLocalizer.Tpo" ".deps/CLocalizer.Plo"; else rm -f ".deps/CLocalizer.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers -I../../source/headers/geos -I../../source/headers -g -O2 -DGEOS_INLINE -Wall -ansi -pedantic -Wno-long-long -MT CLocalizer.lo -MD -MP -MF .deps/CLocalizer.Tpo -c CLocalizer.cpp -DDLL_EXPORT -DPIC -o .libs/CLocalizer.o
CLocalizer.cpp: In constructor `geos::io::CLocalizer::CLocalizer()':
CLocalizer.cpp:12: error: `strdup' was not declared in this scope
CLocalizer.cpp:12: warning: unused variable 'strdup'
make[2]: * [CLocalizer.lo] Error 1
make[2]: Leaving directory `/sources/Geos/geos-3.0.2/source/io'
make[1]: * [all-recursive] Error 1
make[1]: Leaving directory `/sources/Geos/geos-3.0.2/source'
make: * [all-recursive] Error 1
Change History
(3)
Component: |
Build/Install → Core
|
Status: |
new → assigned
|
Version: |
→ 3.0.2
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
This issue has been fixed with recent changes to CLocalizer.cpp (see r2180). Current version of CLocalizer.cpp in GEOS trunk does not use strdup.
Closing as fixed.