[geos-devel] GEOS 2.2.3 build error on Mac OS X Leopard

Adam Mercer ramercer at gmail.com
Sat Nov 24 10:23:10 EST 2007


Hi

I've been trying to build the latest stable release, 2.2.3, on Mac OS
X Leopard and am running into the following build error:

Making all in test
if g++ -DHAVE_CONFIG_H -I. -I. -I../..//source/headers
-I../..//source/headers/geos -I../../source/headers
-I../../source/io/markup    -g -O2 -MT XMLTester.o -MD -MP -MF
".deps/XMLTester.Tpo" -c -o XMLTester.o XMLTester.cpp; \
	then mv -f ".deps/XMLTester.Tpo" ".deps/XMLTester.Po"; else rm -f
".deps/XMLTester.Tpo"; exit 1; fi
XMLTester.cpp: In function 'void tolower(std::string&)':
XMLTester.cpp:66: error: 'std::tolower' is not a valid template
argument for type 'int ()(int)' because function 'int tolower(int)'
has not external linkage
XMLTester.cpp:66: error: 'std::tolower' is not a valid template
argument for type 'int ()(int)' because function 'int tolower(int)'
has not external linkage
XMLTester.cpp:66: error: no matching function for call to
'transform(__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >,
__gnu_cxx::__normal_iterator<char*, std::basic_string<char,
std::char_traits<char>, std::allocator<char> > >, <unknown type>)'
make[2]: *** [XMLTester.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Any ideas?

Cheers

Adam


More information about the geos-devel mailing list