Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#212 closed defect (fixed)

Building Geos 3.0.2 with MinGW/msys fails on CLocalizer

Reported by: cesh Owned by: mloskot
Priority: blocker Milestone: 3.1.0
Component: Core Version: 3.0.2
Severity: Unassigned Keywords:
Cc:

Description

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)

comment:1 by mloskot, 16 years ago

Component: Build/InstallCore
Status: newassigned
Version: 3.0.2

comment:2 by mloskot, 16 years ago

Resolution: fixed
Status: assignedclosed

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.

comment:3 by pramsey, 15 years ago

Milestone: 3.1.0
Note: See TracTickets for help on using tickets.